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

Issue 800543006: Add OILPAN string to developer build chromium's webkit revision (Closed)

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

Description

Add OILPAN string to developer build chromium's webkit revision We often build non-oilpan chromium for measuring oilpan performance, and find the mistake after runnining benchmarks for a few days. So we need the way to find whether a given chromium is oilpan-build or not. This change adds "-OIPLAN" to webkit revision. So about:version tells us information about oilpan or not-oilpan. BUG=420515

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Added import to BUILD.gn #

Total comments: 1

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 3

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -2 lines) Patch
M content/common/user_agent.cc View 1 2 3 4 5 6 7 2 chunks +12 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (2 generated)
tasak
5 years, 11 months ago (2015-01-14 04:38:28 UTC) #2
kouhei (in TOK)
lgtm
5 years, 11 months ago (2015-01-14 04:42:05 UTC) #3
haraken
LGTM
5 years, 11 months ago (2015-01-14 05:27:52 UTC) #4
tasak
Thank you for reivewing. I found that the BUILD.gn's change is wrong. I'm now trying ...
5 years, 11 months ago (2015-01-14 12:18:30 UTC) #5
tasak
jochen, brettw, Would you review this CL? https://codereview.chromium.org/800543006/diff/40001/content/common/BUILD.gn File content/common/BUILD.gn (right): https://codereview.chromium.org/800543006/diff/40001/content/common/BUILD.gn#newcode9 content/common/BUILD.gn:9: import("//third_party/WebKit/Source/config.gni") I ...
5 years, 11 months ago (2015-01-15 04:25:54 UTC) #7
jochen (gone - plz use gerrit)
everything you include from blink should be in third_party/WebKit/public
5 years, 11 months ago (2015-01-15 15:04:09 UTC) #8
brettw
Personally, I'd prefer to have the blink target add the oilpan define to the direct ...
5 years, 11 months ago (2015-01-20 19:24:03 UTC) #9
tasak
Thank you for review. I see. I added third_party/WebKit/public/features.gni for public declare_args: https://codereview.chromium.org/861083003/
5 years, 11 months ago (2015-01-21 11:22:55 UTC) #10
brettw
The change you linked to is fine but not all of what I was suggesting. ...
5 years, 11 months ago (2015-01-21 18:09:52 UTC) #11
tasak
On 2015/01/21 18:09:52, brettw wrote: > The change you linked to is fine but not ...
5 years, 11 months ago (2015-01-22 07:03:22 UTC) #12
tasak
On 2015/01/22 07:03:22, tasak wrote: > On 2015/01/21 18:09:52, brettw wrote: > > The change ...
5 years, 11 months ago (2015-01-22 07:10:43 UTC) #13
brettw
Ideally GYP and GN should work the same. In GN, in WebKit/public/BUILD.gn we would add: ...
5 years, 11 months ago (2015-01-22 18:17:08 UTC) #14
brettw
For GYP, the defines are set by wtf/wtf.gyp:wtf_config. The wtf target forwards these to its ...
5 years, 11 months ago (2015-01-22 18:22:29 UTC) #15
tasak
Thank you for comments. On 2015/01/22 18:22:29, brettw wrote: > For GYP, the defines are ...
5 years, 11 months ago (2015-01-23 13:14:55 UTC) #16
tasak
On 2015/01/23 13:14:55, tasak wrote: > Thank you for comments. > > On 2015/01/22 18:22:29, ...
5 years, 11 months ago (2015-01-23 13:16:59 UTC) #17
tasak
Would you review this CL? Since the patch: https://codereview.chromium.org/864723003/ is committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189560, now we only ...
5 years, 10 months ago (2015-02-06 11:36:29 UTC) #18
brettw
https://codereview.chromium.org/800543006/diff/120001/content/common/user_agent.cc File content/common/user_agent.cc (right): https://codereview.chromium.org/800543006/diff/120001/content/common/user_agent.cc#newcode41 content/common/user_agent.cc:41: #if defined(ENABLE_OILPAN) && ENABLE_OILPAN && !defined(OFFICIAL_BUILD) You should do ...
5 years, 10 months ago (2015-02-07 00:17:18 UTC) #19
tasak
Thank you for comment. https://codereview.chromium.org/800543006/diff/120001/content/common/user_agent.cc File content/common/user_agent.cc (right): https://codereview.chromium.org/800543006/diff/120001/content/common/user_agent.cc#newcode41 content/common/user_agent.cc:41: #if defined(ENABLE_OILPAN) && ENABLE_OILPAN && ...
5 years, 10 months ago (2015-02-10 05:51:25 UTC) #20
tasak
I'm sorry. I will close this issue, because: - this change depends on r189560, and ...
5 years, 10 months ago (2015-02-10 12:44:53 UTC) #21
brettw
https://codereview.chromium.org/800543006/diff/120001/content/common/user_agent.cc File content/common/user_agent.cc (right): https://codereview.chromium.org/800543006/diff/120001/content/common/user_agent.cc#newcode41 content/common/user_agent.cc:41: #if defined(ENABLE_OILPAN) && ENABLE_OILPAN && !defined(OFFICIAL_BUILD) On 2015/02/10 05:51:24, ...
5 years, 10 months ago (2015-02-10 22:51:38 UTC) #22
haraken
5 years, 10 months ago (2015-02-10 23:38:01 UTC) #23
Message was sent while issue was closed.
On 2015/02/10 22:51:38, brettw wrote:
>
https://codereview.chromium.org/800543006/diff/120001/content/common/user_age...
> File content/common/user_agent.cc (right):
> 
>
https://codereview.chromium.org/800543006/diff/120001/content/common/user_age...
> content/common/user_agent.cc:41: #if defined(ENABLE_OILPAN) && ENABLE_OILPAN
&&
> !defined(OFFICIAL_BUILD)
> On 2015/02/10 05:51:24, tasak wrote:
> > On 2015/02/07 00:17:17, brettw wrote:
> > 
> > > Second, I don't understand the OFFICIAL_BUILD condition here. Shouldn't
this
> > > just key off of the value? You can key the ENABLE_OILPAN value off of
> whether
> > > the build is official or not.
> > 
> > Because we don't need to add the "OILPAN" string to official build.
> > 
> > - Before shipping, we should not enable oilpan for official builds.
> > - After shipping, oilpan is always enabled. We don't need to check whether
> > oilpan build or not.
> > 
> > So I want to explicitly specify "!defined(OFFICIAL_BUILD)" here.
> > I also added FIXME comment here.
> 
> But shouldn'e the ENABLE_OILPAN flag always be set correctly? If you've got an
> official build with the ENABLE_OILPAN flag set and you don't want oilpan
> enabled, or vice versa, something is wrong.

Actually this is just a hack to move our temporary development faster, so we
don't want to spend a lot of time on this. We'll look for another way.

Powered by Google App Engine
This is Rietveld 408576698