OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 | 9 |
10 'includes': [ | 10 'includes': [ |
(...skipping 23 matching lines...) Expand all Loading... |
34 'common/pref_font_webkit_names.h', | 34 'common/pref_font_webkit_names.h', |
35 'common/pref_names.cc', | 35 'common/pref_names.cc', |
36 'common/pref_names.h', | 36 'common/pref_names.h', |
37 'common/widevine_cdm_constants.cc', | 37 'common/widevine_cdm_constants.cc', |
38 'common/widevine_cdm_constants.h', | 38 'common/widevine_cdm_constants.h', |
39 ], | 39 ], |
40 'actions': [ | 40 'actions': [ |
41 { | 41 { |
42 'action_name': 'Make chrome_version.cc', | 42 'action_name': 'Make chrome_version.cc', |
43 'variables': { | 43 'variables': { |
44 'make_version_cc_path': 'tools/build/make_version_cc.py', | 44 'lastchange_path': '<(DEPTH)/build/util/LASTCHANGE', |
| 45 'template_input_path': 'common/chrome_version.cc.version', |
45 }, | 46 }, |
46 'inputs': [ | 47 'inputs': [ |
47 '<(make_version_cc_path)', | 48 '<(version_py_path)', |
48 'VERSION', | 49 '<(version_path)', |
| 50 '<(lastchange_path)', |
| 51 '<(template_input_path)', |
49 ], | 52 ], |
50 'outputs': [ | 53 'outputs': [ |
51 '<(INTERMEDIATE_DIR)/chrome_version.cc', | 54 '<(INTERMEDIATE_DIR)/chrome_version.cc', |
52 ], | 55 ], |
53 'action': [ | 56 'action': [ |
54 'python', | 57 'python', |
55 '<(make_version_cc_path)', | 58 '<(version_py_path)', |
| 59 '-f', '<(version_path)', |
| 60 '-f', '<(lastchange_path)', |
| 61 '<(template_input_path)', |
56 '<@(_outputs)', | 62 '<@(_outputs)', |
57 '<(version_full)', | |
58 ], | 63 ], |
59 'process_outputs_as_sources': 1, | 64 'process_outputs_as_sources': 1, |
60 }, | 65 }, |
61 ], | 66 ], |
62 }, | 67 }, |
63 'targets': [ | 68 'targets': [ |
64 { | 69 { |
65 # GN version: //chrome/common:constants | 70 # GN version: //chrome/common:constants |
66 'target_name': 'common_constants', | 71 'target_name': 'common_constants', |
67 'type': 'static_library', | 72 'type': 'static_library', |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 'configurations': { | 119 'configurations': { |
115 'Common_Base': { | 120 'Common_Base': { |
116 'msvs_target_platform': 'x64', | 121 'msvs_target_platform': 'x64', |
117 }, | 122 }, |
118 }, | 123 }, |
119 }, | 124 }, |
120 ], | 125 ], |
121 }], | 126 }], |
122 ], | 127 ], |
123 } | 128 } |
OLD | NEW |