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

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: Added test Created 5 years, 9 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_config.cc',
15 'data_reduction_proxy/core/browser/data_reduction_proxy_config.h',
16 'data_reduction_proxy/core/browser/data_reduction_proxy_configurator.cc' ,
17 'data_reduction_proxy/core/browser/data_reduction_proxy_configurator.h',
18 'data_reduction_proxy/core/browser/data_reduction_proxy_delegate.cc',
19 'data_reduction_proxy/core/browser/data_reduction_proxy_delegate.h',
20 'data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.cc',
21 'data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.h',
22 'data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc',
23 'data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h',
24 'data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc',
25 'data_reduction_proxy/core/browser/data_reduction_proxy_metrics.h',
26 'data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate .cc',
27 'data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate .h',
28 'data_reduction_proxy/core/browser/data_reduction_proxy_prefs.cc',
29 'data_reduction_proxy/core/browser/data_reduction_proxy_prefs.h',
30 'data_reduction_proxy/core/browser/data_reduction_proxy_request_options. cc',
31 'data_reduction_proxy/core/browser/data_reduction_proxy_request_options. h',
32 'data_reduction_proxy/core/browser/data_reduction_proxy_service.cc',
33 'data_reduction_proxy/core/browser/data_reduction_proxy_service.h',
34 'data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc',
35 'data_reduction_proxy/core/browser/data_reduction_proxy_settings.h',
36 'data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs .cc',
37 'data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs .h',
38 'data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection .cc',
39 'data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection .h',
40 'data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats.cc',
41 'data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats.h',
42 ],
43 'data_reduction_proxy_core_browser_deps' : [
44 'data_reduction_proxy_version_header',
45 '../base/base.gyp:base',
46 '../crypto/crypto.gyp:crypto',
47 'pref_registry',
48 ],
49 'data_reduction_proxy_core_common_sources' : [
50 # Note: sources list duplicated in GN build.
51 'data_reduction_proxy/core/common/data_reduction_proxy_bypass_type_list. h',
52 'data_reduction_proxy/core/common/data_reduction_proxy_config_values.h',
53 'data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc',
54 'data_reduction_proxy/core/common/data_reduction_proxy_event_store.h',
55 'data_reduction_proxy/core/common/data_reduction_proxy_headers.cc',
56 'data_reduction_proxy/core/common/data_reduction_proxy_headers.h',
57 'data_reduction_proxy/core/common/data_reduction_proxy_params.cc',
58 'data_reduction_proxy/core/common/data_reduction_proxy_params.h',
59 'data_reduction_proxy/core/common/data_reduction_proxy_pref_names.cc',
60 'data_reduction_proxy/core/common/data_reduction_proxy_pref_names.h',
61 'data_reduction_proxy/core/common/data_reduction_proxy_switches.cc',
62 'data_reduction_proxy/core/common/data_reduction_proxy_switches.h',
63 ],
64 },
65 'conditions': [
66 # Small versions of libraries for Cronet.
67 ['OS=="android"', {
68 'targets' : [
69 {
70 # GN version: //components/data_reduction_proxy/core/browser
71 'target_name': 'data_reduction_proxy_core_browser_small',
72 'type': 'static_library',
73 'dependencies': [
74 '<@(data_reduction_proxy_core_browser_deps)',
75 'data_reduction_proxy_core_common_small',
76 '../net/net.gyp:net_small',
77 '../url/url.gyp:url_lib_use_icu_alternatives_on_android',
78 ],
79 'include_dirs': [
80 '..',
81 ],
82 'sources': [
83 '<@(data_reduction_proxy_core_browser_sources)'
84 ],
85 },
86 {
87 # GN version: //components/data_reduction_proxy/core/common
88 'target_name': 'data_reduction_proxy_core_common_small',
89 'type': 'static_library',
90 'dependencies': [
91 '../base/base.gyp:base',
92 '../url/url.gyp:url_lib_use_icu_alternatives_on_android',
93 ],
94 'include_dirs': [
95 '..',
96 ],
97 'sources': [
98 '<@(data_reduction_proxy_core_common_sources)'
99 ],
100 },
101 ]}]
102 ],
7 'targets': [ 103 'targets': [
8 { 104 {
9 # GN Version: //components/data_reduction_proxy/content 105 # GN Version: //components/data_reduction_proxy/content
10 'target_name': 'data_reduction_proxy_content', 106 'target_name': 'data_reduction_proxy_content',
11 'type': 'static_library', 107 'type': 'static_library',
12 'dependencies': [ 108 'dependencies': [
13 '../base/base.gyp:base', 109 '../base/base.gyp:base',
14 '../content/content.gyp:content_browser', 110 '../content/content.gyp:content_browser',
15 '../skia/skia.gyp:skia', 111 '../skia/skia.gyp:skia',
16 '../ui/base/ui_base.gyp:ui_base', 112 '../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', 166 'target_name': 'data_reduction_proxy_core_browser',
71 'type': 'static_library', 167 'type': 'static_library',
72 'conditions': [ 168 'conditions': [
73 ['OS != "android" and OS != "ios"', { 169 ['OS != "android" and OS != "ios"', {
74 'dependencies' : [ 170 'dependencies' : [
75 '../google_apis/google_apis.gyp:google_apis', 171 '../google_apis/google_apis.gyp:google_apis',
76 ] 172 ]
77 }], 173 }],
78 ], 174 ],
79 'dependencies': [ 175 'dependencies': [
80 'data_reduction_proxy_version_header', 176 '<@(data_reduction_proxy_core_browser_deps)',
81 '../base/base.gyp:base', 177 'data_reduction_proxy_core_common',
82 '../crypto/crypto.gyp:crypto',
83 '../net/net.gyp:net', 178 '../net/net.gyp:net',
84 '../url/url.gyp:url_lib', 179 '../url/url.gyp:url_lib',
85 'data_reduction_proxy_core_common',
86 'pref_registry',
87 ], 180 ],
88 'include_dirs': [ 181 'include_dirs': [
89 '..', 182 '..',
90 ], 183 ],
91 'sources': [ 184 'sources': [
92 # Note: sources list duplicated in GN build. 185 '<@(data_reduction_proxy_core_browser_sources)'
93 "data_reduction_proxy/core/browser/data_reduction_proxy_debug_ui_service .h",
94 'data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol. cc',
95 'data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol. h',
96 'data_reduction_proxy/core/browser/data_reduction_proxy_config.cc',
97 'data_reduction_proxy/core/browser/data_reduction_proxy_config.h',
98 'data_reduction_proxy/core/browser/data_reduction_proxy_configurator.cc' ,
99 'data_reduction_proxy/core/browser/data_reduction_proxy_configurator.h',
100 'data_reduction_proxy/core/browser/data_reduction_proxy_delegate.cc',
101 'data_reduction_proxy/core/browser/data_reduction_proxy_delegate.h',
102 'data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.cc',
103 'data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.h',
104 'data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc',
105 'data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h',
106 'data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc',
107 'data_reduction_proxy/core/browser/data_reduction_proxy_metrics.h',
108 'data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate .cc',
109 'data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate .h',
110 'data_reduction_proxy/core/browser/data_reduction_proxy_prefs.cc',
111 'data_reduction_proxy/core/browser/data_reduction_proxy_prefs.h',
112 'data_reduction_proxy/core/browser/data_reduction_proxy_request_options. cc',
113 'data_reduction_proxy/core/browser/data_reduction_proxy_request_options. h',
114 'data_reduction_proxy/core/browser/data_reduction_proxy_service.cc',
115 'data_reduction_proxy/core/browser/data_reduction_proxy_service.h',
116 'data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc',
117 'data_reduction_proxy/core/browser/data_reduction_proxy_settings.h',
118 'data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs .cc',
119 'data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs .h',
120 'data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection .cc',
121 'data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection .h',
122 'data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats.cc',
123 'data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats.h',
124 ], 186 ],
125 }, 187 },
126 { 188 {
127 # GN version: //components/data_reduction_proxy/core/common 189 # GN version: //components/data_reduction_proxy/core/common
128 'target_name': 'data_reduction_proxy_core_common', 190 'target_name': 'data_reduction_proxy_core_common',
129 'type': 'static_library', 191 'type': 'static_library',
130 'dependencies': [ 192 'dependencies': [
131 '../base/base.gyp:base', 193 '../base/base.gyp:base',
132 '../url/url.gyp:url_lib', 194 '../url/url.gyp:url_lib',
133 ], 195 ],
134 'include_dirs': [ 196 'include_dirs': [
135 '..', 197 '..',
136 ], 198 ],
137 'sources': [ 199 'sources': [
138 # Note: sources list duplicated in GN build. 200 '<@(data_reduction_proxy_core_common_sources)'
139 'data_reduction_proxy/core/common/data_reduction_proxy_bypass_type_list. h',
140 'data_reduction_proxy/core/common/data_reduction_proxy_config_values.h',
141 'data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc',
142 'data_reduction_proxy/core/common/data_reduction_proxy_event_store.h',
143 'data_reduction_proxy/core/common/data_reduction_proxy_headers.cc',
144 'data_reduction_proxy/core/common/data_reduction_proxy_headers.h',
145 'data_reduction_proxy/core/common/data_reduction_proxy_params.cc',
146 'data_reduction_proxy/core/common/data_reduction_proxy_params.h',
147 'data_reduction_proxy/core/common/data_reduction_proxy_pref_names.cc',
148 'data_reduction_proxy/core/common/data_reduction_proxy_pref_names.h',
149 'data_reduction_proxy/core/common/data_reduction_proxy_switches.cc',
150 'data_reduction_proxy/core/common/data_reduction_proxy_switches.h',
151 ], 201 ],
152 }, 202 },
153 { 203 {
154 # GN version: //components/data_reduction_proxy/core/browser:test_support 204 # GN version: //components/data_reduction_proxy/core/browser:test_support
155 'target_name': 'data_reduction_proxy_test_support', 205 'target_name': 'data_reduction_proxy_test_support',
156 'type': 'static_library', 206 'type': 'static_library',
157 'dependencies' : [ 207 'dependencies' : [
158 '../base/base.gyp:base', 208 '../base/base.gyp:base',
159 '../net/net.gyp:net', 209 '../net/net.gyp:net',
160 '../net/net.gyp:net_test_support', 210 '../net/net.gyp:net_test_support',
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 '<@(_outputs)', 262 '<@(_outputs)',
213 ], 263 ],
214 'includes': [ 264 'includes': [
215 '../build/util/version.gypi', 265 '../build/util/version.gypi',
216 ], 266 ],
217 }, 267 },
218 ], 268 ],
219 }, 269 },
220 ], 270 ],
221 } 271 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698