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

Unified Diff: build/util/version.gni

Issue 1930403003: [Mac/GN] Get chrome and chrome_framework building. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-chrome-app-shim
Patch Set: Created 4 years, 8 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: build/util/version.gni
diff --git a/build/util/version.gni b/build/util/version.gni
index fba8d2595fe206ad5a9c97026adf9fe272e3577e..6542341d2ee2651bfdbdd8808eb1e1b480161a27 100644
--- a/build/util/version.gni
+++ b/build/util/version.gni
@@ -45,3 +45,20 @@ chrome_version_minor = _result.minor
chrome_version_build = _result.build
chrome_version_patch = _result.patch
remoting_version_patch = _result.remoting
+
+if (is_mac) {
+ _result = exec_script("version.py",
+ [
+ "-f",
+ rebase_path(chrome_version_file, root_build_dir),
+ "-t",
+ "@BUILD@.@PATCH_HI@.@PATCH_LO@",
+ "-e",
+ "PATCH_HI=int(PATCH)/256",
+ "-e",
+ "PATCH_LO=int(PATCH)%256",
+ ],
+ "trim string",
+ [ chrome_version_file ])
+ chrome_dylib_version = _result
+}
« build/util/branding.gni ('K') | « build/util/branding.gni ('k') | chrome/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698