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

Side by Side 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 unified diff | Download patch
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/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/crypto.gni") 6 import("//build/config/crypto.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//build/split_static_library.gni") 9 import("//build/split_static_library.gni")
10 import("//chrome/common/features.gni") 10 import("//chrome/common/features.gni")
(...skipping 3337 matching lines...) Expand 10 before | Expand all | Expand 10 after
3348 "//third_party/smhasher:murmurhash2", 3348 "//third_party/smhasher:murmurhash2",
3349 ] 3349 ]
3350 if (enable_supervised_users) { 3350 if (enable_supervised_users) {
3351 sources += [ 3351 sources += [
3352 "supervised_user/child_accounts/child_account_feedback_reporter_android. cc", 3352 "supervised_user/child_accounts/child_account_feedback_reporter_android. cc",
3353 "supervised_user/child_accounts/child_account_feedback_reporter_android. h", 3353 "supervised_user/child_accounts/child_account_feedback_reporter_android. h",
3354 "supervised_user/child_accounts/child_account_service_android.cc", 3354 "supervised_user/child_accounts/child_account_service_android.cc",
3355 "supervised_user/child_accounts/child_account_service_android.h", 3355 "supervised_user/child_accounts/child_account_service_android.h",
3356 ] 3356 ]
3357 } 3357 }
3358
3359 # Used for testing only, should not be shipped to end users.
3360 if (!is_official_build) {
3361 sources += [
3362 "android/offline_pages/evaluation/offline_page_evaluation_bridge.cc",
3363 "android/offline_pages/evaluation/offline_page_evaluation_bridge.h",
3364 ]
3365 }
3358 } 3366 }
3359 3367
3360 if (enable_vr_shell && android_java_ui) { 3368 if (enable_vr_shell && android_java_ui) {
3361 defines += [ "ENABLE_VR_SHELL" ] 3369 defines += [ "ENABLE_VR_SHELL" ]
3362 deps += [ "android/vr_shell:vr_shell" ] 3370 deps += [ "android/vr_shell:vr_shell" ]
3363 configs += [ "//third_party/gvr-android-sdk:libgvr_config" ] 3371 configs += [ "//third_party/gvr-android-sdk:libgvr_config" ]
3364 } 3372 }
3365 3373
3366 if (is_mac) { 3374 if (is_mac) {
3367 deps += [ 3375 deps += [
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
3899 "../android/java/src/org/chromium/chrome/browser/util/FeatureUtilities.jav a", 3907 "../android/java/src/org/chromium/chrome/browser/util/FeatureUtilities.jav a",
3900 "../android/java/src/org/chromium/chrome/browser/util/PlatformUtil.java", 3908 "../android/java/src/org/chromium/chrome/browser/util/PlatformUtil.java",
3901 "../android/java/src/org/chromium/chrome/browser/util/UrlUtilities.java", 3909 "../android/java/src/org/chromium/chrome/browser/util/UrlUtilities.java",
3902 "../android/java/src/org/chromium/chrome/browser/webapps/AddToHomescreenMa nager.java", 3910 "../android/java/src/org/chromium/chrome/browser/webapps/AddToHomescreenMa nager.java",
3903 "../android/java/src/org/chromium/chrome/browser/webapps/ChromeWebApkHost. java", 3911 "../android/java/src/org/chromium/chrome/browser/webapps/ChromeWebApkHost. java",
3904 "../android/java/src/org/chromium/chrome/browser/webapps/ManifestUpgradeDe tectorFetcher.java", 3912 "../android/java/src/org/chromium/chrome/browser/webapps/ManifestUpgradeDe tectorFetcher.java",
3905 "../android/java/src/org/chromium/chrome/browser/webapps/WebApkInstaller.j ava", 3913 "../android/java/src/org/chromium/chrome/browser/webapps/WebApkInstaller.j ava",
3906 "../android/java/src/org/chromium/chrome/browser/webapps/WebApkUpdateManag er.java", 3914 "../android/java/src/org/chromium/chrome/browser/webapps/WebApkUpdateManag er.java",
3907 "../android/java/src/org/chromium/chrome/browser/webapps/WebappRegistry.ja va", 3915 "../android/java/src/org/chromium/chrome/browser/webapps/WebappRegistry.ja va",
3908 ] 3916 ]
3917
3918 # Used for testing only, should not be shipped to end users.
3919 if (!is_official_build) {
3920 sources += [ "../android/java/src/org/chromium/chrome/browser/offlinepages /evaluation/OfflinePageEvaluationBridge.java" ]
3921 }
3909 jni_package = "chrome" 3922 jni_package = "chrome"
3910 } 3923 }
3911 3924
3912 proto_library("client_discourse_context_proto") { 3925 proto_library("client_discourse_context_proto") {
3913 sources = [ 3926 sources = [
3914 "android/proto/client_discourse_context.proto", 3927 "android/proto/client_discourse_context.proto",
3915 ] 3928 ]
3916 } 3929 }
3917 3930
3918 proto_library("delta_file_proto") { 3931 proto_library("delta_file_proto") {
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
4288 # linking all of the test support. 4301 # linking all of the test support.
4289 static_library("pepper_cdm_test_constants") { 4302 static_library("pepper_cdm_test_constants") {
4290 testonly = true 4303 testonly = true
4291 visibility = [ "//chrome/*" ] 4304 visibility = [ "//chrome/*" ]
4292 sources = [ 4305 sources = [
4293 "media/pepper_cdm_test_constants.cc", 4306 "media/pepper_cdm_test_constants.cc",
4294 "media/pepper_cdm_test_constants.h", 4307 "media/pepper_cdm_test_constants.h",
4295 ] 4308 ]
4296 } 4309 }
4297 } 4310 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698