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

Unified Diff: components/data_reduction_proxy/core/browser/BUILD.gn

Issue 1483843002: Port cronet build rules to GN part 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « components/data_reduction_proxy.gypi ('k') | components/data_reduction_proxy/core/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/data_reduction_proxy/core/browser/BUILD.gn
diff --git a/components/data_reduction_proxy/core/browser/BUILD.gn b/components/data_reduction_proxy/core/browser/BUILD.gn
index dede0976284be82682878eacf1f2cc494c39b597..69f3344e959196a1614a3077a4d234292eb0980d 100644
--- a/components/data_reduction_proxy/core/browser/BUILD.gn
+++ b/components/data_reduction_proxy/core/browser/BUILD.gn
@@ -2,56 +2,79 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+browser_sources = [
+ "data_reduction_proxy_bypass_protocol.cc",
+ "data_reduction_proxy_bypass_protocol.h",
+ "data_reduction_proxy_bypass_stats.cc",
+ "data_reduction_proxy_bypass_stats.h",
+ "data_reduction_proxy_compression_stats.cc",
+ "data_reduction_proxy_compression_stats.h",
+ "data_reduction_proxy_config.cc",
+ "data_reduction_proxy_config.h",
+ "data_reduction_proxy_config_retrieval_params.cc",
+ "data_reduction_proxy_config_retrieval_params.h",
+ "data_reduction_proxy_config_service_client.cc",
+ "data_reduction_proxy_config_service_client.h",
+ "data_reduction_proxy_configurator.cc",
+ "data_reduction_proxy_configurator.h",
+ "data_reduction_proxy_debug_ui_service.h",
+ "data_reduction_proxy_delegate.cc",
+ "data_reduction_proxy_delegate.h",
+ "data_reduction_proxy_experiments_stats.cc",
+ "data_reduction_proxy_experiments_stats.h",
+ "data_reduction_proxy_interceptor.cc",
+ "data_reduction_proxy_interceptor.h",
+ "data_reduction_proxy_io_data.cc",
+ "data_reduction_proxy_io_data.h",
+ "data_reduction_proxy_metrics.cc",
+ "data_reduction_proxy_metrics.h",
+ "data_reduction_proxy_mutable_config_values.cc",
+ "data_reduction_proxy_mutable_config_values.h",
+ "data_reduction_proxy_network_delegate.cc",
+ "data_reduction_proxy_network_delegate.h",
+ "data_reduction_proxy_prefs.cc",
+ "data_reduction_proxy_prefs.h",
+ "data_reduction_proxy_request_options.cc",
+ "data_reduction_proxy_request_options.h",
+ "data_reduction_proxy_service.cc",
+ "data_reduction_proxy_service.h",
+ "data_reduction_proxy_service_observer.h",
+ "data_reduction_proxy_settings.cc",
+ "data_reduction_proxy_settings.h",
+ "data_reduction_proxy_tamper_detection.cc",
+ "data_reduction_proxy_tamper_detection.h",
+ "data_store.cc",
+ "data_store.h",
+ "data_usage_store.cc",
+ "data_usage_store.h",
+ "db_data_owner.cc",
+ "db_data_owner.h",
+]
+
+if (is_android) {
+ source_set("browser_small") {
+ sources = browser_sources
+
+ deps = [
+ "//base",
+ "//base:prefs",
+ "//components/data_reduction_proxy/core/common:common_small",
+ "//components/data_reduction_proxy/proto:data_reduction_proxy_proto",
+ "//components/pref_registry",
+ "//components/variations",
+ "//crypto",
+ "//google_apis:google_apis_small",
+ "//net:net_small",
+ "//url:url_lib_use_icu_alternatives_on_android",
+ ]
+ }
+}
+
source_set("browser") {
- sources = [
- "data_reduction_proxy_bypass_protocol.cc",
- "data_reduction_proxy_bypass_protocol.h",
- "data_reduction_proxy_bypass_stats.cc",
- "data_reduction_proxy_bypass_stats.h",
- "data_reduction_proxy_compression_stats.cc",
- "data_reduction_proxy_compression_stats.h",
- "data_reduction_proxy_config.cc",
- "data_reduction_proxy_config.h",
- "data_reduction_proxy_config_retrieval_params.cc",
- "data_reduction_proxy_config_retrieval_params.h",
- "data_reduction_proxy_config_service_client.cc",
- "data_reduction_proxy_config_service_client.h",
- "data_reduction_proxy_configurator.cc",
- "data_reduction_proxy_configurator.h",
- "data_reduction_proxy_debug_ui_service.h",
- "data_reduction_proxy_delegate.cc",
- "data_reduction_proxy_delegate.h",
- "data_reduction_proxy_experiments_stats.cc",
- "data_reduction_proxy_experiments_stats.h",
- "data_reduction_proxy_interceptor.cc",
- "data_reduction_proxy_interceptor.h",
- "data_reduction_proxy_io_data.cc",
- "data_reduction_proxy_io_data.h",
- "data_reduction_proxy_metrics.cc",
- "data_reduction_proxy_metrics.h",
- "data_reduction_proxy_mutable_config_values.cc",
- "data_reduction_proxy_mutable_config_values.h",
- "data_reduction_proxy_network_delegate.cc",
- "data_reduction_proxy_network_delegate.h",
- "data_reduction_proxy_prefs.cc",
- "data_reduction_proxy_prefs.h",
- "data_reduction_proxy_request_options.cc",
- "data_reduction_proxy_request_options.h",
- "data_reduction_proxy_service.cc",
- "data_reduction_proxy_service.h",
- "data_reduction_proxy_service_observer.h",
- "data_reduction_proxy_settings.cc",
- "data_reduction_proxy_settings.h",
- "data_reduction_proxy_tamper_detection.cc",
- "data_reduction_proxy_tamper_detection.h",
- "data_store.cc",
- "data_store.h",
+ sources = browser_sources
+ sources += [
"data_store_impl.cc",
"data_store_impl.h",
- "data_usage_store.cc",
- "data_usage_store.h",
- "db_data_owner.cc",
- "db_data_owner.h",
]
deps = [
« no previous file with comments | « components/data_reduction_proxy.gypi ('k') | components/data_reduction_proxy/core/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698