From 4569955c2536ee7db29326266584d19a08290cbe Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Fri, 29 Apr 2016 12:15:15 -0700 Subject: [PATCH] Remove FNL build configuration (flutter/engine#2635) These build definitions no longer work with the current version of FNL. Once FNL is ready, we'll add new build definitions that work for it again. --- engine/src/flutter/sky/BUILD.gn | 4 ---- engine/src/flutter/sky/dist/BUILD.gn | 8 -------- engine/src/flutter/sky/tools/gn | 10 +--------- 3 files changed, 1 insertion(+), 21 deletions(-) diff --git a/engine/src/flutter/sky/BUILD.gn b/engine/src/flutter/sky/BUILD.gn index dec693b28b..9e6123a93b 100644 --- a/engine/src/flutter/sky/BUILD.gn +++ b/engine/src/flutter/sky/BUILD.gn @@ -24,10 +24,6 @@ group("sky") { deps += [ "//sky/tools/sky_snapshot($dart_host_toolchain)" ] } - if (is_fnl) { - deps -= [ "//sky/shell" ] - } - if (is_linux || is_android) { deps += [ "//sky/shell/platform/mojo" ] } diff --git a/engine/src/flutter/sky/dist/BUILD.gn b/engine/src/flutter/sky/dist/BUILD.gn index f142356f87..1b758ca4be 100644 --- a/engine/src/flutter/sky/dist/BUILD.gn +++ b/engine/src/flutter/sky/dist/BUILD.gn @@ -24,14 +24,6 @@ copy("sky_shell") { deps = [ "//sky/shell:shell_struct", ] - } else if (is_fnl) { - sources = [ - "$root_build_dir/flutter.mojo", - ] - - deps = [ - "//sky/shell/platform/mojo", - ] } else if (!is_ios) { sources = [ "$root_build_dir/flutter.mojo", diff --git a/engine/src/flutter/sky/tools/gn b/engine/src/flutter/sky/tools/gn index d8cc512c74..ab3128a0f0 100755 --- a/engine/src/flutter/sky/tools/gn +++ b/engine/src/flutter/sky/tools/gn @@ -16,8 +16,6 @@ def get_out_dir(args): target_dir += 'android_' elif args.target_os == 'ios': target_dir += 'ios_' - elif args.target_os == 'fnl': - target_dir += 'fnl_' if args.simulator: target_dir += 'sim_' @@ -47,7 +45,7 @@ def to_gn_args(args): gn_args = {} gn_args['is_debug'] = args.debug - gn_args['is_clang'] = args.clang and args.target_os not in ['android', 'fnl'] + gn_args['is_clang'] = args.clang and args.target_os not in ['android'] ios_target_cpu = 'arm64' @@ -68,11 +66,6 @@ def to_gn_args(args): else: # The iOS simulator snapshot is host targetted aot = True - elif args.target_os == 'fnl': - gn_args['target_os'] = 'fnl' - gn_args['use_aura'] = False - gn_args['use_ozone'] = True - aot = False else: gn_args['use_aura'] = False gn_args['use_system_harfbuzz'] = False @@ -140,7 +133,6 @@ def parse_args(args): parser.add_argument('--target-os', type=str, choices=['android', 'ios']) parser.add_argument('--android', dest='target_os', action='store_const', const='android') - parser.add_argument('--fnl', dest='target_os', action='store_const', const='fnl') parser.add_argument('--ios', dest='target_os', action='store_const', const='ios') parser.add_argument('--ios-force-armv7', dest='ios_force_armv7', action='store_true', default=False) parser.add_argument('--simulator', action='store_true', default=False)