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

Issue 494523004: GN: Build rules and fixes for (almost) all mojo unittest targets (Closed)

Created:
6 years, 4 months ago by jamesr
Modified:
6 years, 4 months ago
Reviewers:
viettrungluu
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Project:
chromium
Visibility:
Public.

Description

GN: Build rules and fixes for (almost) all mojo unittest targets This writes GN rules for all mojo unittests except for the ones that depend on view_manager which doesn't have GN build rules yet. This also fixes up a few deps in the gyp rules such as targets unnecessarily depending on mojo_cpp_bindings or base. R=viettrungluu@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291022

Patch Set 1 #

Total comments: 1

Patch Set 2 : less .. #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+525 lines, -76 lines) Patch
M mojo/BUILD.gn View 1 1 chunk +17 lines, -0 lines 0 comments Download
M mojo/application_manager/BUILD.gn View 1 2 chunks +27 lines, -0 lines 0 comments Download
A + mojo/apps/js/BUILD.gn View 1 chunk +11 lines, -9 lines 0 comments Download
A mojo/apps/js/bindings/BUILD.gn View 1 chunk +20 lines, -0 lines 0 comments Download
A + mojo/apps/js/bindings/gl/BUILD.gn View 1 chunk +11 lines, -7 lines 0 comments Download
A mojo/apps/js/test/BUILD.gn View 1 chunk +27 lines, -0 lines 0 comments Download
M mojo/common/BUILD.gn View 1 chunk +24 lines, -0 lines 0 comments Download
A mojo/common/test/BUILD.gn View 1 chunk +47 lines, -0 lines 0 comments Download
A mojo/embedder/BUILD.gn View 1 chunk +69 lines, -0 lines 0 comments Download
M mojo/mojo.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M mojo/mojo_apps.gypi View 2 chunks +4 lines, -0 lines 0 comments Download
M mojo/mojo_base.gyp View 5 chunks +5 lines, -0 lines 0 comments Download
M mojo/mojo_public_tests.gypi View 1 2 10 chunks +13 lines, -5 lines 0 comments Download
M mojo/mojo_services.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
A mojo/public/c/system/tests/BUILD.gn View 1 1 chunk +17 lines, -0 lines 0 comments Download
A mojo/public/c/test_support/BUILD.gn View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
A mojo/public/cpp/application/tests/BUILD.gn View 1 chunk +17 lines, -0 lines 0 comments Download
A mojo/public/cpp/bindings/tests/BUILD.gn View 1 chunk +35 lines, -0 lines 0 comments Download
A mojo/public/cpp/environment/tests/BUILD.gn View 1 1 chunk +20 lines, -0 lines 0 comments Download
A mojo/public/cpp/system/tests/BUILD.gn View 1 1 chunk +18 lines, -0 lines 0 comments Download
A + mojo/public/cpp/test_support/BUILD.gn View 1 chunk +7 lines, -15 lines 0 comments Download
A mojo/public/cpp/utility/tests/BUILD.gn View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
A mojo/public/js/bindings/tests/BUILD.gn View 1 chunk +17 lines, -0 lines 0 comments Download
A mojo/services/public/cpp/surfaces/tests/BUILD.gn View 1 chunk +27 lines, -0 lines 0 comments Download
M mojo/system/BUILD.gn View 2 chunks +47 lines, -40 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
jamesr
6 years, 4 months ago (2014-08-20 00:47:55 UTC) #1
viettrungluu
https://codereview.chromium.org/494523004/diff/1/mojo/public/cpp/environment/tests/BUILD.gn File mojo/public/cpp/environment/tests/BUILD.gn (right): https://codereview.chromium.org/494523004/diff/1/mojo/public/cpp/environment/tests/BUILD.gn#newcode15 mojo/public/cpp/environment/tests/BUILD.gn:15: include_dirs = [ "../../../../.." ] Is there a way ...
6 years, 4 months ago (2014-08-20 16:44:45 UTC) #2
jamesr
On 2014/08/20 16:44:45, viettrungluu wrote: > https://codereview.chromium.org/494523004/diff/1/mojo/public/cpp/environment/tests/BUILD.gn > File mojo/public/cpp/environment/tests/BUILD.gn (right): > > https://codereview.chromium.org/494523004/diff/1/mojo/public/cpp/environment/tests/BUILD.gn#newcode15 > ...
6 years, 4 months ago (2014-08-20 16:45:33 UTC) #3
jamesr
Don't need those at all as it turns out. PTAL.
6 years, 4 months ago (2014-08-20 19:19:14 UTC) #4
viettrungluu
LGTM w/foo. https://codereview.chromium.org/494523004/diff/20001/mojo/public/c/test_support/BUILD.gn File mojo/public/c/test_support/BUILD.gn (right): https://codereview.chromium.org/494523004/diff/20001/mojo/public/c/test_support/BUILD.gn#newcode14 mojo/public/c/test_support/BUILD.gn:14: "../../tests/test_support_private.cc", Could you add a "TODO(vtl): crbug.com/386799" ...
6 years, 4 months ago (2014-08-20 19:52:51 UTC) #5
jamesr
The CQ bit was checked by jamesr@chromium.org
6 years, 4 months ago (2014-08-20 20:35:22 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/494523004/40001
6 years, 4 months ago (2014-08-20 20:37:36 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-21 01:03:07 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-21 01:07:07 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/55383)
6 years, 4 months ago (2014-08-21 01:07:09 UTC) #10
jamesr
The CQ bit was checked by jamesr@chromium.org
6 years, 4 months ago (2014-08-21 03:54:36 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/494523004/40001
6 years, 4 months ago (2014-08-21 03:56:24 UTC) #12
commit-bot: I haz the power
6 years, 4 months ago (2014-08-21 08:35:37 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (40001) as 291022

Powered by Google App Engine
This is Rietveld 408576698