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

Issue 10399126: Add APK targets for content_unittests and net_unittests. (Closed)

Created:
8 years, 7 months ago by nilesh
Modified:
8 years, 7 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, cbentzel+watch_chromium.org, jochen+watch-content_chromium.org
Visibility:
Public.

Description

Add APK targets for content_unittests and net_unittests. - Add a gyp template to simplify adding new targets. - Add support for multiple jars in the test APK. BUG=125059 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=139106

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Created a template and used it in all the build rules. #

Patch Set 4 : #

Total comments: 17

Patch Set 5 : Addressed comments. #

Patch Set 6 : Addressed nit #

Total comments: 8

Patch Set 7 : Added dependency on input jars, other minor issues fixed. #

Total comments: 2

Patch Set 8 : #

Patch Set 9 : Check for no jars specified in generate_native_test.py #

Total comments: 6

Patch Set 10 : Fixed order of dependencies. #

Patch Set 11 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -109 lines) Patch
M base/base.gyp View 1 2 3 4 5 6 7 8 9 2 chunks +10 lines, -37 lines 0 comments Download
A build/apk_test.gypi View 1 2 3 4 5 6 7 1 chunk +55 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 3 chunks +31 lines, -1 line 0 comments Download
M ipc/ipc.gyp View 1 2 3 4 5 6 7 8 9 2 chunks +10 lines, -33 lines 0 comments Download
M net/net.gyp View 1 2 3 4 5 6 7 8 9 10 4 chunks +32 lines, -2 lines 0 comments Download
M testing/android/generate_native_test.py View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -3 lines 0 comments Download
M ui/ui_unittests.gypi View 1 2 3 4 5 6 7 8 9 2 chunks +10 lines, -33 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
nilesh
8 years, 7 months ago (2012-05-22 17:31:16 UTC) #1
Yaron
http://codereview.chromium.org/10399126/diff/2001/build/android/gtest_filter/content_unittests_disabled File build/android/gtest_filter/content_unittests_disabled (right): http://codereview.chromium.org/10399126/diff/2001/build/android/gtest_filter/content_unittests_disabled#newcode45 build/android/gtest_filter/content_unittests_disabled:45: ChromeAppCacheServiceTest.* Have you looked into why these fail? http://codereview.chromium.org/10399126/diff/2001/net/net.gyp ...
8 years, 7 months ago (2012-05-22 17:35:55 UTC) #2
nilesh
http://codereview.chromium.org/10399126/diff/2001/build/android/gtest_filter/content_unittests_disabled File build/android/gtest_filter/content_unittests_disabled (right): http://codereview.chromium.org/10399126/diff/2001/build/android/gtest_filter/content_unittests_disabled#newcode45 build/android/gtest_filter/content_unittests_disabled:45: ChromeAppCacheServiceTest.* On 2012/05/22 17:35:55, Yaron wrote: > Have you ...
8 years, 7 months ago (2012-05-22 21:01:01 UTC) #3
Yaron
lgtm but adding Ryan to comment on this. It's a little strange that content_unittests and ...
8 years, 7 months ago (2012-05-23 00:17:55 UTC) #4
Ryan Sleevi
yaron: Why would you do that to poor nilesh? :-) GYP comments below... http://codereview.chromium.org/10399126/diff/5002/build/apk_test.gypi File ...
8 years, 7 months ago (2012-05-23 01:00:45 UTC) #5
nilesh
Thanks for the detailed review. PTAL. http://codereview.chromium.org/10399126/diff/5002/build/apk_test.gypi File build/apk_test.gypi (right): http://codereview.chromium.org/10399126/diff/5002/build/apk_test.gypi#newcode27 build/apk_test.gypi:27: 'actions': [ On ...
8 years, 7 months ago (2012-05-23 22:45:20 UTC) #6
Ryan Sleevi
You probably want to double check this works before committing it, but I think you ...
8 years, 7 months ago (2012-05-23 23:09:24 UTC) #7
nilesh
Adding OWNERS now. Thanks for the review again. I have verified this works locally and ...
8 years, 7 months ago (2012-05-23 23:55:40 UTC) #8
nilesh
8 years, 7 months ago (2012-05-23 23:58:13 UTC) #9
Ryan Sleevi
http://codereview.chromium.org/10399126/diff/12003/build/apk_test.gypi File build/apk_test.gypi (right): http://codereview.chromium.org/10399126/diff/12003/build/apk_test.gypi#newcode25 build/apk_test.gypi:25: ['OS == "android" and "<(gtest_target_type)" == "shared_library"', { Looks ...
8 years, 7 months ago (2012-05-23 23:58:33 UTC) #10
nilesh
http://codereview.chromium.org/10399126/diff/12003/build/apk_test.gypi File build/apk_test.gypi (right): http://codereview.chromium.org/10399126/diff/12003/build/apk_test.gypi#newcode25 build/apk_test.gypi:25: ['OS == "android" and "<(gtest_target_type)" == "shared_library"', { On ...
8 years, 7 months ago (2012-05-24 00:05:34 UTC) #11
Yaron
On 2012/05/24 00:05:34, nileshagrawal1 wrote: > http://codereview.chromium.org/10399126/diff/12003/build/apk_test.gypi > File build/apk_test.gypi (right): > > http://codereview.chromium.org/10399126/diff/12003/build/apk_test.gypi#newcode25 > ...
8 years, 7 months ago (2012-05-24 01:15:32 UTC) #12
nilesh
8 years, 7 months ago (2012-05-24 06:56:20 UTC) #13
Ryan Sleevi
You may want to mention to the OWNERS that you were waiting review ;-) That ...
8 years, 7 months ago (2012-05-24 10:11:15 UTC) #14
nilesh
Darin/Scott, Please take a look. I need your approval for OWNERS. Thanks. http://codereview.chromium.org/10399126/diff/29001/content/content_tests.gypi File content/content_tests.gypi ...
8 years, 7 months ago (2012-05-24 16:56:22 UTC) #15
sky
LGTM
8 years, 7 months ago (2012-05-24 17:34:04 UTC) #16
nilesh
@John: Can you please look at the content/ and ipc/ gyp changes. @jar: Can you ...
8 years, 7 months ago (2012-05-24 21:10:44 UTC) #17
jam
On 2012/05/24 21:10:44, nileshagrawal1 wrote: > @John: Can you please look at the content/ and ...
8 years, 7 months ago (2012-05-24 21:51:27 UTC) #18
jar (doing other things)
Mark Mentovai would be a much better reviewer for the gyp changes (to base) than ...
8 years, 7 months ago (2012-05-25 17:26:12 UTC) #19
Mark Mentovai
LGTM for base OWNERS approval.
8 years, 7 months ago (2012-05-25 17:44:00 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nileshagrawal@chromium.org/10399126/35001
8 years, 7 months ago (2012-05-25 17:50:02 UTC) #21
commit-bot: I haz the power
8 years, 7 months ago (2012-05-25 20:17:52 UTC) #22
Change committed as 139106

Powered by Google App Engine
This is Rietveld 408576698