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

Unified Diff: chrome/browser/BUILD.gn

Issue 2378803003: [Offline Pages] Added OfflinePageEvaluationBridge for testing. (Closed)
Patch Set: Addressed comments. Created 4 years, 2 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: chrome/browser/BUILD.gn
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index 881d1a442a49c0cfc79fa9b23009da99397878d7..3fc35faf34b4cbb1d64503636a7de842898e0864 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -3355,6 +3355,14 @@ split_static_library("browser") {
"supervised_user/child_accounts/child_account_service_android.h",
]
}
+
+ # Used for testing only, should not be shipped to end users.
+ if (!is_official_build) {
+ sources += [
+ "android/offline_pages/evaluation/offline_page_evaluation_bridge.cc",
+ "android/offline_pages/evaluation/offline_page_evaluation_bridge.h",
+ ]
+ }
}
if (enable_vr_shell && android_java_ui) {
@@ -3906,6 +3914,11 @@ if (android_java_ui) {
"../android/java/src/org/chromium/chrome/browser/webapps/WebApkUpdateManager.java",
"../android/java/src/org/chromium/chrome/browser/webapps/WebappRegistry.java",
]
+
+ # Used for testing only, should not be shipped to end users.
+ if (!is_official_build) {
+ sources += [ "../android/java/src/org/chromium/chrome/browser/offlinepages/evaluation/OfflinePageEvaluationBridge.java" ]
+ }
jni_package = "chrome"
}

Powered by Google App Engine
This is Rietveld 408576698