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

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: Addressed nit 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',
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_action_lis t.h',
57 'data_reduction_proxy/core/common/data_reduction_proxy_bypass_type_list. h',
58 'data_reduction_proxy/core/common/data_reduction_proxy_client_config_par ser.cc',
59 'data_reduction_proxy/core/common/data_reduction_proxy_client_config_par ser.h',
60 'data_reduction_proxy/core/common/data_reduction_proxy_config_values.h',
61 'data_reduction_proxy/core/common/data_reduction_proxy_event_creator.cc' ,
62 'data_reduction_proxy/core/common/data_reduction_proxy_event_creator.h',
63 'data_reduction_proxy/core/common/data_reduction_proxy_event_storage_del egate.h',
64 'data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc',
65 'data_reduction_proxy/core/common/data_reduction_proxy_event_store.h',
66 'data_reduction_proxy/core/common/data_reduction_proxy_headers.cc',
67 'data_reduction_proxy/core/common/data_reduction_proxy_headers.h',
68 'data_reduction_proxy/core/common/data_reduction_proxy_params.cc',
69 'data_reduction_proxy/core/common/data_reduction_proxy_params.h',
70 'data_reduction_proxy/core/common/data_reduction_proxy_pref_names.cc',
71 'data_reduction_proxy/core/common/data_reduction_proxy_pref_names.h',
72 'data_reduction_proxy/core/common/data_reduction_proxy_switches.cc',
73 'data_reduction_proxy/core/common/data_reduction_proxy_switches.h',
74 ],
75 },
76 'conditions': [
77 # Small versions of libraries for Cronet.
78 ['OS=="android"', {
79 'targets' : [
80 {
81 # GN version: //components/data_reduction_proxy/core/browser
82 'target_name': 'data_reduction_proxy_core_browser_small',
83 'type': 'static_library',
84 'dependencies': [
85 '<@(data_reduction_proxy_core_browser_deps)',
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 ],
91 'include_dirs': [
92 '..',
93 ],
94 'sources': [
95 '<@(data_reduction_proxy_core_browser_sources)'
96 ],
97 },
98 {
99 # GN version: //components/data_reduction_proxy/core/common
100 'target_name': 'data_reduction_proxy_core_common_small',
101 'type': 'static_library',
102 'dependencies': [
103 '../base/base.gyp:base',
104 '../url/url.gyp:url_lib_use_icu_alternatives_on_android',
105 'data_reduction_proxy_proto',
106 ],
107 'include_dirs': [
108 '..',
109 ],
110 'sources': [
111 '<@(data_reduction_proxy_core_common_sources)'
112 ],
113 },
114 ]}]
115 ],
7 'targets': [ 116 'targets': [
8 { 117 {
9 # GN Version: //components/data_reduction_proxy/content 118 # GN Version: //components/data_reduction_proxy/content
10 'target_name': 'data_reduction_proxy_content', 119 'target_name': 'data_reduction_proxy_content',
11 'type': 'static_library', 120 'type': 'static_library',
12 'dependencies': [ 121 'dependencies': [
13 '../base/base.gyp:base', 122 '../base/base.gyp:base',
14 '../content/content.gyp:content_browser', 123 '../content/content.gyp:content_browser',
15 '../skia/skia.gyp:skia', 124 '../skia/skia.gyp:skia',
16 '../ui/base/ui_base.gyp:ui_base', 125 '../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', 179 'target_name': 'data_reduction_proxy_core_browser',
71 'type': 'static_library', 180 'type': 'static_library',
72 'conditions': [ 181 'conditions': [
73 ['OS != "android" and OS != "ios"', { 182 ['OS != "android" and OS != "ios"', {
74 'dependencies' : [ 183 'dependencies' : [
75 '../google_apis/google_apis.gyp:google_apis', 184 '../google_apis/google_apis.gyp:google_apis',
76 ] 185 ]
77 }], 186 }],
78 ], 187 ],
79 'dependencies': [ 188 'dependencies': [
80 'data_reduction_proxy_version_header', 189 '<@(data_reduction_proxy_core_browser_deps)',
81 '../base/base.gyp:base',
82 '../crypto/crypto.gyp:crypto',
83 '../net/net.gyp:net', 190 '../net/net.gyp:net',
84 '../url/url.gyp:url_lib', 191 '../url/url.gyp:url_lib',
85 'data_reduction_proxy_core_common', 192 'data_reduction_proxy_core_common',
86 'data_reduction_proxy_proto', 193 'data_reduction_proxy_proto',
87 'pref_registry',
88 ], 194 ],
89 'include_dirs': [ 195 'include_dirs': [
90 '..', 196 '..',
91 ], 197 ],
92 'sources': [ 198 'sources': [
93 # Note: sources list duplicated in GN build. 199 '<@(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 ], 200 ],
131 }, 201 },
132 { 202 {
133 # GN version: //components/data_reduction_proxy/core/common 203 # GN version: //components/data_reduction_proxy/core/common
134 'target_name': 'data_reduction_proxy_core_common', 204 'target_name': 'data_reduction_proxy_core_common',
135 'type': 'static_library', 205 'type': 'static_library',
136 'dependencies': [ 206 'dependencies': [
137 '../base/base.gyp:base', 207 '../base/base.gyp:base',
138 '../url/url.gyp:url_lib', 208 '../url/url.gyp:url_lib',
139 'data_reduction_proxy_proto', 209 'data_reduction_proxy_proto',
140 ], 210 ],
141 'include_dirs': [ 211 'include_dirs': [
142 '..', 212 '..',
143 ], 213 ],
144 'sources': [ 214 'sources': [
145 # Note: sources list duplicated in GN build. 215 '<@(data_reduction_proxy_core_common_sources)'
146 'data_reduction_proxy/core/common/data_reduction_proxy_bypass_action_lis t.h',
147 'data_reduction_proxy/core/common/data_reduction_proxy_bypass_type_list. h',
148 'data_reduction_proxy/core/common/data_reduction_proxy_client_config_par ser.cc',
149 'data_reduction_proxy/core/common/data_reduction_proxy_client_config_par ser.h',
150 'data_reduction_proxy/core/common/data_reduction_proxy_config_values.h',
151 'data_reduction_proxy/core/common/data_reduction_proxy_event_creator.cc' ,
152 'data_reduction_proxy/core/common/data_reduction_proxy_event_creator.h',
153 'data_reduction_proxy/core/common/data_reduction_proxy_event_storage_del egate.h',
154 'data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc',
155 'data_reduction_proxy/core/common/data_reduction_proxy_event_store.h',
156 'data_reduction_proxy/core/common/data_reduction_proxy_headers.cc',
157 'data_reduction_proxy/core/common/data_reduction_proxy_headers.h',
158 'data_reduction_proxy/core/common/data_reduction_proxy_params.cc',
159 'data_reduction_proxy/core/common/data_reduction_proxy_params.h',
160 'data_reduction_proxy/core/common/data_reduction_proxy_pref_names.cc',
161 'data_reduction_proxy/core/common/data_reduction_proxy_pref_names.h',
162 'data_reduction_proxy/core/common/data_reduction_proxy_switches.cc',
163 'data_reduction_proxy/core/common/data_reduction_proxy_switches.h',
164 ], 216 ],
165 }, 217 },
166 { 218 {
167 # GN version: //components/data_reduction_proxy/core/browser:test_support 219 # GN version: //components/data_reduction_proxy/core/browser:test_support
168 'target_name': 'data_reduction_proxy_test_support', 220 'target_name': 'data_reduction_proxy_test_support',
169 'type': 'static_library', 221 'type': 'static_library',
170 'dependencies' : [ 222 'dependencies' : [
171 '../base/base.gyp:base', 223 '../base/base.gyp:base',
172 '../net/net.gyp:net', 224 '../net/net.gyp:net',
173 '../net/net.gyp:net_test_support', 225 '../net/net.gyp:net_test_support',
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 '<@(_outputs)', 297 '<@(_outputs)',
246 ], 298 ],
247 'includes': [ 299 'includes': [
248 '../build/util/version.gypi', 300 '../build/util/version.gypi',
249 ], 301 ],
250 }, 302 },
251 ], 303 ],
252 }, 304 },
253 ], 305 ],
254 } 306 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698