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/browser
10 'target_name': 'data_reduction_proxy_browser',
11 'type': 'static_library',
13 'data_reduction_proxy_version_header',
14 '../base/base.gyp:base',
15 '../crypto/crypto.gyp:crypto',
17 'data_reduction_proxy_common',
24 # Note: sources list duplicated in GN build.
25 'data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc',
26 'data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.h',
27 'data_reduction_proxy/browser/data_reduction_proxy_config_service.cc',
28 'data_reduction_proxy/browser/data_reduction_proxy_config_service.h',
29 'data_reduction_proxy/browser/data_reduction_proxy_configurator.h',
30 'data_reduction_proxy/browser/data_reduction_proxy_delegate.cc',
31 'data_reduction_proxy/browser/data_reduction_proxy_delegate.h',
32 'data_reduction_proxy/browser/data_reduction_proxy_metrics.cc',
33 'data_reduction_proxy/browser/data_reduction_proxy_metrics.h',
34 'data_reduction_proxy/browser/data_reduction_proxy_params.cc',
35 'data_reduction_proxy/browser/data_reduction_proxy_params.h',
36 'data_reduction_proxy/browser/data_reduction_proxy_prefs.cc',
37 'data_reduction_proxy/browser/data_reduction_proxy_prefs.h',
38 'data_reduction_proxy/browser/data_reduction_proxy_protocol.cc',
39 'data_reduction_proxy/browser/data_reduction_proxy_protocol.h',
40 'data_reduction_proxy/browser/data_reduction_proxy_settings.cc',
41 'data_reduction_proxy/browser/data_reduction_proxy_settings.h',
42 'data_reduction_proxy/browser/data_reduction_proxy_statistics_prefs.cc',
43 'data_reduction_proxy/browser/data_reduction_proxy_statistics_prefs.h',
44 'data_reduction_proxy/browser/data_reduction_proxy_tamper_detection.cc',
45 'data_reduction_proxy/browser/data_reduction_proxy_tamper_detection.h',
46 'data_reduction_proxy/browser/data_reduction_proxy_usage_stats.cc',
47 'data_reduction_proxy/browser/data_reduction_proxy_usage_stats.h',
51 # GN version: //components/data_reduction_proxy/common
52 'target_name': 'data_reduction_proxy_common',
53 'type': 'static_library',
55 '../base/base.gyp:base',
61 # Note: sources list duplicated in GN build.
62 'data_reduction_proxy/common/data_reduction_proxy_headers.cc',
63 'data_reduction_proxy/common/data_reduction_proxy_headers.h',
64 'data_reduction_proxy/common/data_reduction_proxy_pref_names.cc',
65 'data_reduction_proxy/common/data_reduction_proxy_pref_names.h',
66 'data_reduction_proxy/common/data_reduction_proxy_switches.cc',
67 'data_reduction_proxy/common/data_reduction_proxy_switches.h',
71 # GN version: //components/data_reduction_proxy/browser:test_support
72 'target_name': 'data_reduction_proxy_test_support',
73 'type': 'static_library',
75 '../base/base.gyp:base',
77 '../net/net.gyp:net_test_support',
78 '../testing/gmock.gyp:gmock',
79 '../testing/gtest.gyp:gtest',
80 'data_reduction_proxy_browser',
81 'data_reduction_proxy_common',
87 # Note: sources list duplicated in GN build.
88 'data_reduction_proxy/browser/data_reduction_proxy_params_test_utils.cc',
89 'data_reduction_proxy/browser/data_reduction_proxy_params_test_utils.h',
90 'data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.cc',
91 'data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.h',
92 'data_reduction_proxy/common/data_reduction_proxy_headers_test_utils.cc',
93 'data_reduction_proxy/common/data_reduction_proxy_headers_test_utils.h',
97 'target_name': 'data_reduction_proxy_version_header',
99 'direct_dependent_settings': {
101 '<(SHARED_INTERMEDIATE_DIR)',
106 'action_name': 'version_header',
107 'message': 'Generating version header file: <@(_outputs)',
110 'data_reduction_proxy/common/version.h.in',
113 '<(SHARED_INTERMEDIATE_DIR)/components/data_reduction_proxy/common/version.h',
117 '<(version_py_path)',
118 '-e', 'VERSION_FULL="<(version_full)"',
119 'data_reduction_proxy/common/version.h.in',
123 '../build/util/version.gypi',