Blink roll a6d61dbff0a4bce30fce5b29c2efb77a94ddc3ee:a11635f657e0f1ce75179fd7336a309a6...
[chromium-blink-merge.git] / components / data_reduction_proxy.gypi
blob333b56f85fbe66a8b805c6a0507264402cacb9e1
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/browser
10       'target_name': 'data_reduction_proxy_browser',
11       'type': 'static_library',
12       'dependencies': [
13         '../base/base.gyp:base',
14         '../crypto/crypto.gyp:crypto',
15         '../net/net.gyp:net',
16         'data_reduction_proxy_common',
17         'pref_registry',
18       ],
19       'include_dirs': [
20         '..',
21       ],
22       'sources': [
23         # Note: sources list duplicated in GN build.
24         'data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc',
25         'data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.h',
26         'data_reduction_proxy/browser/data_reduction_proxy_config_service.cc',
27         'data_reduction_proxy/browser/data_reduction_proxy_config_service.h',
28         'data_reduction_proxy/browser/data_reduction_proxy_configurator.h',
29         'data_reduction_proxy/browser/data_reduction_proxy_delegate.cc',
30         'data_reduction_proxy/browser/data_reduction_proxy_delegate.h',
31         'data_reduction_proxy/browser/data_reduction_proxy_metrics.cc',
32         'data_reduction_proxy/browser/data_reduction_proxy_metrics.h',
33         'data_reduction_proxy/browser/data_reduction_proxy_params.cc',
34         'data_reduction_proxy/browser/data_reduction_proxy_params.h',
35         'data_reduction_proxy/browser/data_reduction_proxy_prefs.cc',
36         'data_reduction_proxy/browser/data_reduction_proxy_prefs.h',
37         'data_reduction_proxy/browser/data_reduction_proxy_protocol.cc',
38         'data_reduction_proxy/browser/data_reduction_proxy_protocol.h',
39         'data_reduction_proxy/browser/data_reduction_proxy_settings.cc',
40         'data_reduction_proxy/browser/data_reduction_proxy_settings.h',
41         'data_reduction_proxy/browser/data_reduction_proxy_tamper_detection.cc',
42         'data_reduction_proxy/browser/data_reduction_proxy_tamper_detection.h',
43         'data_reduction_proxy/browser/data_reduction_proxy_usage_stats.cc',
44         'data_reduction_proxy/browser/data_reduction_proxy_usage_stats.h',
45       ],
46     },
47     {
48       # GN version: //components/data_reduction_proxy/common
49       'target_name': 'data_reduction_proxy_common',
50       'type': 'static_library',
51       'dependencies': [
52         '../base/base.gyp:base',
53       ],
54       'include_dirs': [
55         '..',
56       ],
57       'sources': [
58         # Note: sources list duplicated in GN build.
59         'data_reduction_proxy/common/data_reduction_proxy_headers.cc',
60         'data_reduction_proxy/common/data_reduction_proxy_headers.h',
61         'data_reduction_proxy/common/data_reduction_proxy_pref_names.cc',
62         'data_reduction_proxy/common/data_reduction_proxy_pref_names.h',
63         'data_reduction_proxy/common/data_reduction_proxy_switches.cc',
64         'data_reduction_proxy/common/data_reduction_proxy_switches.h',
65       ],
66     },
67     {
68       # GN version: //components/data_reduction_proxy/browser:test_support
69       'target_name': 'data_reduction_proxy_test_support',
70       'type': 'static_library',
71       'dependencies' : [
72         '../base/base.gyp:base',
73         '../net/net.gyp:net',
74         '../net/net.gyp:net_test_support',
75         '../testing/gmock.gyp:gmock',
76         '../testing/gtest.gyp:gtest',
77         'data_reduction_proxy_browser',
78         'data_reduction_proxy_common',
79       ],
80       'include_dirs': [
81         '..',
82       ],
83       'sources': [
84         # Note: sources list duplicated in GN build.
85         'data_reduction_proxy/browser/data_reduction_proxy_params_test_utils.cc',
86         'data_reduction_proxy/browser/data_reduction_proxy_params_test_utils.h',
87         'data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.cc',
88         'data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.h',
89       ],
90     },
91   ],