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

Side by Side 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 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 browser_sources = [
6 "data_reduction_proxy_bypass_protocol.cc",
7 "data_reduction_proxy_bypass_protocol.h",
8 "data_reduction_proxy_bypass_stats.cc",
9 "data_reduction_proxy_bypass_stats.h",
10 "data_reduction_proxy_compression_stats.cc",
11 "data_reduction_proxy_compression_stats.h",
12 "data_reduction_proxy_config.cc",
13 "data_reduction_proxy_config.h",
14 "data_reduction_proxy_config_retrieval_params.cc",
15 "data_reduction_proxy_config_retrieval_params.h",
16 "data_reduction_proxy_config_service_client.cc",
17 "data_reduction_proxy_config_service_client.h",
18 "data_reduction_proxy_configurator.cc",
19 "data_reduction_proxy_configurator.h",
20 "data_reduction_proxy_debug_ui_service.h",
21 "data_reduction_proxy_delegate.cc",
22 "data_reduction_proxy_delegate.h",
23 "data_reduction_proxy_experiments_stats.cc",
24 "data_reduction_proxy_experiments_stats.h",
25 "data_reduction_proxy_interceptor.cc",
26 "data_reduction_proxy_interceptor.h",
27 "data_reduction_proxy_io_data.cc",
28 "data_reduction_proxy_io_data.h",
29 "data_reduction_proxy_metrics.cc",
30 "data_reduction_proxy_metrics.h",
31 "data_reduction_proxy_mutable_config_values.cc",
32 "data_reduction_proxy_mutable_config_values.h",
33 "data_reduction_proxy_network_delegate.cc",
34 "data_reduction_proxy_network_delegate.h",
35 "data_reduction_proxy_prefs.cc",
36 "data_reduction_proxy_prefs.h",
37 "data_reduction_proxy_request_options.cc",
38 "data_reduction_proxy_request_options.h",
39 "data_reduction_proxy_service.cc",
40 "data_reduction_proxy_service.h",
41 "data_reduction_proxy_service_observer.h",
42 "data_reduction_proxy_settings.cc",
43 "data_reduction_proxy_settings.h",
44 "data_reduction_proxy_tamper_detection.cc",
45 "data_reduction_proxy_tamper_detection.h",
46 "data_store.cc",
47 "data_store.h",
48 "data_usage_store.cc",
49 "data_usage_store.h",
50 "db_data_owner.cc",
51 "db_data_owner.h",
52 ]
53
54 if (is_android) {
55 source_set("browser_small") {
56 sources = browser_sources
57
58 deps = [
59 "//base",
60 "//components/data_reduction_proxy/core/common:common_small",
61 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto",
62 "//components/pref_registry",
63 "//components/variations",
64 "//crypto",
65 "//net:net_small",
66 "//url:url_lib_use_icu_alternatives_on_android",
67 ]
68 }
69 }
70
5 source_set("browser") { 71 source_set("browser") {
6 sources = [ 72 sources = browser_sources
7 "data_reduction_proxy_bypass_protocol.cc", 73 sources += [
8 "data_reduction_proxy_bypass_protocol.h",
9 "data_reduction_proxy_bypass_stats.cc",
10 "data_reduction_proxy_bypass_stats.h",
11 "data_reduction_proxy_compression_stats.cc",
12 "data_reduction_proxy_compression_stats.h",
13 "data_reduction_proxy_config.cc",
14 "data_reduction_proxy_config.h",
15 "data_reduction_proxy_config_retrieval_params.cc",
16 "data_reduction_proxy_config_retrieval_params.h",
17 "data_reduction_proxy_config_service_client.cc",
18 "data_reduction_proxy_config_service_client.h",
19 "data_reduction_proxy_configurator.cc",
20 "data_reduction_proxy_configurator.h",
21 "data_reduction_proxy_debug_ui_service.h",
22 "data_reduction_proxy_delegate.cc",
23 "data_reduction_proxy_delegate.h",
24 "data_reduction_proxy_experiments_stats.cc",
25 "data_reduction_proxy_experiments_stats.h",
26 "data_reduction_proxy_interceptor.cc",
27 "data_reduction_proxy_interceptor.h",
28 "data_reduction_proxy_io_data.cc",
29 "data_reduction_proxy_io_data.h",
30 "data_reduction_proxy_metrics.cc",
31 "data_reduction_proxy_metrics.h",
32 "data_reduction_proxy_mutable_config_values.cc",
33 "data_reduction_proxy_mutable_config_values.h",
34 "data_reduction_proxy_network_delegate.cc",
35 "data_reduction_proxy_network_delegate.h",
36 "data_reduction_proxy_prefs.cc",
37 "data_reduction_proxy_prefs.h",
38 "data_reduction_proxy_request_options.cc",
39 "data_reduction_proxy_request_options.h",
40 "data_reduction_proxy_service.cc",
41 "data_reduction_proxy_service.h",
42 "data_reduction_proxy_service_observer.h",
43 "data_reduction_proxy_settings.cc",
44 "data_reduction_proxy_settings.h",
45 "data_reduction_proxy_tamper_detection.cc",
46 "data_reduction_proxy_tamper_detection.h",
47 "data_store.cc",
48 "data_store.h",
49 "data_store_impl.cc", 74 "data_store_impl.cc",
50 "data_store_impl.h", 75 "data_store_impl.h",
megjablon 2015/12/08 20:03:31 Why not add these two to browser_sources?
pkotwicz 2015/12/08 20:42:56 Because browser_sources are sources for both "brow
bengr 2015/12/10 00:19:45 This is correct. Cronet and other consumers that u
51 "data_usage_store.cc",
52 "data_usage_store.h",
53 "db_data_owner.cc",
54 "db_data_owner.h",
55 ] 76 ]
56 77
57 deps = [ 78 deps = [
58 "//base", 79 "//base",
59 "//base:prefs", 80 "//base:prefs",
60 "//components/data_reduction_proxy/core/common", 81 "//components/data_reduction_proxy/core/common",
61 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto", 82 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto",
62 "//components/pref_registry", 83 "//components/pref_registry",
63 "//components/variations", 84 "//components/variations",
64 "//crypto", 85 "//crypto",
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 "//base:prefs_test_support", 157 "//base:prefs_test_support",
137 "//base/test:test_support", 158 "//base/test:test_support",
138 "//components/data_reduction_proxy/core/common:test_support", 159 "//components/data_reduction_proxy/core/common:test_support",
139 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto", 160 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto",
140 "//components/variations", 161 "//components/variations",
141 "//net:test_support", 162 "//net:test_support",
142 "//testing/gmock", 163 "//testing/gmock",
143 "//testing/gtest", 164 "//testing/gtest",
144 ] 165 ]
145 } 166 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698