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

Issue 2945763003: Move process_version_rc_template.gni to build/util (Closed)

Created:
3 years, 6 months ago by proberge
Modified:
3 years, 6 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, feature-media-reviews_chromium.org, vmpstr+watch_chromium.org, grt+watch_chromium.org, caitkp+watch_chromium.org, eme-reviews_chromium.org, pennymac+watch_chromium.org, wfh+watch_chromium.org, chromium-apps-reviews_chromium.org, danakj+watch_chromium.org, Michael Moss, veranika
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move process_version_rc_template.gni to build/util Having process_version_rc_template.gni in //chrome creates some unwanted dependencies (such as //base depending on //chrome). These dependencies create problems for external projects that want to depend on //base but not on //chrome. Proper functionality of process_version_rc_template.gni relies on the branding file at "//chrome/app/theme/$branding_path_component/BRANDING" to be present. External projects that do use process_version_rc_template will still need to depend on Chrome. See //src/build/util/branding.gni for a comparable existing dependency from //build to //chrome. BUG= CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -81 lines) Patch
M base/win/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M build/util/process_version.gni View 1 chunk +1 line, -1 line 0 comments Download
A + build/util/process_version_rc_template.gni View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_watcher/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/gcapi/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/linux/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/mini_installer/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/setup/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
D chrome/process_version_rc_template.gni View 1 chunk +0 lines, -65 lines 0 comments Download
M chrome_elf/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M cloud_print/virtual_driver/win/install/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M cloud_print/virtual_driver/win/port_monitor/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M components/version_info/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M extensions/shell/installer/linux/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M media/cdm/ppapi/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M third_party/widevine/cdm/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (4 generated)
proberge
See post-submit comments on https://codereview.chromium.org/2687783003 for additional context.
3 years, 6 months ago (2017-06-19 15:31:06 UTC) #4
proberge
3 years, 6 months ago (2017-06-19 15:31:50 UTC) #6
grt (UTC plus 2)
This change would put a dependency on //chrome into //build/util/process_version_rc_template.gni, no? Is that an improvement? ...
3 years, 6 months ago (2017-06-20 09:57:02 UTC) #7
proberge
On 2017/06/20 09:57:02, grt (UTC plus 2) wrote: > This change would put a dependency ...
3 years, 6 months ago (2017-06-20 18:56:16 UTC) #8
grt (UTC plus 2)
3 years, 6 months ago (2017-06-21 09:31:39 UTC) #9
On 2017/06/20 18:56:16, proberge wrote:
> I actually just care about //base, so an alternative solution would be to move
> the
> code in //base which uses the template to //chrome. 
> See https://codereview.chromium.org/2946983002/

I think this is the right thing to do. I've commented in that CR.

Powered by Google App Engine
This is Rietveld 408576698