From caad695ace0703133dc2e69bd34f890c9621ee31 Mon Sep 17 00:00:00 2001 From: Ian Hickson Date: Wed, 13 Jul 2016 14:42:38 -0700 Subject: [PATCH] Drop GCM (flutter/engine#2795) --- DEPS | 3 --- engine/src/flutter/.gitignore | 3 --- engine/src/flutter/sky/BUILD.gn | 20 -------------------- engine/src/flutter/sky/tools/gn | 6 ------ engine/src/flutter/third_party/gcm | 1 - 5 files changed, 33 deletions(-) delete mode 160000 engine/src/flutter/third_party/gcm diff --git a/DEPS b/DEPS index 42ae48362a..50ffd58c68 100644 --- a/DEPS +++ b/DEPS @@ -84,9 +84,6 @@ deps = { 'src/third_party/libjpeg_turbo': Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git' + '@' + '7260e4d8b8e1e40b17f03fafdf1cd83296900f76', - - 'src/third_party/gcm': - 'https://github.com/flutter/flutter_gcm.git@master', } deps_os = { diff --git a/engine/src/flutter/.gitignore b/engine/src/flutter/.gitignore index cfcb3e811f..29ab06539f 100644 --- a/engine/src/flutter/.gitignore +++ b/engine/src/flutter/.gitignore @@ -40,9 +40,7 @@ Thumbs.db /third_party/colorama/src/ /third_party/dart-sdk/ /third_party/dejavu-fonts-ttf-2.34/ttf/*.ttf -/third_party/firebase /third_party/freetype-android/src -/third_party/gcm/ /third_party/go/tool/ /third_party/icu/ /third_party/jsr-305/src/ @@ -58,7 +56,6 @@ Thumbs.db /third_party/requests/src/ /third_party/robolectric/lib/ /third_party/skia/ -/third_party/smhasher/src/ /third_party/yasm/binaries/ /third_party/yasm/source/patched-yasm/ /tools/grit/ diff --git a/engine/src/flutter/sky/BUILD.gn b/engine/src/flutter/sky/BUILD.gn index bc52b94abf..bb8a6e5e41 100644 --- a/engine/src/flutter/sky/BUILD.gn +++ b/engine/src/flutter/sky/BUILD.gn @@ -4,12 +4,6 @@ import("//sky/engine/bindings/bindings.gni") -declare_args() { - enable_gcm = false - enable_firebase = false - enable_google_sign_in = false -} - group("sky") { testonly = true @@ -31,18 +25,4 @@ group("sky") { if (is_android) { deps += [ "//sky/services/activity" ] } - - # TODO(mpcomplete): This is temporary until we move GCM and Firebase - # out of the engine repo. - if (enable_firebase) { - deps += [ "//third_party/firebase" ] - } - - if (enable_gcm) { - deps += [ "//third_party/gcm:gcm" ] - } - - if (enable_google_sign_in) { - deps += [ "//third_party/google_sign_in" ] - } } diff --git a/engine/src/flutter/sky/tools/gn b/engine/src/flutter/sky/tools/gn index 019b2d8d60..4e0b4a7a9c 100755 --- a/engine/src/flutter/sky/tools/gn +++ b/engine/src/flutter/sky/tools/gn @@ -111,9 +111,6 @@ def to_gn_args(args): gn_args['use_goma'] = False gn_args['goma_dir'] = None - gn_args['enable_firebase'] = args.enable_firebase - gn_args['enable_gcm'] = args.enable_gcm - gn_args['enable_google_sign_in'] = args.enable_google_sign_in gn_args['use_glfw'] = args.use_glfw return gn_args @@ -141,9 +138,6 @@ def parse_args(args): parser.add_argument('--target-sysroot', type=str) parser.add_argument('--toolchain-prefix', type=str) - parser.add_argument('--enable-firebase', action='store_true', default=False) - parser.add_argument('--enable-gcm', action='store_true', default=False) - parser.add_argument('--enable-google-sign-in', action='store_true', default=False) parser.add_argument('--use-glfw', action='store_true', default=False) return parser.parse_args(args) diff --git a/engine/src/flutter/third_party/gcm b/engine/src/flutter/third_party/gcm deleted file mode 160000 index aba2f7ec75..0000000000 --- a/engine/src/flutter/third_party/gcm +++ /dev/null @@ -1 +0,0 @@ -Subproject commit aba2f7ec759dc5933cc832290d7c8eda87d69d40