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/core/browser
37 'target_name': 'data_reduction_proxy_core_browser',
38 'type': 'static_library',
40 ['OS != "android" and OS != "ios"', {
42 '../google_apis/google_apis.gyp:google_apis',
47 'data_reduction_proxy_version_header',
48 '../base/base.gyp:base',
49 '../crypto/crypto.gyp:crypto',
51 '../url/url.gyp:url_lib',
52 'data_reduction_proxy_core_common',
59 # Note: sources list duplicated in GN build.
60 "data_reduction_proxy/core/browser/data_reduction_proxy_debug_ui_service.h",
61 'data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.cc',
62 'data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.h',
63 'data_reduction_proxy/core/browser/data_reduction_proxy_config.cc',
64 'data_reduction_proxy/core/browser/data_reduction_proxy_config.h',
65 'data_reduction_proxy/core/browser/data_reduction_proxy_configurator.cc',
66 'data_reduction_proxy/core/browser/data_reduction_proxy_configurator.h',
67 'data_reduction_proxy/core/browser/data_reduction_proxy_delegate.cc',
68 'data_reduction_proxy/core/browser/data_reduction_proxy_delegate.h',
69 'data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.cc',
70 'data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.h',
71 'data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc',
72 'data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h',
73 'data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc',
74 'data_reduction_proxy/core/browser/data_reduction_proxy_metrics.h',
75 'data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc',
76 'data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h',
77 'data_reduction_proxy/core/browser/data_reduction_proxy_prefs.cc',
78 'data_reduction_proxy/core/browser/data_reduction_proxy_prefs.h',
79 'data_reduction_proxy/core/browser/data_reduction_proxy_request_options.cc',
80 'data_reduction_proxy/core/browser/data_reduction_proxy_request_options.h',
81 'data_reduction_proxy/core/browser/data_reduction_proxy_service.cc',
82 'data_reduction_proxy/core/browser/data_reduction_proxy_service.h',
83 'data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc',
84 'data_reduction_proxy/core/browser/data_reduction_proxy_settings.h',
85 'data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs.cc',
86 'data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs.h',
87 'data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection.cc',
88 'data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection.h',
89 'data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats.cc',
90 'data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats.h',
94 # GN version: //components/data_reduction_proxy/core/common
95 'target_name': 'data_reduction_proxy_core_common',
96 'type': 'static_library',
98 '../base/base.gyp:base',
99 '../url/url.gyp:url_lib',
105 # Note: sources list duplicated in GN build.
106 'data_reduction_proxy/core/common/data_reduction_proxy_bypass_type_list.h',
107 'data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc',
108 'data_reduction_proxy/core/common/data_reduction_proxy_event_store.h',
109 'data_reduction_proxy/core/common/data_reduction_proxy_headers.cc',
110 'data_reduction_proxy/core/common/data_reduction_proxy_headers.h',
111 'data_reduction_proxy/core/common/data_reduction_proxy_params.cc',
112 'data_reduction_proxy/core/common/data_reduction_proxy_params.h',
113 'data_reduction_proxy/core/common/data_reduction_proxy_pref_names.cc',
114 'data_reduction_proxy/core/common/data_reduction_proxy_pref_names.h',
115 'data_reduction_proxy/core/common/data_reduction_proxy_switches.cc',
116 'data_reduction_proxy/core/common/data_reduction_proxy_switches.h',
120 # GN version: //components/data_reduction_proxy/core/browser:test_support
121 'target_name': 'data_reduction_proxy_test_support',
122 'type': 'static_library',
124 '../base/base.gyp:base',
125 '../net/net.gyp:net',
126 '../net/net.gyp:net_test_support',
127 '../testing/gmock.gyp:gmock',
128 '../testing/gtest.gyp:gtest',
129 'data_reduction_proxy_content',
130 'data_reduction_proxy_core_browser',
131 'data_reduction_proxy_core_common',
137 # Note: sources list duplicated in GN build.
138 'data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.cc',
139 'data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.h',
140 'data_reduction_proxy/core/browser/data_reduction_proxy_configurator_test_utils.cc',
141 'data_reduction_proxy/core/browser/data_reduction_proxy_configurator_test_utils.h',
142 'data_reduction_proxy/core/browser/data_reduction_proxy_settings_test_utils.cc',
143 'data_reduction_proxy/core/browser/data_reduction_proxy_settings_test_utils.h',
144 'data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc',
145 'data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.h',
146 'data_reduction_proxy/core/common/data_reduction_proxy_headers_test_utils.cc',
147 'data_reduction_proxy/core/common/data_reduction_proxy_headers_test_utils.h',
148 'data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.cc',
149 'data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.h',
153 'target_name': 'data_reduction_proxy_version_header',
155 'direct_dependent_settings': {
157 '<(SHARED_INTERMEDIATE_DIR)',
162 'action_name': 'version_header',
163 'message': 'Generating version header file: <@(_outputs)',
166 'data_reduction_proxy/core/common/version.h.in',
169 '<(SHARED_INTERMEDIATE_DIR)/components/data_reduction_proxy/core/common/version.h',
173 '<(version_py_path)',
174 '-e', 'VERSION_FULL="<(version_full)"',
175 'data_reduction_proxy/core/common/version.h.in',
179 '../build/util/version.gypi',