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

Issue 2497043002: Add GN build rules to allow java_assertion_enabler to enable Java asserts. (Closed)

Created:
4 years, 1 month ago by F
Modified:
4 years, 1 month ago
CC:
chromium-reviews, mikecase+watch_chromium.org, jbudorick+watch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add GN build rules to allow java_assertion_enabler to enable Java asserts. Also modify java_assertion_enabler to resolve cycle dependency issue and empty jar issue. BUG=462676, 665157, 665478 Committed: https://crrev.com/5d3328f05a88be232e11d2ce34bffa64ca2362a5 Cr-Commit-Position: refs/heads/master@{#432521}

Patch Set 1 #

Total comments: 15

Patch Set 2 : Addressing comments #

Total comments: 3

Patch Set 3 : Fixing assert exceptions #

Total comments: 2

Patch Set 4 : Fixing assert exceptions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -72 lines) Patch
M BUILD.gn View 1 1 chunk +1 line, -5 lines 0 comments Download
M build/android/java_assertion_enabler/BUILD.gn View 1 1 chunk +1 line, -2 lines 0 comments Download
M build/android/java_assertion_enabler/java/org/chromium/javaassertionenabler/AssertionEnabler.java View 1 2 3 chunks +54 lines, -27 lines 0 comments Download
M build/config/android/internal_rules.gni View 1 8 chunks +78 lines, -35 lines 0 comments Download
M media/base/android/java/src/org/chromium/media/MediaCodecBridge.java View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M media/midi/java/src/org/chromium/midi/MidiManagerAndroid.java View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/ow2_asm/BUILD.gn View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 40 (24 generated)
F
Hi Andrew & John, PTAL. Thanks!
4 years, 1 month ago (2016-11-11 20:53:31 UTC) #2
agrieve
just nits. Probably a good idea to wait until monday to submit this in case ...
4 years, 1 month ago (2016-11-11 21:30:48 UTC) #3
agrieve
lgtm On 2016/11/11 21:30:48, agrieve wrote: > just nits. Probably a good idea to wait ...
4 years, 1 month ago (2016-11-11 21:31:01 UTC) #4
jbudorick
big +1 to not landing this before Monday. https://codereview.chromium.org/2497043002/diff/1/build/android/java_assertion_enabler/java/org/chromium/javaassertionenabler/AssertionEnabler.java File build/android/java_assertion_enabler/java/org/chromium/javaassertionenabler/AssertionEnabler.java (right): https://codereview.chromium.org/2497043002/diff/1/build/android/java_assertion_enabler/java/org/chromium/javaassertionenabler/AssertionEnabler.java#newcode91 build/android/java_assertion_enabler/java/org/chromium/javaassertionenabler/AssertionEnabler.java:91: try ...
4 years, 1 month ago (2016-11-11 21:50:20 UTC) #9
F
Thanks Andrew & John! PTAL https://codereview.chromium.org/2497043002/diff/1/build/android/java_assertion_enabler/java/org/chromium/javaassertionenabler/AssertionEnabler.java File build/android/java_assertion_enabler/java/org/chromium/javaassertionenabler/AssertionEnabler.java (right): https://codereview.chromium.org/2497043002/diff/1/build/android/java_assertion_enabler/java/org/chromium/javaassertionenabler/AssertionEnabler.java#newcode90 build/android/java_assertion_enabler/java/org/chromium/javaassertionenabler/AssertionEnabler.java:90: String tempJarPath = inputJarPath ...
4 years, 1 month ago (2016-11-14 18:43:44 UTC) #12
agrieve
lgtm /w one nit https://codereview.chromium.org/2497043002/diff/20001/BUILD.gn File BUILD.gn (left): https://codereview.chromium.org/2497043002/diff/20001/BUILD.gn#oldcode857 BUILD.gn:857: "//build/android/incremental_install:bootstrap_java", note: I said this ...
4 years, 1 month ago (2016-11-14 19:00:57 UTC) #13
F
Thanks Andrew & John! PTAL Hi Takashi, PTAL. Thanks! https://codereview.chromium.org/2497043002/diff/20001/build/android/java_assertion_enabler/java/org/chromium/javaassertionenabler/AssertionEnabler.java File build/android/java_assertion_enabler/java/org/chromium/javaassertionenabler/AssertionEnabler.java (right): https://codereview.chromium.org/2497043002/diff/20001/build/android/java_assertion_enabler/java/org/chromium/javaassertionenabler/AssertionEnabler.java#newcode121 build/android/java_assertion_enabler/java/org/chromium/javaassertionenabler/AssertionEnabler.java:121: ...
4 years, 1 month ago (2016-11-14 22:01:38 UTC) #18
Takashi Toyoshima
https://codereview.chromium.org/2497043002/diff/40001/media/midi/java/src/org/chromium/midi/MidiManagerAndroid.java File media/midi/java/src/org/chromium/midi/MidiManagerAndroid.java (right): https://codereview.chromium.org/2497043002/diff/40001/media/midi/java/src/org/chromium/midi/MidiManagerAndroid.java#newcode70 media/midi/java/src/org/chromium/midi/MidiManagerAndroid.java:70: // TODO(crbug.com/665157) Sorry, I don't have much background about ...
4 years, 1 month ago (2016-11-14 23:01:11 UTC) #20
Takashi Toyoshima
LGTM. But, can you also add 665157 to the BUG= line? https://codereview.chromium.org/2497043002/diff/40001/media/midi/java/src/org/chromium/midi/MidiManagerAndroid.java File media/midi/java/src/org/chromium/midi/MidiManagerAndroid.java (right): ...
4 years, 1 month ago (2016-11-15 06:38:20 UTC) #23
F
Thanks Andrew, John, and Takashi! PTAL Hi Min, PTAL. Thanks!
4 years, 1 month ago (2016-11-15 16:56:21 UTC) #28
qinmin
lgtm
4 years, 1 month ago (2016-11-15 22:37:43 UTC) #31
jbudorick
lgtm
4 years, 1 month ago (2016-11-16 16:02:55 UTC) #32
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/2497043002/60001
4 years, 1 month ago (2016-11-16 16:50:00 UTC) #35
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-11-16 16:55:40 UTC) #37
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/5d3328f05a88be232e11d2ce34bffa64ca2362a5 Cr-Commit-Position: refs/heads/master@{#432521}
4 years, 1 month ago (2016-11-16 17:18:02 UTC) #39
F
4 years, 1 month ago (2016-11-16 18:22:20 UTC) #40
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/2507153002/ by zpeng@chromium.org.

The reason for reverting is: Broke arm64 builder:
https://build.chromium.org/p/chromium.android/builders/Android%20Cronet%20ARM....

Powered by Google App Engine
This is Rietveld 408576698