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

Unified Diff: tools/gyp/v8.gyp

Issue 797503007: Auto-generate v8 version based on tags. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: tools/gyp/v8.gyp
diff --git a/tools/gyp/v8.gyp b/tools/gyp/v8.gyp
index 696434daf8a6ced0e6f6937453808079f43740eb..bceda29d10b1d8ffa8a5d55e5ce0796eac99b627 100644
--- a/tools/gyp/v8.gyp
+++ b/tools/gyp/v8.gyp
@@ -329,10 +329,32 @@
],
},
{
+ 'target_name': 'v8_version',
+ 'type': 'none',
+ 'actions': [
+ {
+ 'action_name': 'generate_v8_version',
+ 'inputs': [
+ '../../tools/push-to-trunk/generate_version.py',
+ '../../src/version.cc',
+ ],
+ 'outputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/version.cc',
+ ],
+ 'action': [
+ 'python',
+ '../../tools/push-to-trunk/generate_version.py',
+ '<(SHARED_INTERMEDIATE_DIR)/version.cc',
+ ],
+ },
+ ],
+ },
+ {
'target_name': 'v8_base',
'type': 'static_library',
'dependencies': [
'v8_libbase',
+ 'v8_version',
],
'variables': {
'optimize': 'max',
@@ -875,7 +897,7 @@
'../../src/variables.cc',
'../../src/variables.h',
'../../src/vector.h',
- '../../src/version.cc',
+ '<(SHARED_INTERMEDIATE_DIR)/version.cc',
'../../src/version.h',
'../../src/vm-state-inl.h',
'../../src/vm-state.h',
« BUILD.gn ('K') | « BUILD.gn ('k') | tools/push-to-trunk/generate_version.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698