Remove gcm channel state supported by sync service.
[chromium-blink-merge.git] / components / data_reduction_proxy.gypi
blobc3785d624a20d4772710ec7a67b597553934d7de
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.
7   'targets': [
8     {
9       # GN version: //components/data_reduction_proxy/core/browser
10       'target_name': 'data_reduction_proxy_core_browser',
11       'type': 'static_library',
12       'conditions': [
13         ['OS != "android" and OS != "ios"', {
14           'dependencies' : [
15             '../google_apis/google_apis.gyp:google_apis',
16           ]
17         }],
18       ],
19       'dependencies': [
20         'data_reduction_proxy_version_header',
21         '../base/base.gyp:base',
22         '../crypto/crypto.gyp:crypto',
23         '../net/net.gyp:net',
24         '../url/url.gyp:url_lib',
25         'data_reduction_proxy_core_common',
26         'pref_registry',
27       ],
28       'include_dirs': [
29         '..',
30       ],
31       'sources': [
32         # Note: sources list duplicated in GN build.
33         'data_reduction_proxy/core/browser/data_reduction_proxy_auth_request_handler.cc',
34         'data_reduction_proxy/core/browser/data_reduction_proxy_auth_request_handler.h',
35         'data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.cc',
36         'data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.h',
37         'data_reduction_proxy/core/browser/data_reduction_proxy_config.cc',
38         'data_reduction_proxy/core/browser/data_reduction_proxy_config.h',
39         'data_reduction_proxy/core/browser/data_reduction_proxy_configurator.cc',
40         'data_reduction_proxy/core/browser/data_reduction_proxy_configurator.h',
41         'data_reduction_proxy/core/browser/data_reduction_proxy_delegate.cc',
42         'data_reduction_proxy/core/browser/data_reduction_proxy_delegate.h',
43         'data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.cc',
44         'data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.h',
45         'data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc',
46         'data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h',
47         'data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc',
48         'data_reduction_proxy/core/browser/data_reduction_proxy_metrics.h',
49         'data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc',
50         'data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h',
51         'data_reduction_proxy/core/browser/data_reduction_proxy_prefs.cc',
52         'data_reduction_proxy/core/browser/data_reduction_proxy_prefs.h',
53         'data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc',
54         'data_reduction_proxy/core/browser/data_reduction_proxy_settings.h',
55         'data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs.cc',
56         'data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs.h',
57         'data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection.cc',
58         'data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection.h',
59         'data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats.cc',
60         'data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats.h',
61       ],
62     },
63     {
64       # GN version: //components/data_reduction_proxy/core/common
65       'target_name': 'data_reduction_proxy_core_common',
66       'type': 'static_library',
67       'dependencies': [
68         '../base/base.gyp:base',
69         '../url/url.gyp:url_lib',
70       ],
71       'include_dirs': [
72         '..',
73       ],
74       'sources': [
75         # Note: sources list duplicated in GN build.
76         'data_reduction_proxy/core/common/data_reduction_proxy_bypass_type_list.h',
77         'data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc',
78         'data_reduction_proxy/core/common/data_reduction_proxy_event_store.h',
79         'data_reduction_proxy/core/common/data_reduction_proxy_headers.cc',
80         'data_reduction_proxy/core/common/data_reduction_proxy_headers.h',
81         'data_reduction_proxy/core/common/data_reduction_proxy_params.cc',
82         'data_reduction_proxy/core/common/data_reduction_proxy_params.h',
83         'data_reduction_proxy/core/common/data_reduction_proxy_pref_names.cc',
84         'data_reduction_proxy/core/common/data_reduction_proxy_pref_names.h',
85         'data_reduction_proxy/core/common/data_reduction_proxy_switches.cc',
86         'data_reduction_proxy/core/common/data_reduction_proxy_switches.h',
87       ],
88     },
89     {
90       # GN version: //components/data_reduction_proxy/core/browser:test_support
91       'target_name': 'data_reduction_proxy_test_support',
92       'type': 'static_library',
93       'dependencies' : [
94         '../base/base.gyp:base',
95         '../net/net.gyp:net',
96         '../net/net.gyp:net_test_support',
97         '../testing/gmock.gyp:gmock',
98         '../testing/gtest.gyp:gtest',
99         'data_reduction_proxy_core_browser',
100         'data_reduction_proxy_core_common',
101       ],
102       'include_dirs': [
103         '..',
104       ],
105       'sources': [
106         # Note: sources list duplicated in GN build.
107         'data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.cc',
108         'data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.h',
109         'data_reduction_proxy/core/browser/data_reduction_proxy_configurator_test_utils.cc',
110         'data_reduction_proxy/core/browser/data_reduction_proxy_configurator_test_utils.h',
111         'data_reduction_proxy/core/browser/data_reduction_proxy_settings_test_utils.cc',
112         'data_reduction_proxy/core/browser/data_reduction_proxy_settings_test_utils.h',
113         'data_reduction_proxy/core/common/data_reduction_proxy_headers_test_utils.cc',
114         'data_reduction_proxy/core/common/data_reduction_proxy_headers_test_utils.h',
115         'data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.cc',
116         'data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.h',
117       ],
118     },
119     {
120       'target_name': 'data_reduction_proxy_version_header',
121       'type': 'none',
122       'direct_dependent_settings': {
123         'include_dirs': [
124           '<(SHARED_INTERMEDIATE_DIR)',
125         ],
126       },
127       'actions': [
128         {
129           'action_name': 'version_header',
130           'message': 'Generating version header file: <@(_outputs)',
131           'inputs': [
132             '<(version_path)',
133             'data_reduction_proxy/core/common/version.h.in',
134           ],
135           'outputs': [
136             '<(SHARED_INTERMEDIATE_DIR)/components/data_reduction_proxy/core/common/version.h',
137           ],
138           'action': [
139             'python',
140             '<(version_py_path)',
141             '-e', 'VERSION_FULL="<(version_full)"',
142             'data_reduction_proxy/core/common/version.h.in',
143             '<@(_outputs)',
144           ],
145           'includes': [
146             '../build/util/version.gypi',
147           ],
148         },
149       ],
150     },
152   ],