OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 | 5 |
6 { | 6 { |
7 'targets': [ | 7 'targets': [ |
8 { | 8 { |
9 # GN version: //components/data_reduction_proxy/browser | 9 # GN version: //components/data_reduction_proxy/browser |
10 'target_name': 'data_reduction_proxy_browser', | 10 'target_name': 'data_reduction_proxy_browser', |
11 'type': 'static_library', | 11 'type': 'static_library', |
12 'dependencies': [ | 12 'dependencies': [ |
| 13 'data_reduction_proxy_version_header', |
13 '../base/base.gyp:base', | 14 '../base/base.gyp:base', |
14 '../crypto/crypto.gyp:crypto', | 15 '../crypto/crypto.gyp:crypto', |
15 '../net/net.gyp:net', | 16 '../net/net.gyp:net', |
16 'data_reduction_proxy_common', | 17 'data_reduction_proxy_common', |
17 'pref_registry', | 18 'pref_registry', |
18 ], | 19 ], |
19 'include_dirs': [ | 20 'include_dirs': [ |
20 '..', | 21 '..', |
21 ], | 22 ], |
22 'sources': [ | 23 'sources': [ |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 '..', | 84 '..', |
84 ], | 85 ], |
85 'sources': [ | 86 'sources': [ |
86 # Note: sources list duplicated in GN build. | 87 # Note: sources list duplicated in GN build. |
87 'data_reduction_proxy/browser/data_reduction_proxy_params_test_utils.cc'
, | 88 'data_reduction_proxy/browser/data_reduction_proxy_params_test_utils.cc'
, |
88 'data_reduction_proxy/browser/data_reduction_proxy_params_test_utils.h', | 89 'data_reduction_proxy/browser/data_reduction_proxy_params_test_utils.h', |
89 'data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.c
c', | 90 'data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.c
c', |
90 'data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.h
', | 91 'data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.h
', |
91 ], | 92 ], |
92 }, | 93 }, |
| 94 { |
| 95 'target_name': 'data_reduction_proxy_version_header', |
| 96 'type': 'none', |
| 97 'direct_dependent_settings': { |
| 98 'include_dirs': [ |
| 99 '<(SHARED_INTERMEDIATE_DIR)', |
| 100 ], |
| 101 }, |
| 102 'actions': [ |
| 103 { |
| 104 'action_name': 'version_header', |
| 105 'message': 'Generating version header file: <@(_outputs)', |
| 106 'inputs': [ |
| 107 '<(version_path)', |
| 108 'data_reduction_proxy/common/version.h.in', |
| 109 ], |
| 110 'outputs': [ |
| 111 '<(SHARED_INTERMEDIATE_DIR)/components/data_reduction_proxy/common/v
ersion.h', |
| 112 ], |
| 113 'action': [ |
| 114 'python', |
| 115 '<(version_py_path)', |
| 116 '-e', 'VERSION_FULL="<(version_full)"', |
| 117 'data_reduction_proxy/common/version.h.in', |
| 118 '<@(_outputs)', |
| 119 ], |
| 120 'includes': [ |
| 121 '../build/util/version.gypi', |
| 122 ], |
| 123 }, |
| 124 ], |
| 125 }, |
| 126 |
93 ], | 127 ], |
94 } | 128 } |
95 | 129 |
OLD | NEW |