Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1074)

Unified Diff: components/sync/android/BUILD.gn

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/sync/PRESUBMIT_test.py ('k') | components/sync/android/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/android/BUILD.gn
diff --git a/components/sync/android/BUILD.gn b/components/sync/android/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..796d870158c0e8d1f0284c5e47ed91aebdb5bc69
--- /dev/null
+++ b/components/sync/android/BUILD.gn
@@ -0,0 +1,71 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//build/config/android/config.gni")
+import("//build/config/android/rules.gni")
+
+android_library("sync_java") {
+ deps = [
+ "//base:base_java",
+ "//net/android:net_java",
+ "//third_party/android_tools:android_gcm_java",
+ "//third_party/cacheinvalidation:cacheinvalidation_javalib",
+ "//third_party/cacheinvalidation:cacheinvalidation_proto_java",
+ "//third_party/jsr-305:jsr_305_javalib",
+ google_play_services_library,
+ ]
+ srcjar_deps = [ ":java_enums" ]
+ java_files = [
+ "java/src/org/chromium/components/sync/AndroidSyncSettings.java",
+ "java/src/org/chromium/components/sync/ModelTypeHelper.java",
+ "java/src/org/chromium/components/sync/PassphraseType.java",
+ "java/src/org/chromium/components/sync/SyncConstants.java",
+ "java/src/org/chromium/components/sync/SyncContentResolverDelegate.java",
+ "java/src/org/chromium/components/sync/SystemSyncContentResolverDelegate.java",
+ "java/src/org/chromium/components/sync/notifier/InvalidationClientNameGenerator.java",
+ "java/src/org/chromium/components/sync/notifier/InvalidationClientNameProvider.java",
+ "java/src/org/chromium/components/sync/notifier/InvalidationIntentProtocol.java",
+ "java/src/org/chromium/components/sync/notifier/InvalidationPreferences.java",
+ "java/src/org/chromium/components/sync/notifier/RandomizedInvalidationClientNameGenerator.java",
+ "java/src/org/chromium/components/sync/signin/AccountManagerDelegate.java",
+ "java/src/org/chromium/components/sync/signin/AccountManagerHelper.java",
+ "java/src/org/chromium/components/sync/signin/AuthException.java",
+ "java/src/org/chromium/components/sync/signin/ChromeSigninController.java",
+ "java/src/org/chromium/components/sync/signin/SystemAccountManagerDelegate.java",
+ ]
+}
+
+android_library("sync_javatests") {
+ testonly = true
+ deps = [
+ ":sync_java",
+ "//base:base_java",
+ "//base:base_java_test_support",
+ "//components/sync:sync_java_test_support",
+ "//third_party/cacheinvalidation:cacheinvalidation_javalib",
+ "//third_party/cacheinvalidation:cacheinvalidation_proto_java",
+ "//third_party/jsr-305:jsr_305_javalib",
+ ]
+ java_files = [
+ "javatests/src/org/chromium/components/sync/AndroidSyncSettingsTest.java",
+ "javatests/src/org/chromium/components/sync/notifier/InvalidationClientNameProviderTest.java",
+ "javatests/src/org/chromium/components/sync/notifier/InvalidationPreferencesTest.java",
+ "javatests/src/org/chromium/components/sync/notifier/signin/AccountManagerHelperTest.java",
+ ]
+}
+
+# GYP: //components/sync/sync_android.gypi:model_type_java
+java_cpp_enum("java_enums") {
+ sources = [
+ "//components/sync/base/model_type.h",
+ "//components/sync/base/stop_source.h",
+ ]
+}
+
+generate_jni("jni_headers") {
+ sources = [
+ "java/src/org/chromium/components/sync/ModelTypeHelper.java",
+ ]
+ jni_package = "syncer"
+}
« no previous file with comments | « components/sync/PRESUBMIT_test.py ('k') | components/sync/android/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698