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

Issue 1090213002: optimize branding - use branding_path_component variable for defining pranding specific paths (Closed)

Created:
5 years, 8 months ago by gburanov
Modified:
5 years, 8 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

optimize branding - use branding_path_component variable for defining branding specific paths Please take a look at my post here https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/pIQjhkVl4cE I am not sure about build/common.gypi Please correct me if I am wrong. PS: This is just to start, there are more places to refactor. BUG= Committed: https://crrev.com/c88987ff0e5f9df2218c1bb62e671cbbb50991e0 Cr-Commit-Position: refs/heads/master@{#326765}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Fixed according to comments #

Total comments: 7

Patch Set 3 : Fixed conditional branding #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -74 lines) Patch
M build/common.gypi View 1 2 4 chunks +11 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 chunks +2 lines, -22 lines 0 comments Download
M chrome/chrome_exe.gypi View 1 chunk +1 line, -11 lines 0 comments Download
M chrome/chrome_installer.gypi View 1 2 4 chunks +4 lines, -41 lines 0 comments Download

Messages

Total messages: 37 (7 generated)
gburanov
5 years, 8 months ago (2015-04-17 13:26:47 UTC) #3
sdefresne
Just some comments about the syntax. https://codereview.chromium.org/1090213002/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/1090213002/diff/1/build/common.gypi#newcode94 build/common.gypi:94: 'branding_path_component%': 'chromium', You ...
5 years, 8 months ago (2015-04-17 13:41:28 UTC) #4
Dirk Pranke
should there be corresponding changes in the GN files? I'm not actually sure yet if ...
5 years, 8 months ago (2015-04-18 00:38:25 UTC) #5
gburanov
Fixed according to comments We have branding hooked in GN files, but we dont need ...
5 years, 8 months ago (2015-04-20 12:29:51 UTC) #6
Michael Moss
https://codereview.chromium.org/1090213002/diff/20001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/1090213002/diff/20001/build/common.gypi#newcode192 build/common.gypi:192: 'branding_path_component%': '<(branding)', Default 'branding' is "Chromium", but the usages ...
5 years, 8 months ago (2015-04-21 15:11:53 UTC) #8
gburanov
https://codereview.chromium.org/1090213002/diff/20001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/1090213002/diff/20001/build/common.gypi#newcode192 build/common.gypi:192: 'branding_path_component%': '<(branding)', On 2015/04/21 15:11:53, Michael Moss wrote: > ...
5 years, 8 months ago (2015-04-21 15:48:21 UTC) #9
Michael Moss
https://codereview.chromium.org/1090213002/diff/20001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/1090213002/diff/20001/build/common.gypi#newcode192 build/common.gypi:192: 'branding_path_component%': '<(branding)', > Take a look at upper line ...
5 years, 8 months ago (2015-04-21 17:21:20 UTC) #10
gburanov
https://codereview.chromium.org/1090213002/diff/20001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/1090213002/diff/20001/build/common.gypi#newcode192 build/common.gypi:192: 'branding_path_component%': '<(branding)', yep, you are correct. sorry. I will ...
5 years, 8 months ago (2015-04-21 17:26:59 UTC) #11
Michael Moss
https://codereview.chromium.org/1090213002/diff/20001/chrome/chrome_installer.gypi File chrome/chrome_installer.gypi (right): https://codereview.chromium.org/1090213002/diff/20001/chrome/chrome_installer.gypi#newcode10 chrome/chrome_installer.gypi:10: 'branding_dir_100': 'app/theme/default_100_percent/<(branding_path_component)', FYI, I think since this is moved ...
5 years, 8 months ago (2015-04-21 18:00:28 UTC) #12
gburanov
https://codereview.chromium.org/1090213002/diff/20001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/1090213002/diff/20001/build/common.gypi#newcode192 build/common.gypi:192: 'branding_path_component%': '<(branding)', Do you know how to make double ...
5 years, 8 months ago (2015-04-22 15:20:46 UTC) #13
Michael Moss
https://codereview.chromium.org/1090213002/diff/20001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/1090213002/diff/20001/build/common.gypi#newcode192 build/common.gypi:192: 'branding_path_component%': '<(branding)', You can wrap a 'conditions' inside a ...
5 years, 8 months ago (2015-04-22 16:16:51 UTC) #14
gburanov
yep, fixed, I like the second much more!
5 years, 8 months ago (2015-04-23 09:02:20 UTC) #15
gburanov
On 2015/04/23 09:02:20, gburanov wrote: > yep, fixed, I like the second much more! BTW, ...
5 years, 8 months ago (2015-04-23 11:34:08 UTC) #16
gburanov
On 2015/04/23 11:34:08, gburanov wrote: > On 2015/04/23 09:02:20, gburanov wrote: > > yep, fixed, ...
5 years, 8 months ago (2015-04-23 11:46:21 UTC) #17
gburanov
Just take a look how much optimization it is possible to do after this review ...
5 years, 8 months ago (2015-04-23 13:47:16 UTC) #18
Michael Moss
On 2015/04/23 11:34:08, gburanov wrote: > On 2015/04/23 09:02:20, gburanov wrote: > > yep, fixed, ...
5 years, 8 months ago (2015-04-23 15:23:34 UTC) #19
gburanov
> Yes, that will break for any new "branding" values. It probably shouldn't be > ...
5 years, 8 months ago (2015-04-23 15:40:56 UTC) #20
gburanov
Is it possible to close it today?)
5 years, 8 months ago (2015-04-23 21:03:41 UTC) #21
gburanov
Hi. Is it possible to close it today please?)
5 years, 8 months ago (2015-04-23 21:04:06 UTC) #22
cjhopman
lgtm
5 years, 8 months ago (2015-04-23 21:27:38 UTC) #23
Dirk Pranke
lgtm
5 years, 8 months ago (2015-04-23 21:38:36 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1090213002/40001
5 years, 8 months ago (2015-04-23 21:40:33 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/58629)
5 years, 8 months ago (2015-04-23 21:48:14 UTC) #28
jochen (gone - plz use gerrit)
lgtm
5 years, 8 months ago (2015-04-24 09:19:28 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1090213002/40001
5 years, 8 months ago (2015-04-24 09:22:42 UTC) #32
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 8 months ago (2015-04-24 09:26:27 UTC) #33
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/c88987ff0e5f9df2218c1bb62e671cbbb50991e0 Cr-Commit-Position: refs/heads/master@{#326765}
5 years, 8 months ago (2015-04-24 09:27:17 UTC) #34
gburanov
On 2015/04/24 09:27:17, I haz the power (commit-bot) wrote: > Patchset 3 (id:??) landed as ...
5 years, 8 months ago (2015-04-24 09:34:54 UTC) #35
James Hawkins
lgtm
5 years, 8 months ago (2015-04-24 16:53:30 UTC) #36
sky
5 years, 8 months ago (2015-04-24 17:44:08 UTC) #37
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698