Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Side by Side Diff: chrome/common_constants.gyp

Issue 874413003: Add targets for generating version files in Windows GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix issues after review, update GYP. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/common/chrome_version.cc.version ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « chrome/common/chrome_version.cc.version ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698