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

Unified Diff: blimp/client/core/BUILD.gn

Issue 2204223005: Blimp OAuth2 token retreival on application start up. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add deps file. Created 4 years, 4 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: blimp/client/core/BUILD.gn
diff --git a/blimp/client/core/BUILD.gn b/blimp/client/core/BUILD.gn
index 6cfad7d81ed9062228f76ec7b994df16e2a71d32..ae2979113dfc7fe9082fb6b8d3c565aefeb6672c 100644
--- a/blimp/client/core/BUILD.gn
+++ b/blimp/client/core/BUILD.gn
@@ -166,12 +166,39 @@ if (is_android) {
]
}
+ android_library("auth_java") {
David Trainor- moved to gerrit 2016/08/05 15:49:09 Hmm I wonder if we should just merge all core java
nyquist 2016/08/05 17:05:07 My idea with the directory structure would be to h
nyquist 2016/08/05 17:09:31 Also, to the point of that's how many other target
xingliu 2016/08/09 04:17:45 For java files, will have circular deps issue betw
+ visibility = [ "//blimp/client/*" ]
+
+ java_files =
+ [ "android/java/src/org/chromium/blimp/core/auth/Authenticator.java" ]
+
+ deps = [
+ ":common_java",
+ ":switches_java",
+ "//base:base_java",
+ "//blimp/client/public:public_headers_java",
+ "//components/sync/android:sync_java",
+ ]
+ }
+
+ android_library("common_java") {
+ visibility = [ "//blimp/client/*" ]
+
+ java_files = [ "android/java/src/org/chromium/blimp/core/common/PreferencesUtil.java" ]
+
+ deps = [
+ "//base:base_java",
+ ]
+ }
+
android_library("context_java") {
visibility = [ "//blimp/client/*" ]
java_files = [ "android/java/src/org/chromium/blimp/core/BlimpClientContextImpl.java" ]
deps = [
+ ":auth_java",
+ ":common_java",
"//base:base_java",
"//blimp/client/core:settings_java",
"//blimp/client/core/contents:contents_java",
@@ -194,6 +221,7 @@ if (is_android) {
# TODO(xingliu): Remove android support v7 dependency and move android resources to Chrome
# after Blimp merge to Chrome.
deps = [
+ ":common_java",
"//base:base_java",
"//blimp/client:blimp_java_resources",
"//blimp/client/public:public_headers_java",

Powered by Google App Engine
This is Rietveld 408576698