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

Issue 2308583002: version.gni: Pass |sources| after VERSION, BRANDING and LASTCHANGE (Closed)

Created:
4 years, 3 months ago by Raphael Kubo da Costa (rakuco)
Modified:
4 years, 3 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

version.gni: Pass |sources| after VERSION, BRANDING and LASTCHANGE This gives an opportunity for the files in |sources| to override the values set in those 3 files that are always passed to version.py. While this is not something used by Chromium itself at the moment, it can be useful for downstreams who may need to process their own files and do not want to reinvent the process_version() template. R=dpranke@chromium.org,brettw@chromium.org,thestig@chromium.org

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -8 lines) Patch
M chrome/version.gni View 2 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Raphael Kubo da Costa (rakuco)
4 years, 3 months ago (2016-09-02 12:35:12 UTC) #1
Dirk Pranke
It seems like it would make more sense for those parameters to be optionally overridable, ...
4 years, 3 months ago (2016-09-02 16:55:15 UTC) #2
Raphael Kubo da Costa (rakuco)
Do you mean something along the lines of a new parameter like |use_default_files|? Another option ...
4 years, 3 months ago (2016-09-02 17:03:14 UTC) #3
Dirk Pranke
On 2016/09/02 17:03:14, Raphael Kubo da Costa (rakuco) wrote: > Do you mean something along ...
4 years, 3 months ago (2016-09-02 17:08:53 UTC) #4
Raphael Kubo da Costa (rakuco)
I can see chrome/VERSION being used by quite a few process_version() callers, but almost none ...
4 years, 3 months ago (2016-09-02 17:34:53 UTC) #5
Raphael Kubo da Costa (rakuco)
4 years, 3 months ago (2016-09-14 10:24:10 UTC) #6
On 2016/09/02 17:34:53, Raphael Kubo da Costa (rakuco) wrote:
> I can see chrome/VERSION being used by quite a few process_version() callers,
> but almost none of them need LASTCHANGE or BRANDING.
> 
> I'll try to work on a CL moving the file outside chrome/ and see how it goes.

This is being handled in https://codereview.chromium.org/2341673003/

Powered by Google App Engine
This is Rietveld 408576698