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

Side by Side Diff: sync/android/BUILD.gn

Issue 1829823002: Replace usages of DEPRECATED_java_in_dir with java_files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: zap random comment Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « sync/BUILD.gn ('k') | testing/android/native_test/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/android/rules.gni") 6 import("//build/config/android/rules.gni")
7 7
8 android_library("sync_java") { 8 android_library("sync_java") {
9 deps = [ 9 deps = [
10 "//base:base_java", 10 "//base:base_java",
11 "//net/android:net_java", 11 "//net/android:net_java",
12 "//third_party/android_tools:android_gcm_java", 12 "//third_party/android_tools:android_gcm_java",
13 "//third_party/cacheinvalidation:cacheinvalidation_javalib", 13 "//third_party/cacheinvalidation:cacheinvalidation_javalib",
14 "//third_party/cacheinvalidation:cacheinvalidation_proto_java", 14 "//third_party/cacheinvalidation:cacheinvalidation_proto_java",
15 "//third_party/jsr-305:jsr_305_javalib", 15 "//third_party/jsr-305:jsr_305_javalib",
16 google_play_services_library, 16 google_play_services_library,
17 ] 17 ]
18 srcjar_deps = [ ":java_enums" ] 18 srcjar_deps = [ ":java_enums" ]
19 DEPRECATED_java_in_dir = "java/src" 19 java_files = [
20 "java/src/org/chromium/sync/AndroidSyncSettings.java",
21 "java/src/org/chromium/sync/ModelTypeHelper.java",
22 "java/src/org/chromium/sync/PassphraseType.java",
23 "java/src/org/chromium/sync/SyncConstants.java",
24 "java/src/org/chromium/sync/SyncContentResolverDelegate.java",
25 "java/src/org/chromium/sync/SystemSyncContentResolverDelegate.java",
26 "java/src/org/chromium/sync/notifier/InvalidationClientNameGenerator.java",
27 "java/src/org/chromium/sync/notifier/InvalidationClientNameProvider.java",
28 "java/src/org/chromium/sync/notifier/InvalidationIntentProtocol.java",
29 "java/src/org/chromium/sync/notifier/InvalidationPreferences.java",
30 "java/src/org/chromium/sync/notifier/RandomizedInvalidationClientNameGenerat or.java",
31 "java/src/org/chromium/sync/signin/AccountManagerDelegate.java",
32 "java/src/org/chromium/sync/signin/AccountManagerHelper.java",
33 "java/src/org/chromium/sync/signin/AuthException.java",
34 "java/src/org/chromium/sync/signin/ChromeSigninController.java",
35 "java/src/org/chromium/sync/signin/SystemAccountManagerDelegate.java",
36 ]
20 } 37 }
21 38
22 android_library("sync_javatests") { 39 android_library("sync_javatests") {
23 testonly = true 40 testonly = true
24 deps = [ 41 deps = [
25 ":sync_java", 42 ":sync_java",
26 "//base:base_java", 43 "//base:base_java",
27 "//base:base_java_test_support", 44 "//base:base_java_test_support",
28 "//sync:sync_java_test_support", 45 "//sync:sync_java_test_support",
29 "//third_party/cacheinvalidation:cacheinvalidation_javalib", 46 "//third_party/cacheinvalidation:cacheinvalidation_javalib",
30 "//third_party/cacheinvalidation:cacheinvalidation_proto_java", 47 "//third_party/cacheinvalidation:cacheinvalidation_proto_java",
31 "//third_party/jsr-305:jsr_305_javalib", 48 "//third_party/jsr-305:jsr_305_javalib",
32 ] 49 ]
33 DEPRECATED_java_in_dir = "javatests/src" 50 java_files = [
51 "javatests/src/org/chromium/sync/AndroidSyncSettingsTest.java",
52 "javatests/src/org/chromium/sync/notifier/InvalidationClientNameProviderTest .java",
53 "javatests/src/org/chromium/sync/notifier/InvalidationPreferencesTest.java",
54 "javatests/src/org/chromium/sync/notifier/signin/AccountManagerHelperTest.ja va",
55 ]
34 } 56 }
35 57
36 # GYP: //sync/sync_android.gypi:model_type_java 58 # GYP: //sync/sync_android.gypi:model_type_java
37 java_cpp_enum("java_enums") { 59 java_cpp_enum("java_enums") {
38 sources = [ 60 sources = [
39 "//sync/internal_api/public/base/model_type.h", 61 "//sync/internal_api/public/base/model_type.h",
40 "//sync/internal_api/public/base/stop_source.h", 62 "//sync/internal_api/public/base/stop_source.h",
41 ] 63 ]
42 } 64 }
43 65
44 generate_jni("jni_headers") { 66 generate_jni("jni_headers") {
45 sources = [ 67 sources = [
46 "java/src/org/chromium/sync/ModelTypeHelper.java", 68 "java/src/org/chromium/sync/ModelTypeHelper.java",
47 ] 69 ]
48 jni_package = "syncer" 70 jni_package = "syncer"
49 } 71 }
OLDNEW
« no previous file with comments | « sync/BUILD.gn ('k') | testing/android/native_test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698