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/core/browser
10 'target_name': 'data_reduction_proxy_core_browser',
11 'type': 'static_library',
13 ['OS != "android" and OS != "ios"', {
15 '../google_apis/google_apis.gyp:google_apis',
20 'data_reduction_proxy_version_header',
21 '../base/base.gyp:base',
22 '../crypto/crypto.gyp:crypto',
24 '../url/url.gyp:url_lib',
25 'data_reduction_proxy_core_common',
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_config_service.cc',
36 'data_reduction_proxy/core/browser/data_reduction_proxy_config_service.h',
37 'data_reduction_proxy/core/browser/data_reduction_proxy_configurator.h',
38 'data_reduction_proxy/core/browser/data_reduction_proxy_delegate.cc',
39 'data_reduction_proxy/core/browser/data_reduction_proxy_delegate.h',
40 'data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.cc',
41 'data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.h',
42 'data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc',
43 'data_reduction_proxy/core/browser/data_reduction_proxy_metrics.h',
44 'data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc',
45 'data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h',
46 'data_reduction_proxy/core/browser/data_reduction_proxy_prefs.cc',
47 'data_reduction_proxy/core/browser/data_reduction_proxy_prefs.h',
48 'data_reduction_proxy/core/browser/data_reduction_proxy_protocol.cc',
49 'data_reduction_proxy/core/browser/data_reduction_proxy_protocol.h',
50 'data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc',
51 'data_reduction_proxy/core/browser/data_reduction_proxy_settings.h',
52 'data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs.cc',
53 'data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs.h',
54 'data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection.cc',
55 'data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection.h',
56 'data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats.cc',
57 'data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats.h',
61 # GN version: //components/data_reduction_proxy/core/common
62 'target_name': 'data_reduction_proxy_core_common',
63 'type': 'static_library',
65 '../base/base.gyp:base',
66 '../url/url.gyp:url_lib',
72 # Note: sources list duplicated in GN build.
73 'data_reduction_proxy/core/common/data_reduction_proxy_bypass_type_list.h',
74 'data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc',
75 'data_reduction_proxy/core/common/data_reduction_proxy_event_store.h',
76 'data_reduction_proxy/core/common/data_reduction_proxy_headers.cc',
77 'data_reduction_proxy/core/common/data_reduction_proxy_headers.h',
78 'data_reduction_proxy/core/common/data_reduction_proxy_params.cc',
79 'data_reduction_proxy/core/common/data_reduction_proxy_params.h',
80 'data_reduction_proxy/core/common/data_reduction_proxy_pref_names.cc',
81 'data_reduction_proxy/core/common/data_reduction_proxy_pref_names.h',
82 'data_reduction_proxy/core/common/data_reduction_proxy_switches.cc',
83 'data_reduction_proxy/core/common/data_reduction_proxy_switches.h',
87 # GN version: //components/data_reduction_proxy/core/browser:test_support
88 'target_name': 'data_reduction_proxy_test_support',
89 'type': 'static_library',
91 '../base/base.gyp:base',
93 '../net/net.gyp:net_test_support',
94 '../testing/gmock.gyp:gmock',
95 '../testing/gtest.gyp:gtest',
96 'data_reduction_proxy_core_browser',
97 'data_reduction_proxy_core_common',
103 # Note: sources list duplicated in GN build.
104 'data_reduction_proxy/core/browser/data_reduction_proxy_settings_test_utils.cc',
105 'data_reduction_proxy/core/browser/data_reduction_proxy_settings_test_utils.h',
106 'data_reduction_proxy/core/common/data_reduction_proxy_headers_test_utils.cc',
107 'data_reduction_proxy/core/common/data_reduction_proxy_headers_test_utils.h',
108 'data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.cc',
109 'data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.h',
113 'target_name': 'data_reduction_proxy_version_header',
115 'direct_dependent_settings': {
117 '<(SHARED_INTERMEDIATE_DIR)',
122 'action_name': 'version_header',
123 'message': 'Generating version header file: <@(_outputs)',
126 'data_reduction_proxy/core/common/version.h.in',
129 '<(SHARED_INTERMEDIATE_DIR)/components/data_reduction_proxy/core/common/version.h',
133 '<(version_py_path)',
134 '-e', 'VERSION_FULL="<(version_full)"',
135 'data_reduction_proxy/core/common/version.h.in',
139 '../build/util/version.gypi',