Index: build/util/version.gypi |
diff --git a/build/util/version.gypi b/build/util/version.gypi |
new file mode 100644 |
index 0000000000000000000000000000000000000000..327a5c2e5f5968049b48afa7a6a33481834db7ae |
--- /dev/null |
+++ b/build/util/version.gypi |
@@ -0,0 +1,20 @@ |
+# Copyright 2014 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+{ |
+ 'variables': { |
+ 'variables': { |
+ 'version_py_path': '<(DEPTH)/build/util/version.py', |
+ 'version_path': '<(DEPTH)/chrome/VERSION', |
+ 'lastchange_path': '<(DEPTH)/build/util/LASTCHANGE', |
+ }, |
+ 'version_py_path': '<(version_py_path)', |
+ 'version_path': '<(version_path)', |
+ 'lastchange_path': '<(lastchange_path)', |
+ 'version_full': |
+ '<!(python <(version_py_path) -f <(version_path) -t "@MAJOR@.@MINOR@.@BUILD@.@PATCH@")', |
+ 'version_mac_dylib': |
+ '<!(python <(version_py_path) -f <(version_path) -t "@BUILD@.@PATCH_HI@.@PATCH_LO@" -e "PATCH_HI=int(PATCH)/256" -e "PATCH_LO=int(PATCH)%256")', |
+ }, # variables |
+} |