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

Unified Diff: components/signin/core/browser/android/BUILD.gn

Issue 2351703003: Refactor: move components/sync/../signin to components/signin/../ (Closed)
Patch Set: rebase Created 4 years, 3 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
Index: components/signin/core/browser/android/BUILD.gn
diff --git a/components/signin/core/browser/android/BUILD.gn b/components/signin/core/browser/android/BUILD.gn
index 24ce5c904a760ceb4b0784937db5d4fb7b8d15a1..c9f5bc3f598cbf24d1323e596ce34ae64f2363b5 100644
--- a/components/signin/core/browser/android/BUILD.gn
+++ b/components/signin/core/browser/android/BUILD.gn
@@ -14,9 +14,44 @@ generate_jni("jni_headers") {
android_library("java") {
deps = [
"//base:base_java",
- "//components/sync/android:sync_java",
+ "//net/android:net_java",
+ google_play_services_library,
]
- java_files =
- [ "java/src/org/chromium/components/signin/ChildAccountInfoFetcher.java" ]
+ java_files = [
+ "java/src/org/chromium/components/signin/AccountManagerDelegate.java",
+ "java/src/org/chromium/components/signin/AccountManagerHelper.java",
+ "java/src/org/chromium/components/signin/AuthException.java",
+ "java/src/org/chromium/components/signin/ChildAccountInfoFetcher.java",
+ "java/src/org/chromium/components/signin/ChromeSigninController.java",
+ "java/src/org/chromium/components/signin/SystemAccountManagerDelegate.java",
+ ]
+}
+
+android_library("javatests") {
+ testonly = true
+ deps = [
+ ":java",
+ ":signin_java_test_support",
+ "//base:base_java",
+ "//base:base_java_test_support",
+ ]
+
+ java_files = [ "javatests/src/org/chromium/components/signin/test/AccountManagerHelperTest.java" ]
+}
+
+android_library("signin_java_test_support") {
+ testonly = true
+ deps = [
+ ":java",
+ "//base:base_java",
+ "//base:base_java_test_support",
+ "//third_party/jsr-305:jsr_305_javalib",
+ ]
+
+ java_files = [
+ "javatests/src/org/chromium/components/signin/test/util/AccountHolder.java",
+ "javatests/src/org/chromium/components/signin/test/util/MockAccountManager.java",
+ "javatests/src/org/chromium/components/signin/test/util/SimpleFuture.java",
+ ]
}

Powered by Google App Engine
This is Rietveld 408576698