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

Issue 824263004: Move the test template to //testing/test.gni (part 2) (Closed)

Created:
5 years, 11 months ago by qsr
Modified:
5 years, 11 months ago
Reviewers:
cjhopman, brettw, tfarina
CC:
chromium-reviews, sadrul, qsr+mojo_chromium.org, zea+watch_chromium.org, viettrungluu+watch_chromium.org, hguihot+watch_chromium.org, jdduke+watch_chromium.org, yzshen+watch_chromium.org, sievers+watch_chromium.org, peter+watch_chromium.org, ben+mojo_chromium.org, danakj+watch_chromium.org, mikhal+watch_chromium.org, tim+watch_chromium.org, extensions-reviews_chromium.org, cbentzel+watch_chromium.org, stevenjb+watch_chromium.org, abarth-chromium, jbauman+watch_chromium.org, pvalenzuela+watch_chromium.org, chromium-apps-reviews_chromium.org, erikwright+watch_chromium.org, ozone-reviews_chromium.org, hubbe+watch_chromium.org, imcheng+watch_chromium.org, tdresser+watch_chromium.org, jasonroberts+watch_google.com, mlamouri+watch-notifications_chromium.org, miu+watch_chromium.org, feature-media-reviews_chromium.org, oshima+watch_chromium.org, kalyank, piman+watch_chromium.org, darin (slow to review), maniscalco+watch_chromium.org, chrome-apps-syd-reviews_chromium.org, hclam+watch_chromium.org, Ian Vollick, wfh+watch_chromium.org, maxbogue+watch_chromium.org, avayvod+watch_chromium.org, pwestin+watch_google.com, Aaron Boodman, tfarina, cc-bugs_chromium.org, jln+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move the test template to //testing/test.gni (part 2) This CL move the test target from build/config/BUILDCONFIG.gn to testing/test.gni It also update the test template to automatically build an apk on Android. R=cjhopman@chromium.org,brettw@chromium.org Committed: https://crrev.com/fb5251d1ff4f36ea296da4be72ddf26a9e3e5643 Cr-Commit-Position: refs/heads/master@{#312396}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Second padd #

Patch Set 3 : Rebasing #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+372 lines, -277 lines) Patch
M ash/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M base/BUILD.gn View 1 2 3 chunks +8 lines, -10 lines 0 comments Download
M breakpad/BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M build/config/BUILDCONFIG.gn View 1 1 chunk +0 lines, -199 lines 0 comments Download
M build/config/android/internal_rules.gni View 1 12 chunks +12 lines, -0 lines 0 comments Download
M build/config/android/rules.gni View 1 21 chunks +22 lines, -0 lines 0 comments Download
M build/secondary/third_party/cacheinvalidation/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M build/secondary/third_party/leveldatabase/BUILD.gn View 1 1 chunk +3 lines, -0 lines 0 comments Download
M cc/BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M cc/blink/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/android/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/perf/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chromeos/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M components/BUILD.gn View 1 2 chunks +2 lines, -0 lines 0 comments Download
M components/proximity_auth/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M courgette/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M crypto/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M dbus/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M extensions/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M gin/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M google_apis/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M google_apis/gcm/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M gpu/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ipc/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ipc/mojo/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M media/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M media/blink/BUILD.gn View 1 1 chunk +3 lines, -0 lines 0 comments Download
M media/cast/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M media/mojo/services/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M mojo/common/BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/converters/surfaces/tests/BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/services/html_viewer/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M mojo/services/view_manager/public/cpp/tests/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M net/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M printing/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M rlz/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M sandbox/linux/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M sandbox/mac/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M sandbox/win/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M skia/BUILD.gn View 1 2 chunks +1 line, -13 lines 0 comments Download
M sql/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M sync/BUILD.gn View 1 3 chunks +1 line, -15 lines 0 comments Download
M testing/test.gni View 1 1 chunk +234 lines, -0 lines 0 comments Download
M third_party/libaddressinput/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/libphonenumber/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/mojo/src/mojo/edk/js/test/BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/mojo/src/mojo/edk/system/BUILD.gn View 1 2 3 chunks +1 line, -18 lines 0 comments Download
M third_party/mojo/src/mojo/edk/test/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M tools/gn/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M tools/gn/format_test_data/030.gn View 1 1 chunk +3 lines, -0 lines 0 comments Download
M tools/relocation_packer/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/accessibility/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/android/BUILD.gn View 1 2 3 2 chunks +2 lines, -9 lines 0 comments Download
M ui/app_list/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ui/base/BUILD.gn View 1 2 3 3 chunks +2 lines, -13 lines 0 comments Download
M ui/chromeos/BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ui/compositor/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/display/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ui/events/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/gfx/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/keyboard/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ui/message_center/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/ozone/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/shell_dialogs/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ui/snapshot/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/touch_selection/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ui/wm/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M url/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 27 (7 generated)
qsr
Chris, Brett, what do you think about this? The main place to look at is ...
5 years, 11 months ago (2015-01-09 13:03:32 UTC) #1
brettw
I will leave Android opinions to Chris. I think moving the test template out is ...
5 years, 11 months ago (2015-01-12 09:13:39 UTC) #2
cjhopman
I think this is fine, I'm not a big fan of all the boilerplate unittest_apk ...
5 years, 11 months ago (2015-01-12 18:36:13 UTC) #3
tfarina
https://codereview.chromium.org/824263004/diff/1/ui/base/BUILD.gn File ui/base/BUILD.gn (left): https://codereview.chromium.org/824263004/diff/1/ui/base/BUILD.gn#oldcode854 ui/base/BUILD.gn:854: #"testing/android/native_test.gyp:native_test_native_code" TODO(GYP) Why this is not necessary anymore? I ...
5 years, 11 months ago (2015-01-12 18:45:00 UTC) #5
qsr
On 2015/01/12 18:36:13, cjhopman wrote: > I think this is fine, I'm not a big ...
5 years, 11 months ago (2015-01-12 18:47:16 UTC) #6
qsr
https://codereview.chromium.org/824263004/diff/1/ui/base/BUILD.gn File ui/base/BUILD.gn (left): https://codereview.chromium.org/824263004/diff/1/ui/base/BUILD.gn#oldcode854 ui/base/BUILD.gn:854: #"testing/android/native_test.gyp:native_test_native_code" TODO(GYP) On 2015/01/12 18:44:59, tfarina wrote: > Why ...
5 years, 11 months ago (2015-01-12 18:48:54 UTC) #7
cjhopman
https://codereview.chromium.org/824263004/diff/1/testing/rules.gni File testing/rules.gni (right): https://codereview.chromium.org/824263004/diff/1/testing/rules.gni#newcode69 testing/rules.gni:69: "//testing/android:native_test_native_code", This is actually the added dependency on //testing, ...
5 years, 11 months ago (2015-01-12 19:10:22 UTC) #8
tfarina
https://codereview.chromium.org/824263004/diff/1/ui/base/BUILD.gn File ui/base/BUILD.gn (left): https://codereview.chromium.org/824263004/diff/1/ui/base/BUILD.gn#oldcode905 ui/base/BUILD.gn:905: # TODO(GYP) Mac (ui_base_tests_bundle) btw, do not remove this ...
5 years, 11 months ago (2015-01-12 19:10:37 UTC) #9
qsr
https://codereview.chromium.org/824263004/diff/1/ui/base/BUILD.gn File ui/base/BUILD.gn (left): https://codereview.chromium.org/824263004/diff/1/ui/base/BUILD.gn#oldcode905 ui/base/BUILD.gn:905: # TODO(GYP) Mac (ui_base_tests_bundle) On 2015/01/12 19:10:37, tfarina wrote: ...
5 years, 11 months ago (2015-01-12 19:15:52 UTC) #10
brettw
Sorry I was confused before when I answered. The fact that this injects a dependency ...
5 years, 11 months ago (2015-01-13 03:27:55 UTC) #11
qsr
Brett, Chris, can you take a look. This seems to be working (needs a change ...
5 years, 11 months ago (2015-01-15 02:05:23 UTC) #12
cjhopman
lgtm
5 years, 11 months ago (2015-01-15 21:03:40 UTC) #13
brettw
lgtm
5 years, 11 months ago (2015-01-20 21:09:31 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/824263004/40001
5 years, 11 months ago (2015-01-21 09:41:05 UTC) #16
commit-bot: I haz the power
Failed to apply patch for ui/wm/BUILD.gn: While running git apply --index -3 -p1; error: patch ...
5 years, 11 months ago (2015-01-21 14:49:41 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/824263004/60001
5 years, 11 months ago (2015-01-21 14:52:25 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/34786)
5 years, 11 months ago (2015-01-21 15:24:49 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/824263004/60001
5 years, 11 months ago (2015-01-21 15:38:46 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 11 months ago (2015-01-21 15:58:07 UTC) #26
commit-bot: I haz the power
5 years, 11 months ago (2015-01-21 15:58:57 UTC) #27
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/fb5251d1ff4f36ea296da4be72ddf26a9e3e5643
Cr-Commit-Position: refs/heads/master@{#312396}

Powered by Google App Engine
This is Rietveld 408576698