From b114f4465e06ff956276e3f2628073116a491d60 Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Fri, 2 Sep 2016 12:31:54 -0700 Subject: [PATCH] Remove references to unused GN files and flags. (#2998) * Remove references to unused GN files and flags. * Fix Linux build. --- skia/BUILD.gn | 5 +---- sky/engine/public/BUILD.gn | 2 -- sky/shell/BUILD.gn | 1 - tools/gn | 1 - 4 files changed, 1 insertion(+), 8 deletions(-) diff --git a/skia/BUILD.gn b/skia/BUILD.gn index 02c9a4177..42c349f99 100644 --- a/skia/BUILD.gn +++ b/skia/BUILD.gn @@ -13,8 +13,8 @@ group("skia") { } else { import("//build/config/features.gni") -import("//build/config/ui.gni") import("//testing/test.gni") + if (current_cpu == "arm" || current_cpu == "arm64") { import("//build/config/arm.gni") } @@ -465,9 +465,6 @@ component("skia") { "//build/config/linux:fontconfig", "//build/config/linux:freetype2", ] - if (use_pango) { - configs += [ "//build/config/linux:pangocairo" ] - } deps += [ "//third_party/icu:icuuc" ] } diff --git a/sky/engine/public/BUILD.gn b/sky/engine/public/BUILD.gn index ae65314ac..62b1d4d91 100644 --- a/sky/engine/public/BUILD.gn +++ b/sky/engine/public/BUILD.gn @@ -2,8 +2,6 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -import("//tools/grit/grit_rule.gni") - group("test_support") { deps = [ "//flutter/sky/engine/web:test_support", diff --git a/sky/shell/BUILD.gn b/sky/shell/BUILD.gn index e4c029144..2a3776c8f 100644 --- a/sky/shell/BUILD.gn +++ b/sky/shell/BUILD.gn @@ -2,7 +2,6 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -import("//build/config/ui.gni") import("//mojo/dart/embedder/embedder.gni") dart_embedder_resources("generate_sky_embedder_diagnostic_server_resources_cc") { diff --git a/tools/gn b/tools/gn index dbb86307b..b0723e94f 100755 --- a/tools/gn +++ b/tools/gn @@ -64,7 +64,6 @@ def to_gn_args(args): # Always use AOT on iOS devices until the interpreter stabilizes aot = True else: - gn_args['use_aura'] = False gn_args['use_system_harfbuzz'] = False aot = False