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

Side by Side Diff: components/data_reduction_proxy.gypi

Issue 937513003: Add Data Saver support to Cronet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed boolean from api Created 5 years, 7 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 5
6 { 6 {
7 'variables' :
8 {
9 'data_reduction_proxy_core_browser_sources' : [
10 # Note: sources list duplicated in GN build.
11 "data_reduction_proxy/core/browser/data_reduction_proxy_debug_ui_service .h",
12 'data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol. cc',
13 'data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol. h',
14 'data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats.cc' ,
15 'data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats.h',
16 'data_reduction_proxy/core/browser/data_reduction_proxy_compression_stat s.cc',
17 'data_reduction_proxy/core/browser/data_reduction_proxy_compression_stat s.h',
18 'data_reduction_proxy/core/browser/data_reduction_proxy_config.cc',
19 'data_reduction_proxy/core/browser/data_reduction_proxy_config.h',
20 'data_reduction_proxy/core/browser/data_reduction_proxy_config_service_c lient.cc',
21 'data_reduction_proxy/core/browser/data_reduction_proxy_config_service_c lient.h',
22 'data_reduction_proxy/core/browser/data_reduction_proxy_configurator.cc' ,
23 'data_reduction_proxy/core/browser/data_reduction_proxy_configurator.h',
24 'data_reduction_proxy/core/browser/data_reduction_proxy_delegate.cc',
25 'data_reduction_proxy/core/browser/data_reduction_proxy_delegate.h',
26 'data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.cc',
27 'data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.h',
28 'data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc',
29 'data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h',
30 'data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc',
31 'data_reduction_proxy/core/browser/data_reduction_proxy_metrics.h',
32 'data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_v alues.cc',
33 'data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_v alues.h',
34 'data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate .cc',
35 'data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate .h',
36 'data_reduction_proxy/core/browser/data_reduction_proxy_prefs.cc',
37 'data_reduction_proxy/core/browser/data_reduction_proxy_prefs.h',
38 'data_reduction_proxy/core/browser/data_reduction_proxy_request_options. cc',
39 'data_reduction_proxy/core/browser/data_reduction_proxy_request_options. h',
40 'data_reduction_proxy/core/browser/data_reduction_proxy_service.cc',
41 'data_reduction_proxy/core/browser/data_reduction_proxy_service.h',
42 'data_reduction_proxy/core/browser/data_reduction_proxy_service_observer .h',
43 'data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc',
44 'data_reduction_proxy/core/browser/data_reduction_proxy_settings.h',
45 'data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection .cc',
46 'data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection .h',
47 ],
48 'data_reduction_proxy_core_browser_deps' : [
49 'data_reduction_proxy_version_header',
50 '../base/base.gyp:base',
51 '../crypto/crypto.gyp:crypto',
52 'pref_registry',
mmenke 2015/05/07 20:22:19 Hrm...pref_registry has a DEPS file that includes
bengr 2015/05/08 22:41:03 Acknowledged.
53 ],
54 'data_reduction_proxy_core_common_sources' : [
55 # Note: sources list duplicated in GN build.
56 'data_reduction_proxy/core/common/data_reduction_proxy_bypass_type_list. h',
57 'data_reduction_proxy/core/common/data_reduction_proxy_client_config_par ser.cc',
58 'data_reduction_proxy/core/common/data_reduction_proxy_client_config_par ser.h',
59 'data_reduction_proxy/core/common/data_reduction_proxy_config_values.h',
60 'data_reduction_proxy/core/common/data_reduction_proxy_event_creator.cc' ,
61 'data_reduction_proxy/core/common/data_reduction_proxy_event_creator.h',
62 'data_reduction_proxy/core/common/data_reduction_proxy_event_storage_del egate.h',
63 'data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc',
64 'data_reduction_proxy/core/common/data_reduction_proxy_event_store.h',
65 'data_reduction_proxy/core/common/data_reduction_proxy_headers.cc',
66 'data_reduction_proxy/core/common/data_reduction_proxy_headers.h',
67 'data_reduction_proxy/core/common/data_reduction_proxy_params.cc',
68 'data_reduction_proxy/core/common/data_reduction_proxy_params.h',
69 'data_reduction_proxy/core/common/data_reduction_proxy_pref_names.cc',
70 'data_reduction_proxy/core/common/data_reduction_proxy_pref_names.h',
71 'data_reduction_proxy/core/common/data_reduction_proxy_switches.cc',
72 'data_reduction_proxy/core/common/data_reduction_proxy_switches.h',
73 ],
74 },
75 'conditions': [
76 # Small versions of libraries for Cronet.
77 ['OS=="android"', {
78 'targets' : [
79 {
80 # GN version: //components/data_reduction_proxy/core/browser
81 'target_name': 'data_reduction_proxy_core_browser_small',
82 'type': 'static_library',
83 'dependencies': [
84 '<@(data_reduction_proxy_core_browser_deps)',
85 'data_reduction_proxy_core_common_small',
mmenke 2015/05/07 20:22:19 You've included this one twice.
bengr 2015/05/08 22:41:03 Done.
86 '../net/net.gyp:net_small',
87 '../url/url.gyp:url_lib_use_icu_alternatives_on_android',
88 'data_reduction_proxy_core_common_small',
89 'data_reduction_proxy_proto',
90 'pref_registry',
mmenke 2015/05/07 20:22:18 data_reduction_proxy_proto and pref_registry are a
bengr 2015/05/08 22:41:03 drp_proto is needed here.
91 ],
92 'include_dirs': [
93 '..',
94 ],
95 'sources': [
96 '<@(data_reduction_proxy_core_browser_sources)'
97 ],
98 },
99 {
100 # GN version: //components/data_reduction_proxy/core/common
101 'target_name': 'data_reduction_proxy_core_common_small',
102 'type': 'static_library',
103 'dependencies': [
104 '../base/base.gyp:base',
105 '../url/url.gyp:url_lib_use_icu_alternatives_on_android',
106 'data_reduction_proxy_proto',
107 ],
108 'include_dirs': [
109 '..',
110 ],
111 'sources': [
112 '<@(data_reduction_proxy_core_common_sources)'
113 ],
114 },
115 ]}]
116 ],
7 'targets': [ 117 'targets': [
8 { 118 {
9 # GN Version: //components/data_reduction_proxy/content 119 # GN Version: //components/data_reduction_proxy/content
10 'target_name': 'data_reduction_proxy_content', 120 'target_name': 'data_reduction_proxy_content',
11 'type': 'static_library', 121 'type': 'static_library',
12 'dependencies': [ 122 'dependencies': [
13 '../base/base.gyp:base', 123 '../base/base.gyp:base',
14 '../content/content.gyp:content_browser', 124 '../content/content.gyp:content_browser',
15 '../skia/skia.gyp:skia', 125 '../skia/skia.gyp:skia',
16 '../ui/base/ui_base.gyp:ui_base', 126 '../ui/base/ui_base.gyp:ui_base',
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 'target_name': 'data_reduction_proxy_core_browser', 180 'target_name': 'data_reduction_proxy_core_browser',
71 'type': 'static_library', 181 'type': 'static_library',
72 'conditions': [ 182 'conditions': [
73 ['OS != "android" and OS != "ios"', { 183 ['OS != "android" and OS != "ios"', {
74 'dependencies' : [ 184 'dependencies' : [
75 '../google_apis/google_apis.gyp:google_apis', 185 '../google_apis/google_apis.gyp:google_apis',
76 ] 186 ]
77 }], 187 }],
78 ], 188 ],
79 'dependencies': [ 189 'dependencies': [
80 'data_reduction_proxy_version_header', 190 '<@(data_reduction_proxy_core_browser_deps)',
81 '../base/base.gyp:base', 191 'data_reduction_proxy_core_common',
mmenke 2015/05/07 20:22:18 Again, you have this twice.
bengr 2015/05/08 22:41:03 Done.
82 '../crypto/crypto.gyp:crypto',
83 '../net/net.gyp:net', 192 '../net/net.gyp:net',
84 '../url/url.gyp:url_lib', 193 '../url/url.gyp:url_lib',
85 'data_reduction_proxy_core_common', 194 'data_reduction_proxy_core_common',
86 'data_reduction_proxy_proto', 195 'data_reduction_proxy_proto',
87 'pref_registry', 196 'pref_registry',
mmenke 2015/05/07 20:22:19 data_reduction_proxy_proto and pref_registry are a
bengr 2015/05/08 22:41:02 drp_proto is needed here.
88 ], 197 ],
89 'include_dirs': [ 198 'include_dirs': [
90 '..', 199 '..',
91 ], 200 ],
92 'sources': [ 201 'sources': [
93 # Note: sources list duplicated in GN build. 202 '<@(data_reduction_proxy_core_browser_sources)'
94 "data_reduction_proxy/core/browser/data_reduction_proxy_debug_ui_service .h",
95 'data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol. cc',
96 'data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol. h',
97 'data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats.cc' ,
98 'data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats.h',
99 'data_reduction_proxy/core/browser/data_reduction_proxy_compression_stat s.cc',
100 'data_reduction_proxy/core/browser/data_reduction_proxy_compression_stat s.h',
101 'data_reduction_proxy/core/browser/data_reduction_proxy_config.cc',
102 'data_reduction_proxy/core/browser/data_reduction_proxy_config.h',
103 'data_reduction_proxy/core/browser/data_reduction_proxy_config_service_c lient.cc',
104 'data_reduction_proxy/core/browser/data_reduction_proxy_config_service_c lient.h',
105 'data_reduction_proxy/core/browser/data_reduction_proxy_configurator.cc' ,
106 'data_reduction_proxy/core/browser/data_reduction_proxy_configurator.h',
107 'data_reduction_proxy/core/browser/data_reduction_proxy_delegate.cc',
108 'data_reduction_proxy/core/browser/data_reduction_proxy_delegate.h',
109 'data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.cc',
110 'data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.h',
111 'data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc',
112 'data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h',
113 'data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc',
114 'data_reduction_proxy/core/browser/data_reduction_proxy_metrics.h',
115 'data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_v alues.cc',
116 'data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_v alues.h',
117 'data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate .cc',
118 'data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate .h',
119 'data_reduction_proxy/core/browser/data_reduction_proxy_prefs.cc',
120 'data_reduction_proxy/core/browser/data_reduction_proxy_prefs.h',
121 'data_reduction_proxy/core/browser/data_reduction_proxy_request_options. cc',
122 'data_reduction_proxy/core/browser/data_reduction_proxy_request_options. h',
123 'data_reduction_proxy/core/browser/data_reduction_proxy_service.cc',
124 'data_reduction_proxy/core/browser/data_reduction_proxy_service.h',
125 'data_reduction_proxy/core/browser/data_reduction_proxy_service_observer .h',
126 'data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc',
127 'data_reduction_proxy/core/browser/data_reduction_proxy_settings.h',
128 'data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection .cc',
129 'data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection .h',
130 ], 203 ],
131 }, 204 },
132 { 205 {
133 # GN version: //components/data_reduction_proxy/core/common 206 # GN version: //components/data_reduction_proxy/core/common
134 'target_name': 'data_reduction_proxy_core_common', 207 'target_name': 'data_reduction_proxy_core_common',
135 'type': 'static_library', 208 'type': 'static_library',
136 'dependencies': [ 209 'dependencies': [
137 '../base/base.gyp:base', 210 '../base/base.gyp:base',
138 '../url/url.gyp:url_lib', 211 '../url/url.gyp:url_lib',
139 'data_reduction_proxy_proto', 212 'data_reduction_proxy_proto',
140 ], 213 ],
141 'include_dirs': [ 214 'include_dirs': [
142 '..', 215 '..',
143 ], 216 ],
144 'sources': [ 217 'sources': [
145 # Note: sources list duplicated in GN build. 218 '<@(data_reduction_proxy_core_common_sources)'
146 'data_reduction_proxy/core/common/data_reduction_proxy_bypass_type_list. h',
147 'data_reduction_proxy/core/common/data_reduction_proxy_client_config_par ser.cc',
148 'data_reduction_proxy/core/common/data_reduction_proxy_client_config_par ser.h',
149 'data_reduction_proxy/core/common/data_reduction_proxy_config_values.h',
150 'data_reduction_proxy/core/common/data_reduction_proxy_event_creator.cc' ,
151 'data_reduction_proxy/core/common/data_reduction_proxy_event_creator.h',
152 'data_reduction_proxy/core/common/data_reduction_proxy_event_storage_del egate.h',
153 'data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc',
154 'data_reduction_proxy/core/common/data_reduction_proxy_event_store.h',
155 'data_reduction_proxy/core/common/data_reduction_proxy_headers.cc',
156 'data_reduction_proxy/core/common/data_reduction_proxy_headers.h',
157 'data_reduction_proxy/core/common/data_reduction_proxy_params.cc',
158 'data_reduction_proxy/core/common/data_reduction_proxy_params.h',
159 'data_reduction_proxy/core/common/data_reduction_proxy_pref_names.cc',
160 'data_reduction_proxy/core/common/data_reduction_proxy_pref_names.h',
161 'data_reduction_proxy/core/common/data_reduction_proxy_switches.cc',
162 'data_reduction_proxy/core/common/data_reduction_proxy_switches.h',
163 ], 219 ],
164 }, 220 },
165 { 221 {
166 # GN version: //components/data_reduction_proxy/core/browser:test_support 222 # GN version: //components/data_reduction_proxy/core/browser:test_support
167 'target_name': 'data_reduction_proxy_test_support', 223 'target_name': 'data_reduction_proxy_test_support',
168 'type': 'static_library', 224 'type': 'static_library',
169 'dependencies' : [ 225 'dependencies' : [
170 '../base/base.gyp:base', 226 '../base/base.gyp:base',
171 '../net/net.gyp:net', 227 '../net/net.gyp:net',
172 '../net/net.gyp:net_test_support', 228 '../net/net.gyp:net_test_support',
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 '<@(_outputs)', 300 '<@(_outputs)',
245 ], 301 ],
246 'includes': [ 302 'includes': [
247 '../build/util/version.gypi', 303 '../build/util/version.gypi',
248 ], 304 ],
249 }, 305 },
250 ], 306 ],
251 }, 307 },
252 ], 308 ],
253 } 309 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698