OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/rules.gni") | 5 import("//build/config/android/rules.gni") |
6 | 6 |
7 generate_jni("jni_headers") { | 7 generate_jni("jni_headers") { |
8 sources = [ | 8 sources = [ |
9 "java/src/org/chromium/components/signin/ChildAccountInfoFetcher.java", | 9 "java/src/org/chromium/components/signin/ChildAccountInfoFetcher.java", |
10 ] | 10 ] |
11 jni_package = "components/signin" | 11 jni_package = "components/signin" |
12 } | 12 } |
13 | 13 |
14 android_library("java") { | 14 android_library("java") { |
15 deps = [ | 15 deps = [ |
16 "//base:base_java", | 16 "//base:base_java", |
17 "//components/sync/android:sync_java", | 17 "//net/android:net_java", |
| 18 google_play_services_library, |
18 ] | 19 ] |
19 | 20 |
20 java_files = | 21 java_files = [ |
21 [ "java/src/org/chromium/components/signin/ChildAccountInfoFetcher.java" ] | 22 "java/src/org/chromium/components/signin/AccountManagerDelegate.java", |
| 23 "java/src/org/chromium/components/signin/AccountManagerHelper.java", |
| 24 "java/src/org/chromium/components/signin/AuthException.java", |
| 25 "java/src/org/chromium/components/signin/ChildAccountInfoFetcher.java", |
| 26 "java/src/org/chromium/components/signin/ChromeSigninController.java", |
| 27 "java/src/org/chromium/components/signin/SystemAccountManagerDelegate.java", |
| 28 ] |
22 } | 29 } |
| 30 |
| 31 android_library("javatests") { |
| 32 testonly = true |
| 33 deps = [ |
| 34 ":java", |
| 35 ":signin_java_test_support", |
| 36 "//base:base_java", |
| 37 "//base:base_java_test_support", |
| 38 ] |
| 39 |
| 40 java_files = [ "javatests/src/org/chromium/components/signin/test/AccountManag
erHelperTest.java" ] |
| 41 } |
| 42 |
| 43 android_library("signin_java_test_support") { |
| 44 testonly = true |
| 45 deps = [ |
| 46 ":java", |
| 47 "//base:base_java", |
| 48 "//base:base_java_test_support", |
| 49 "//third_party/jsr-305:jsr_305_javalib", |
| 50 ] |
| 51 |
| 52 java_files = [ |
| 53 "javatests/src/org/chromium/components/signin/test/util/AccountHolder.java", |
| 54 "javatests/src/org/chromium/components/signin/test/util/MockAccountManager.j
ava", |
| 55 "javatests/src/org/chromium/components/signin/test/util/SimpleFuture.java", |
| 56 ] |
| 57 } |
OLD | NEW |