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
3 # found in the LICENSE file.
9 # GN Version: //components/data_reduction_proxy/content
10 'target_name': 'data_reduction_proxy_content',
11 'type': 'static_library',
13 '../base/base.gyp:base',
14 '../content/content.gyp:content_browser',
15 '../skia/skia.gyp:skia',
16 '../ui/base/ui_base.gyp:ui_base',
17 'components_resources.gyp:components_resources',
18 'components_strings.gyp:components_strings',
24 # Note: sources list duplicated in GN build.
25 'data_reduction_proxy/content/browser/content_data_reduction_proxy_debug_ui_service.cc',
26 'data_reduction_proxy/content/browser/content_data_reduction_proxy_debug_ui_service.h',
27 'data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page.cc',
28 'data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page.h',
29 'data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle.cc',
30 'data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle.h',
31 'data_reduction_proxy/content/browser/data_reduction_proxy_debug_ui_manager.cc',
32 'data_reduction_proxy/content/browser/data_reduction_proxy_debug_ui_manager.h',
36 # GN version: //components/data_reduction_proxy/content/common
37 'target_name': 'data_reduction_proxy_content_common',
38 'type': 'static_library',
40 '../content/content.gyp:content_common',
47 'data_reduction_proxy/content/common/data_reduction_proxy_messages.cc',
48 'data_reduction_proxy/content/common/data_reduction_proxy_messages.h',
52 # GN version: //components/data_reduction_proxy/content/browser
53 'target_name': 'data_reduction_proxy_content_browser',
54 'type': 'static_library',
56 '../content/content.gyp:content_common',
58 'data_reduction_proxy_content_common',
64 'data_reduction_proxy/content/browser/data_reduction_proxy_message_filter.cc',
65 'data_reduction_proxy/content/browser/data_reduction_proxy_message_filter.h',
69 # GN version: //components/data_reduction_proxy/core/browser
70 'target_name': 'data_reduction_proxy_core_browser',
71 'type': 'static_library',
73 ['OS != "android" and OS != "ios"', {
75 '../google_apis/google_apis.gyp:google_apis',
80 'data_reduction_proxy_version_header',
81 '../base/base.gyp:base',
82 '../crypto/crypto.gyp:crypto',
84 '../url/url.gyp:url_lib',
85 'data_reduction_proxy_core_common',
86 'data_reduction_proxy_proto',
93 # Note: sources list duplicated in GN build.
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_config.cc',
100 'data_reduction_proxy/core/browser/data_reduction_proxy_config.h',
101 'data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc',
102 'data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.h',
103 'data_reduction_proxy/core/browser/data_reduction_proxy_configurator.cc',
104 'data_reduction_proxy/core/browser/data_reduction_proxy_configurator.h',
105 'data_reduction_proxy/core/browser/data_reduction_proxy_delegate.cc',
106 'data_reduction_proxy/core/browser/data_reduction_proxy_delegate.h',
107 'data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.cc',
108 'data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.h',
109 'data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc',
110 'data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h',
111 'data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc',
112 'data_reduction_proxy/core/browser/data_reduction_proxy_metrics.h',
113 'data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values.cc',
114 'data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values.h',
115 'data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc',
116 'data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h',
117 'data_reduction_proxy/core/browser/data_reduction_proxy_prefs.cc',
118 'data_reduction_proxy/core/browser/data_reduction_proxy_prefs.h',
119 'data_reduction_proxy/core/browser/data_reduction_proxy_request_options.cc',
120 'data_reduction_proxy/core/browser/data_reduction_proxy_request_options.h',
121 'data_reduction_proxy/core/browser/data_reduction_proxy_service.cc',
122 'data_reduction_proxy/core/browser/data_reduction_proxy_service.h',
123 'data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc',
124 'data_reduction_proxy/core/browser/data_reduction_proxy_settings.h',
125 'data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs.cc',
126 'data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs.h',
127 'data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection.cc',
128 'data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection.h',
132 # GN version: //components/data_reduction_proxy/core/common
133 'target_name': 'data_reduction_proxy_core_common',
134 'type': 'static_library',
136 '../base/base.gyp:base',
137 '../url/url.gyp:url_lib',
138 'data_reduction_proxy_proto',
144 # Note: sources list duplicated in GN build.
145 'data_reduction_proxy/core/common/data_reduction_proxy_bypass_type_list.h',
146 'data_reduction_proxy/core/common/data_reduction_proxy_client_config_parser.cc',
147 'data_reduction_proxy/core/common/data_reduction_proxy_client_config_parser.h',
148 'data_reduction_proxy/core/common/data_reduction_proxy_config_values.h',
149 'data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc',
150 'data_reduction_proxy/core/common/data_reduction_proxy_event_store.h',
151 'data_reduction_proxy/core/common/data_reduction_proxy_headers.cc',
152 'data_reduction_proxy/core/common/data_reduction_proxy_headers.h',
153 'data_reduction_proxy/core/common/data_reduction_proxy_params.cc',
154 'data_reduction_proxy/core/common/data_reduction_proxy_params.h',
155 'data_reduction_proxy/core/common/data_reduction_proxy_pref_names.cc',
156 'data_reduction_proxy/core/common/data_reduction_proxy_pref_names.h',
157 'data_reduction_proxy/core/common/data_reduction_proxy_switches.cc',
158 'data_reduction_proxy/core/common/data_reduction_proxy_switches.h',
162 # GN version: //components/data_reduction_proxy/core/browser:test_support
163 'target_name': 'data_reduction_proxy_test_support',
164 'type': 'static_library',
166 '../base/base.gyp:base',
167 '../net/net.gyp:net',
168 '../net/net.gyp:net_test_support',
169 '../testing/gmock.gyp:gmock',
170 '../testing/gtest.gyp:gtest',
171 'data_reduction_proxy_content',
172 'data_reduction_proxy_core_browser',
173 'data_reduction_proxy_core_common',
179 # Note: sources list duplicated in GN build.
180 'data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.cc',
181 'data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.h',
182 'data_reduction_proxy/core/browser/data_reduction_proxy_configurator_test_utils.cc',
183 'data_reduction_proxy/core/browser/data_reduction_proxy_configurator_test_utils.h',
184 'data_reduction_proxy/core/browser/data_reduction_proxy_settings_test_utils.cc',
185 'data_reduction_proxy/core/browser/data_reduction_proxy_settings_test_utils.h',
186 'data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc',
187 'data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.h',
188 'data_reduction_proxy/core/common/data_reduction_proxy_headers_test_utils.cc',
189 'data_reduction_proxy/core/common/data_reduction_proxy_headers_test_utils.h',
190 'data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.cc',
191 'data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.h',
193 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
194 'msvs_disabled_warnings': [4267, ],
197 # GN version: //components/data_reduction_proxy/proto
198 'target_name': 'data_reduction_proxy_proto',
199 'type': 'static_library',
205 # Note: sources list duplicated in GN build.
206 'data_reduction_proxy/proto/client_config.proto',
209 'proto_in_dir': 'data_reduction_proxy/proto',
210 'proto_out_dir': 'components/data_reduction_proxy/proto',
212 'includes': [ '../build/protoc.gypi' ],
215 'target_name': 'data_reduction_proxy_version_header',
217 'direct_dependent_settings': {
219 '<(SHARED_INTERMEDIATE_DIR)',
224 'action_name': 'version_header',
225 'message': 'Generating version header file: <@(_outputs)',
228 'data_reduction_proxy/core/common/version.h.in',
231 '<(SHARED_INTERMEDIATE_DIR)/components/data_reduction_proxy/core/common/version.h',
235 '<(version_py_path)',
236 '-e', 'VERSION_FULL="<(version_full)"',
237 'data_reduction_proxy/core/common/version.h.in',
241 '../build/util/version.gypi',