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

Issue 10823400: Provide option to disable full DEBUG build on Android. (Closed)

Created:
8 years, 4 months ago by Xianzhu
Modified:
8 years, 4 months ago
Reviewers:
ulan, danno
CC:
Yaron, Torne
Base URL:
http://git.chromium.org/external/v8.git@master
Visibility:
Public.

Description

Provide option to disable full DEBUG build on Android. V8 full DEBUG is too slow on Android. Disable it when android_full_debug==0. BUG=none

Patch Set 1 #

Patch Set 2 : Use android_full_debug variable #

Patch Set 3 : android_full_debug default 1 #

Total comments: 2

Patch Set 4 : Added option to disable debug asserts. In v8 bleeding_edge #

Patch Set 5 : Return to Patch Set 3, TODO, bleeding_edge #

Patch Set 6 : From standalone v8 checkout #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -0 lines) Patch
M build/common.gypi View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Xianzhu
8 years, 4 months ago (2012-08-17 21:37:59 UTC) #1
ulan
There is no issue number for this CL. Could you please give us more context? ...
8 years, 4 months ago (2012-08-20 07:27:32 UTC) #2
Xianzhu
Thanks for the questions :) The related changes are: https://chromiumcodereview.appspot.com/10827273/ https://chromiumcodereview.appspot.com/10836323/ https://chromiumcodereview.appspot.com/10831381/ These CLs are ...
8 years, 4 months ago (2012-08-20 17:34:34 UTC) #3
ulan
Thank you for clarification, Xianzhu! Not passing DEBUG by default in the debug build doesn't ...
8 years, 4 months ago (2012-08-21 13:39:20 UTC) #4
Xianzhu
On 2012/08/21 13:39:20, ulan wrote: > Thank you for clarification, Xianzhu! > > Not passing ...
8 years, 4 months ago (2012-08-21 23:01:56 UTC) #5
Xianzhu
On 2012/08/21 23:01:56, Xianzhu wrote: > I tried but the result was weird: with the ...
8 years, 4 months ago (2012-08-22 23:47:02 UTC) #6
Xianzhu
On 2012/08/22 23:47:02, Xianzhu wrote: > I tried disabling ASSERT, but the result was still ...
8 years, 4 months ago (2012-08-23 06:34:33 UTC) #7
Xianzhu
Is the opt-in method in Patch Set 3 acceptable? It seems that I won't have ...
8 years, 4 months ago (2012-08-23 07:02:52 UTC) #8
ulan
On 2012/08/23 07:02:52, Xianzhu wrote: > Is the opt-in method in Patch Set 3 acceptable? ...
8 years, 4 months ago (2012-08-23 07:37:31 UTC) #9
Xianzhu
Yes, this is just the way I tested in #7, but I thought it was ...
8 years, 4 months ago (2012-08-23 16:27:34 UTC) #10
ulan
Sorry for the confusion. Introducing DISABLE_DEBUG_ASSERTS is much better than hiding DEBUG because we don't ...
8 years, 4 months ago (2012-08-23 16:51:25 UTC) #11
Xianzhu
On 2012/08/23 16:51:25, ulan wrote: > When you CL is ready, it is probably better ...
8 years, 4 months ago (2012-08-23 17:38:36 UTC) #12
Xianzhu
8 years, 4 months ago (2012-08-23 18:13:39 UTC) #13
ulan
Patch set 4 doesn't compile for me :( It produces a lot of "unused variable" ...
8 years, 4 months ago (2012-08-24 09:50:57 UTC) #14
Xianzhu
8 years, 4 months ago (2012-08-24 16:10:47 UTC) #15
Thanks Ulan for verification and detailed instructions!

http://codereview.chromium.org/10823400/diff/6001/build/common.gypi
File build/common.gypi (right):

http://codereview.chromium.org/10823400/diff/6001/build/common.gypi#newcode350
build/common.gypi:350: # Disable full debug if we want a faster v8 in a debug
build.
On 2012/08/24 09:50:57, ulan wrote:
> Please add a comment:
> # TODO(2304): pass DISABLE_DEBUG_ASSERT instead of hiding DEBUG.

Done.

Powered by Google App Engine
This is Rietveld 408576698