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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 '..', | 80 '..', |
80 ], | 81 ], |
81 'sources': [ | 82 'sources': [ |
82 # Note: sources list duplicated in GN build. | 83 # Note: sources list duplicated in GN build. |
83 'data_reduction_proxy/browser/data_reduction_proxy_params_test_utils.cc'
, | 84 'data_reduction_proxy/browser/data_reduction_proxy_params_test_utils.cc'
, |
84 'data_reduction_proxy/browser/data_reduction_proxy_params_test_utils.h', | 85 'data_reduction_proxy/browser/data_reduction_proxy_params_test_utils.h', |
85 'data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.c
c', | 86 'data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.c
c', |
86 'data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.h
', | 87 'data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.h
', |
87 ], | 88 ], |
88 }, | 89 }, |
| 90 { |
| 91 'target_name': 'data_reduction_proxy_version_header', |
| 92 'type': 'none', |
| 93 'direct_dependent_settings': { |
| 94 'include_dirs': [ |
| 95 '<(SHARED_INTERMEDIATE_DIR)', |
| 96 ], |
| 97 }, |
| 98 'actions': [ |
| 99 { |
| 100 'action_name': 'version_header', |
| 101 'message': 'Generating version header file: <@(_outputs)', |
| 102 'inputs': [ |
| 103 '<(version_path)', |
| 104 'data_reduction_proxy/common/version.h.in', |
| 105 ], |
| 106 'outputs': [ |
| 107 '<(SHARED_INTERMEDIATE_DIR)/components/data_reduction_proxy/common/v
ersion.h', |
| 108 ], |
| 109 'action': [ |
| 110 'python', |
| 111 '<(version_py_path)', |
| 112 '-e', 'VERSION_FULL="<(version_full)"', |
| 113 'data_reduction_proxy/common/version.h.in', |
| 114 '<@(_outputs)', |
| 115 ], |
| 116 'includes': [ |
| 117 '../build/util/version.gypi', |
| 118 ], |
| 119 }, |
| 120 ], |
| 121 }, |
| 122 |
89 ], | 123 ], |
90 } | 124 } |
91 | 125 |
OLD | NEW |