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

Issue 2183063002: [build] Conditionally print to stdout on Android (Closed)

Created:
4 years, 4 months ago by Michael Achenbach
Modified:
4 years, 3 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[build] Conditionally print to stdout on Android This adds a gyp/gn variable to control printing to stdout on Android. This is false by default and true for all v8 stand-alone android bots. BUG=chromium:629806 Committed: https://crrev.com/4289c28fb9291f95d1372059bf8cfef60059bf7d Cr-Commit-Position: refs/heads/master@{#38253}

Patch Set 1 #

Patch Set 2 : [gn] Set defines for Android #

Total comments: 2

Patch Set 3 : Rebase #

Patch Set 4 : Define behind variable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -3 lines) Patch
M BUILD.gn View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M gypfiles/standalone.gypi View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M gypfiles/toolchain.gypi View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download
M infra/mb/mb_config.pyl View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 40 (14 generated)
Michael Achenbach
PTAL https://codereview.chromium.org/2183063002/diff/20001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/2183063002/diff/20001/BUILD.gn#newcode336 BUILD.gn:336: defines += [ "V8_ANDROID_LOG_STDOUT" ] Porting https://cs.chromium.org/chromium/src/v8/gypfiles/standalone.gypi?q=%22ANDROID%22+file:%5Esrc/v8/+case:yes&sq=package:chromium&l=1090&dr=C See ...
4 years, 4 months ago (2016-07-26 15:06:34 UTC) #3
jochen (gone - plz use gerrit)
hum, I'm not really happy about a v8_standalone setting. Why can't we define this flag ...
4 years, 4 months ago (2016-07-27 07:39:20 UTC) #4
vogelheim
lgtm, but not really happy. https://codereview.chromium.org/2183063002/diff/20001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/2183063002/diff/20001/BUILD.gn#newcode336 BUILD.gn:336: defines += [ "V8_ANDROID_LOG_STDOUT" ...
4 years, 4 months ago (2016-07-27 07:43:41 UTC) #5
Michael Achenbach
On 2016/07/27 07:39:20, jochen wrote: > hum, I'm not really happy about a v8_standalone setting. ...
4 years, 4 months ago (2016-07-27 07:58:42 UTC) #6
Michael Achenbach
On 2016/07/27 07:39:20, jochen wrote: > hum, I'm not really happy about a v8_standalone setting. ...
4 years, 4 months ago (2016-07-27 08:00:56 UTC) #7
Michael Achenbach
On 2016/07/27 07:43:41, vogelheim wrote: > lgtm, but not really happy. > > https://codereview.chromium.org/2183063002/diff/20001/BUILD.gn > ...
4 years, 4 months ago (2016-07-27 08:02:06 UTC) #8
jochen (gone - plz use gerrit)
On 2016/07/27 at 08:02:06, machenbach wrote: > On 2016/07/27 07:43:41, vogelheim wrote: > > lgtm, ...
4 years, 4 months ago (2016-07-27 08:10:57 UTC) #9
Michael Achenbach
On 2016/07/27 08:10:57, jochen wrote: > On 2016/07/27 at 08:02:06, machenbach wrote: > > On ...
4 years, 4 months ago (2016-07-27 08:21:49 UTC) #10
jochen (gone - plz use gerrit)
is there a particular reason we log to stdout in standalone builds instead of just ...
4 years, 4 months ago (2016-07-29 09:53:46 UTC) #11
Michael Achenbach
This comes from https://codereview.chromium.org/9179009 - like so many things, maybe it was the standard, copied ...
4 years, 4 months ago (2016-07-29 10:15:47 UTC) #12
Michael Achenbach
Not writing to stdout might also require changes in perf measurement infrastructure.
4 years, 4 months ago (2016-07-29 10:16:59 UTC) #13
jochen (gone - plz use gerrit)
how do we even get the stdout on android?
4 years, 4 months ago (2016-08-01 12:10:53 UTC) #14
Michael Achenbach
On 2016/08/01 12:10:53, jochen wrote: > how do we even get the stdout on android? ...
4 years, 4 months ago (2016-08-01 12:33:42 UTC) #15
Michael Achenbach
On 2016/08/01 12:33:42, Michael Achenbach (slow) wrote: > On 2016/08/01 12:10:53, jochen wrote: > > ...
4 years, 4 months ago (2016-08-01 12:35:26 UTC) #16
jochen (gone - plz use gerrit)
what about adding a variable v8_android_log_stdout or similar, and have the bots that do perf ...
4 years, 4 months ago (2016-08-01 12:45:16 UTC) #17
Michael Achenbach
On 2016/08/01 12:45:16, jochen wrote: > what about adding a variable v8_android_log_stdout or similar, and ...
4 years, 4 months ago (2016-08-01 12:51:39 UTC) #18
Michael Achenbach
PTAL at patch 4. The flag is now behind a variable, which is set for ...
4 years, 4 months ago (2016-08-02 09:16:44 UTC) #19
jochen (gone - plz use gerrit)
lgtm
4 years, 4 months ago (2016-08-02 15:29:57 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2183063002/60001
4 years, 4 months ago (2016-08-02 15:31:01 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2183063002/60001
4 years, 4 months ago (2016-08-02 15:33:30 UTC) #32
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-02 15:35:31 UTC) #34
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/4289c28fb9291f95d1372059bf8cfef60059bf7d Cr-Commit-Position: refs/heads/master@{#38253}
4 years, 4 months ago (2016-08-02 15:38:15 UTC) #36
zhengxing.li
On 2016/08/02 15:38:15, commit-bot: I haz the power wrote: > Patchset 4 (id:??) landed as ...
4 years, 4 months ago (2016-08-24 03:05:25 UTC) #37
Michael Achenbach
On 2016/08/24 03:05:25, zhengxing.li wrote: > On 2016/08/02 15:38:15, commit-bot: I haz the power wrote: ...
4 years, 3 months ago (2016-08-28 19:57:46 UTC) #38
Jakob Kummerow
On 2016/08/28 19:57:46, machenbach (OOO until Aug 28) wrote: > On 2016/08/24 03:05:25, zhengxing.li wrote: ...
4 years, 3 months ago (2016-08-29 09:26:31 UTC) #39
Michael Achenbach
4 years, 3 months ago (2016-08-29 09:43:18 UTC) #40
Message was sent while issue was closed.
On 2016/08/29 09:26:31, Jakob wrote:
> On 2016/08/28 19:57:46, machenbach (OOO until Aug 28) wrote:
> > On 2016/08/24 03:05:25, zhengxing.li wrote:
> > > Android build will be broken by this CL. the error message is:
> > > ../src/base/platform/platform-posix.cc:34:10: fatal error: 'android/log.h'
> > file
> > > not found
> > > 
> > > Anyone have time to take a look at this issue?
> > > 
> > > Thanks!
> > 
> > What do you mean by "will be"? Could you please file a bug if any action
needs
> > to be taken?
> 
> "will be" means "has been", in this case. I've fixed it in
> https://codereview.chromium.org/2264283007 .

Alright, thanks!

Powered by Google App Engine
This is Rietveld 408576698