1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
|
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
# GN Version: //components/data_reduction_proxy/content
'target_name': 'data_reduction_proxy_content',
'type': 'static_library',
'dependencies': [
'../base/base.gyp:base',
'../content/content.gyp:content_browser',
'../skia/skia.gyp:skia',
'../ui/base/ui_base.gyp:ui_base',
'components_resources.gyp:components_resources',
'components_strings.gyp:components_strings',
],
'include_dirs': [
'..',
],
'sources': [
# Note: sources list duplicated in GN build.
'data_reduction_proxy/content/browser/content_data_reduction_proxy_debug_ui_service.cc',
'data_reduction_proxy/content/browser/content_data_reduction_proxy_debug_ui_service.h',
'data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page.cc',
'data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page.h',
'data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle.cc',
'data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle.h',
'data_reduction_proxy/content/browser/data_reduction_proxy_debug_ui_manager.cc',
'data_reduction_proxy/content/browser/data_reduction_proxy_debug_ui_manager.h',
],
},
{
# GN version: //components/data_reduction_proxy/core/browser
'target_name': 'data_reduction_proxy_core_browser',
'type': 'static_library',
'conditions': [
['OS != "android" and OS != "ios"', {
'dependencies' : [
'../google_apis/google_apis.gyp:google_apis',
]
}],
],
'dependencies': [
'data_reduction_proxy_version_header',
'../base/base.gyp:base',
'../crypto/crypto.gyp:crypto',
'../net/net.gyp:net',
'../url/url.gyp:url_lib',
'data_reduction_proxy_core_common',
'pref_registry',
],
'include_dirs': [
'..',
],
'sources': [
# Note: sources list duplicated in GN build.
"data_reduction_proxy/core/browser/data_reduction_proxy_debug_ui_service.h",
'data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.cc',
'data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.h',
'data_reduction_proxy/core/browser/data_reduction_proxy_config.cc',
'data_reduction_proxy/core/browser/data_reduction_proxy_config.h',
'data_reduction_proxy/core/browser/data_reduction_proxy_configurator.cc',
'data_reduction_proxy/core/browser/data_reduction_proxy_configurator.h',
'data_reduction_proxy/core/browser/data_reduction_proxy_delegate.cc',
'data_reduction_proxy/core/browser/data_reduction_proxy_delegate.h',
'data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.cc',
'data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.h',
'data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc',
'data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h',
'data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc',
'data_reduction_proxy/core/browser/data_reduction_proxy_metrics.h',
'data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc',
'data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h',
'data_reduction_proxy/core/browser/data_reduction_proxy_prefs.cc',
'data_reduction_proxy/core/browser/data_reduction_proxy_prefs.h',
'data_reduction_proxy/core/browser/data_reduction_proxy_request_options.cc',
'data_reduction_proxy/core/browser/data_reduction_proxy_request_options.h',
'data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc',
'data_reduction_proxy/core/browser/data_reduction_proxy_settings.h',
'data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs.cc',
'data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs.h',
'data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection.cc',
'data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection.h',
'data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats.cc',
'data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats.h',
],
},
{
# GN version: //components/data_reduction_proxy/core/common
'target_name': 'data_reduction_proxy_core_common',
'type': 'static_library',
'dependencies': [
'../base/base.gyp:base',
'../url/url.gyp:url_lib',
],
'include_dirs': [
'..',
],
'sources': [
# Note: sources list duplicated in GN build.
'data_reduction_proxy/core/common/data_reduction_proxy_bypass_type_list.h',
'data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc',
'data_reduction_proxy/core/common/data_reduction_proxy_event_store.h',
'data_reduction_proxy/core/common/data_reduction_proxy_headers.cc',
'data_reduction_proxy/core/common/data_reduction_proxy_headers.h',
'data_reduction_proxy/core/common/data_reduction_proxy_params.cc',
'data_reduction_proxy/core/common/data_reduction_proxy_params.h',
'data_reduction_proxy/core/common/data_reduction_proxy_pref_names.cc',
'data_reduction_proxy/core/common/data_reduction_proxy_pref_names.h',
'data_reduction_proxy/core/common/data_reduction_proxy_switches.cc',
'data_reduction_proxy/core/common/data_reduction_proxy_switches.h',
],
},
{
# GN version: //components/data_reduction_proxy/core/browser:test_support
'target_name': 'data_reduction_proxy_test_support',
'type': 'static_library',
'dependencies' : [
'../base/base.gyp:base',
'../net/net.gyp:net',
'../net/net.gyp:net_test_support',
'../testing/gmock.gyp:gmock',
'../testing/gtest.gyp:gtest',
'data_reduction_proxy_content',
'data_reduction_proxy_core_browser',
'data_reduction_proxy_core_common',
],
'include_dirs': [
'..',
],
'sources': [
# Note: sources list duplicated in GN build.
'data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.cc',
'data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.h',
'data_reduction_proxy/core/browser/data_reduction_proxy_configurator_test_utils.cc',
'data_reduction_proxy/core/browser/data_reduction_proxy_configurator_test_utils.h',
'data_reduction_proxy/core/browser/data_reduction_proxy_settings_test_utils.cc',
'data_reduction_proxy/core/browser/data_reduction_proxy_settings_test_utils.h',
'data_reduction_proxy/core/common/data_reduction_proxy_headers_test_utils.cc',
'data_reduction_proxy/core/common/data_reduction_proxy_headers_test_utils.h',
'data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.cc',
'data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.h',
],
},
{
'target_name': 'data_reduction_proxy_version_header',
'type': 'none',
'direct_dependent_settings': {
'include_dirs': [
'<(SHARED_INTERMEDIATE_DIR)',
],
},
'actions': [
{
'action_name': 'version_header',
'message': 'Generating version header file: <@(_outputs)',
'inputs': [
'<(version_path)',
'data_reduction_proxy/core/common/version.h.in',
],
'outputs': [
'<(SHARED_INTERMEDIATE_DIR)/components/data_reduction_proxy/core/common/version.h',
],
'action': [
'python',
'<(version_py_path)',
'-e', 'VERSION_FULL="<(version_full)"',
'data_reduction_proxy/core/common/version.h.in',
'<@(_outputs)',
],
'includes': [
'../build/util/version.gypi',
],
},
],
},
],
}
|