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

Issue 874413003: Add targets for generating version files in Windows GN build. (Closed)

Created:
5 years, 11 months ago by Slava Chigrin
Modified:
5 years, 10 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add targets for generating version files in Windows GN build. Now chrome_version.cc and version .rc files are generated. Committed: https://crrev.com/319ba630ef61fe8d70f553b4925870960317b660 Cr-Commit-Position: refs/heads/master@{#313798}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Rebase. #

Patch Set 3 : Better way of generating chrome_version.cc #

Patch Set 4 : Fix mistake after rebase. #

Total comments: 4

Patch Set 5 : Fix issues after review, update GYP. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -57 lines) Patch
M chrome/BUILD.gn View 1 2 3 4 chunks +48 lines, -1 line 0 comments Download
M chrome/common/BUILD.gn View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
A + chrome/common/chrome_version.cc.version View 1 2 3 4 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/common_constants.gyp View 1 2 3 4 1 chunk +10 lines, -5 lines 0 comments Download
M chrome/test/BUILD.gn View 4 chunks +8 lines, -11 lines 0 comments Download
D chrome/tools/build/make_version_cc.py View 1 2 3 4 1 chunk +0 lines, -37 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
Slava Chigrin
https://codereview.chromium.org/874413003/diff/1/chrome/common/BUILD.gn File chrome/common/BUILD.gn (right): https://codereview.chromium.org/874413003/diff/1/chrome/common/BUILD.gn#newcode297 chrome/common/BUILD.gn:297: "-t @MAJOR@.@MINOR@.@BUILD@.@PATCH@", See https://code.google.com/p/chromium/codesearch#chromium/src/build/util/version.gypi&q=@MAJOR@.@MINOR@.@BUILD@.@PATCH@&sq=package:chromium&type=cs&l=16 https://codereview.chromium.org/874413003/diff/1/chrome/common/BUILD.gn#newcode303 chrome/common/BUILD.gn:303: "$version_full", See https://code.google.com/p/chromium/codesearch#chromium/src/chrome/common_constants.gyp&q=make_version_cc.py&sq=package:chromium&type=cs&l=57
5 years, 11 months ago (2015-01-26 23:29:09 UTC) #2
Lei Zhang
brettw is probably a better reviewer. I can (slowly) take a look if he doesn't ...
5 years, 11 months ago (2015-01-27 00:56:10 UTC) #4
brettw
https://codereview.chromium.org/874413003/diff/1/chrome/common/BUILD.gn File chrome/common/BUILD.gn (right): https://codereview.chromium.org/874413003/diff/1/chrome/common/BUILD.gn#newcode293 chrome/common/BUILD.gn:293: version_full = exec_script("//build/util/version.py", I think we should be able ...
5 years, 11 months ago (2015-01-27 23:58:07 UTC) #5
Slava Chigrin
Thank you for review, unfortunately, make_version_cc.py is very simple script, that can not take file ...
5 years, 10 months ago (2015-01-28 17:34:51 UTC) #9
brettw
I see, I didn't notice the script was different. The new approach looks great. Can ...
5 years, 10 months ago (2015-01-28 21:06:45 UTC) #10
Slava Chigrin
Thank you for review, uploaded new version. Launched clobbered try job (win8_chromium_rel) to test GYP, ...
5 years, 10 months ago (2015-01-29 13:13:22 UTC) #11
brettw
lgtm
5 years, 10 months ago (2015-01-29 20:44:19 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/874413003/140001
5 years, 10 months ago (2015-01-29 20:45:56 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:140001)
5 years, 10 months ago (2015-01-29 21:41:06 UTC) #15
commit-bot: I haz the power
5 years, 10 months ago (2015-01-29 21:42:42 UTC) #16
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/319ba630ef61fe8d70f553b4925870960317b660
Cr-Commit-Position: refs/heads/master@{#313798}

Powered by Google App Engine
This is Rietveld 408576698