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

Issue 1975153003: Enable NativeActivity based Android tests. (Closed)

Created:
4 years, 7 months ago by ynovikov
Modified:
4 years, 6 months ago
CC:
chromium-reviews, jbudorick+watch_chromium.org, mikecase+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable NativeActivity based Android tests. ANGLE Android tests use native OpenGL ES rendering, and require NativeActivity to provide the rendering surface. Existing tests should keep using Activity, as they don't implement ANativeActivity_onCreate(). BUG=angleproject:1362 TEST=Compile angle_end2end_tests Committed: https://crrev.com/389d9e445c27af560f0d370a2f9f3c69b0dd812d Cr-Commit-Position: refs/heads/master@{#396361}

Patch Set 1 #

Patch Set 2 : #

Total comments: 24

Patch Set 3 : #

Total comments: 13

Patch Set 4 : #

Total comments: 6

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -303 lines) Patch
M build/android/pylib/gtest/gtest_test_instance.py View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M build/android/pylib/local/device/local_device_gtest_run.py View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M build/android/pylib/remote/device/remote_device_gtest_run.py View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M build/config/android/rules.gni View 1 2 3 4 4 chunks +36 lines, -10 lines 0 comments Download
M testing/android/native_test/BUILD.gn View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
D testing/android/native_test/java/AndroidManifest.xml View 1 chunk +0 lines, -41 lines 0 comments Download
A + testing/android/native_test/java/AndroidManifest.xml.jinja2 View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download
M testing/android/native_test/java/src/org/chromium/native_test/NativeBrowserTestActivity.java View 1 2 3 4 chunks +11 lines, -2 lines 0 comments Download
A + testing/android/native_test/java/src/org/chromium/native_test/NativeTest.java View 1 2 3 4 4 chunks +23 lines, -28 lines 0 comments Download
D testing/android/native_test/java/src/org/chromium/native_test/NativeTestActivity.java View 1 1 chunk +0 lines, -176 lines 0 comments Download
M testing/android/native_test/java/src/org/chromium/native_test/NativeTestInstrumentationTestRunner.java View 1 2 3 4 5 3 chunks +4 lines, -4 lines 0 comments Download
A + testing/android/native_test/java/src/org/chromium/native_test/NativeUnitTest.java View 1 2 3 2 chunks +11 lines, -10 lines 0 comments Download
M testing/android/native_test/java/src/org/chromium/native_test/NativeUnitTestActivity.java View 1 2 3 1 chunk +9 lines, -25 lines 0 comments Download
A testing/android/native_test/java/src/org/chromium/native_test/NativeUnitTestNativeActivity.java View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download
M testing/android/native_test/native_test_launcher.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M testing/test.gni View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 46 (15 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1975153003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1975153003/1
4 years, 7 months ago (2016-05-14 03:19:22 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/70447)
4 years, 7 months ago (2016-05-14 03:35:26 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1975153003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1975153003/20001
4 years, 7 months ago (2016-05-18 20:30:00 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-18 22:21:13 UTC) #8
ynovikov
4 years, 7 months ago (2016-05-18 23:09:48 UTC) #10
agrieve
https://codereview.chromium.org/1975153003/diff/20001/build/apk_test.gypi File build/apk_test.gypi (right): https://codereview.chromium.org/1975153003/diff/20001/build/apk_test.gypi#newcode30 build/apk_test.gypi:30: ['OS == "android"', { I don't think we need ...
4 years, 7 months ago (2016-05-19 00:42:51 UTC) #11
ynovikov
https://codereview.chromium.org/1975153003/diff/20001/build/apk_test.gypi File build/apk_test.gypi (right): https://codereview.chromium.org/1975153003/diff/20001/build/apk_test.gypi#newcode30 build/apk_test.gypi:30: ['OS == "android"', { On 2016/05/19 00:42:50, agrieve wrote: ...
4 years, 7 months ago (2016-05-20 02:38:11 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1975153003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1975153003/40001
4 years, 7 months ago (2016-05-20 02:38:41 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-20 04:11:53 UTC) #16
agrieve
lgtm but rebase required. https://codereview.chromium.org/1975153003/diff/20001/build/config/android/internal_rules.gni File build/config/android/internal_rules.gni (right): https://codereview.chromium.org/1975153003/diff/20001/build/config/android/internal_rules.gni#newcode1793 build/config/android/internal_rules.gni:1793: if (defined(invoker.java_deps)) { On 2016/05/20 ...
4 years, 7 months ago (2016-05-20 14:13:04 UTC) #17
agrieve
dpranke@chromium.org: Please review changes in test.gni
4 years, 7 months ago (2016-05-20 14:13:44 UTC) #19
Yaron
https://codereview.chromium.org/1975153003/diff/40001/testing/android/native_test/BUILD.gn File testing/android/native_test/BUILD.gn (right): https://codereview.chromium.org/1975153003/diff/40001/testing/android/native_test/BUILD.gn#newcode38 testing/android/native_test/BUILD.gn:38: jinja_template("native_test_activity") { rename native_test_java_activity to help make it clearer ...
4 years, 7 months ago (2016-05-20 14:39:54 UTC) #20
agrieve
https://codereview.chromium.org/1975153003/diff/40001/testing/android/native_test/java/src/org/chromium/native_test/NativeUnitTestActivity.java File testing/android/native_test/java/src/org/chromium/native_test/NativeUnitTestActivity.java (right): https://codereview.chromium.org/1975153003/diff/40001/testing/android/native_test/java/src/org/chromium/native_test/NativeUnitTestActivity.java#newcode22 testing/android/native_test/java/src/org/chromium/native_test/NativeUnitTestActivity.java:22: // dependency libraries must be loaded before NativeActivity::OnCreate On ...
4 years, 7 months ago (2016-05-20 15:43:16 UTC) #21
ynovikov
https://codereview.chromium.org/1975153003/diff/40001/testing/android/native_test/java/src/org/chromium/native_test/NativeUnitTestActivity.java File testing/android/native_test/java/src/org/chromium/native_test/NativeUnitTestActivity.java (right): https://codereview.chromium.org/1975153003/diff/40001/testing/android/native_test/java/src/org/chromium/native_test/NativeUnitTestActivity.java#newcode22 testing/android/native_test/java/src/org/chromium/native_test/NativeUnitTestActivity.java:22: // dependency libraries must be loaded before NativeActivity::OnCreate On ...
4 years, 7 months ago (2016-05-20 17:07:38 UTC) #22
Dirk Pranke
//testing lgtm. https://codereview.chromium.org/1975153003/diff/40001/build/config/android/rules.gni File build/config/android/rules.gni (right): https://codereview.chromium.org/1975153003/diff/40001/build/config/android/rules.gni#newcode2134 build/config/android/rules.gni:2134: # This trivial assert is needed in ...
4 years, 7 months ago (2016-05-20 17:18:41 UTC) #23
Yaron
https://codereview.chromium.org/1975153003/diff/40001/testing/android/native_test/java/src/org/chromium/native_test/NativeUnitTestActivity.java File testing/android/native_test/java/src/org/chromium/native_test/NativeUnitTestActivity.java (right): https://codereview.chromium.org/1975153003/diff/40001/testing/android/native_test/java/src/org/chromium/native_test/NativeUnitTestActivity.java#newcode22 testing/android/native_test/java/src/org/chromium/native_test/NativeUnitTestActivity.java:22: // dependency libraries must be loaded before NativeActivity::OnCreate On ...
4 years, 7 months ago (2016-05-20 17:54:42 UTC) #24
ynovikov
https://codereview.chromium.org/1975153003/diff/20001/build/config/android/internal_rules.gni File build/config/android/internal_rules.gni (right): https://codereview.chromium.org/1975153003/diff/20001/build/config/android/internal_rules.gni#newcode1793 build/config/android/internal_rules.gni:1793: if (defined(invoker.java_deps)) { On 2016/05/20 14:13:04, agrieve wrote: > ...
4 years, 7 months ago (2016-05-26 03:16:16 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1975153003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1975153003/60001
4 years, 7 months ago (2016-05-26 03:17:54 UTC) #27
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-26 04:29:42 UTC) #29
commit-bot: I haz the power
Dry run: None
4 years, 7 months ago (2016-05-26 04:29:48 UTC) #30
Yaron
So this structure now looks better to me but jbudorick should really review. Also taking ...
4 years, 7 months ago (2016-05-26 15:01:40 UTC) #32
ynovikov
https://codereview.chromium.org/1975153003/diff/60001/testing/android/native_test/java/src/org/chromium/native_test/NativeTest.java File testing/android/native_test/java/src/org/chromium/native_test/NativeTest.java (right): https://codereview.chromium.org/1975153003/diff/60001/testing/android/native_test/java/src/org/chromium/native_test/NativeTest.java#newcode31 testing/android/native_test/java/src/org/chromium/native_test/NativeTest.java:31: "org.chromium.native_test.NativeTestActivity.CommandLineFile"; On 2016/05/26 15:01:39, Yaron (OOO until June 27) ...
4 years, 7 months ago (2016-05-26 19:07:11 UTC) #33
jbudorick
https://codereview.chromium.org/1975153003/diff/60001/testing/android/native_test/java/src/org/chromium/native_test/NativeTest.java File testing/android/native_test/java/src/org/chromium/native_test/NativeTest.java (right): https://codereview.chromium.org/1975153003/diff/60001/testing/android/native_test/java/src/org/chromium/native_test/NativeTest.java#newcode31 testing/android/native_test/java/src/org/chromium/native_test/NativeTest.java:31: "org.chromium.native_test.NativeTestActivity.CommandLineFile"; On 2016/05/26 19:07:11, ynovikov wrote: > On 2016/05/26 ...
4 years, 7 months ago (2016-05-26 20:59:11 UTC) #34
ynovikov
https://codereview.chromium.org/1975153003/diff/60001/testing/android/native_test/java/src/org/chromium/native_test/NativeTest.java File testing/android/native_test/java/src/org/chromium/native_test/NativeTest.java (right): https://codereview.chromium.org/1975153003/diff/60001/testing/android/native_test/java/src/org/chromium/native_test/NativeTest.java#newcode31 testing/android/native_test/java/src/org/chromium/native_test/NativeTest.java:31: "org.chromium.native_test.NativeTestActivity.CommandLineFile"; On 2016/05/26 20:59:10, jbudorick wrote: > On 2016/05/26 ...
4 years, 7 months ago (2016-05-26 21:43:17 UTC) #35
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1975153003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1975153003/80001
4 years, 7 months ago (2016-05-26 21:43:58 UTC) #37
jbudorick
lgtm w/ nit https://codereview.chromium.org/1975153003/diff/80001/testing/android/native_test/java/src/org/chromium/native_test/NativeTestInstrumentationTestRunner.java File testing/android/native_test/java/src/org/chromium/native_test/NativeTestInstrumentationTestRunner.java (right): https://codereview.chromium.org/1975153003/diff/80001/testing/android/native_test/java/src/org/chromium/native_test/NativeTestInstrumentationTestRunner.java#newcode235 testing/android/native_test/java/src/org/chromium/native_test/NativeTestInstrumentationTestRunner.java:235: /** Starts the NativeTest. nit: this ...
4 years, 7 months ago (2016-05-26 23:43:47 UTC) #38
commit-bot: I haz the power
Dry run: None
4 years, 7 months ago (2016-05-27 00:13:56 UTC) #39
ynovikov
https://codereview.chromium.org/1975153003/diff/80001/testing/android/native_test/java/src/org/chromium/native_test/NativeTestInstrumentationTestRunner.java File testing/android/native_test/java/src/org/chromium/native_test/NativeTestInstrumentationTestRunner.java (right): https://codereview.chromium.org/1975153003/diff/80001/testing/android/native_test/java/src/org/chromium/native_test/NativeTestInstrumentationTestRunner.java#newcode235 testing/android/native_test/java/src/org/chromium/native_test/NativeTestInstrumentationTestRunner.java:235: /** Starts the NativeTest. On 2016/05/26 23:43:46, jbudorick wrote: ...
4 years, 7 months ago (2016-05-27 00:15:11 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1975153003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1975153003/100001
4 years, 7 months ago (2016-05-27 00:16:17 UTC) #43
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 6 months ago (2016-05-27 02:35:14 UTC) #44
commit-bot: I haz the power
4 years, 6 months ago (2016-05-27 02:36:29 UTC) #46
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/389d9e445c27af560f0d370a2f9f3c69b0dd812d
Cr-Commit-Position: refs/heads/master@{#396361}

Powered by Google App Engine
This is Rietveld 408576698