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

Issue 388333003: Add GN build targets for the rest of mojo/public (Closed)

Created:
6 years, 5 months ago by Chris Masone
Modified:
6 years, 5 months ago
Reviewers:
brettw, yzshen1
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

Add GN build targets for the rest of mojo/public BUG=369643 TEST='gn gen out/Debug && ninja -C out/Debug mojo Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283490

Patch Set 1 #

Total comments: 6

Patch Set 2 : add more targets, and handle --exclude-libs=All appropriately #

Total comments: 4

Patch Set 3 : fix deps of application build target #

Total comments: 3

Patch Set 4 : Removed bad rule from public/c/system/BUILD.gn, added java targets #

Patch Set 5 : Add //mojo/bindings/java to mojo group on android builds #

Total comments: 16

Patch Set 6 : Address yzshen's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+167 lines, -6 lines) Patch
M mojo/BUILD.gn View 1 2 3 4 5 1 chunk +7 lines, -4 lines 0 comments Download
A mojo/bindings/java/BUILD.gn View 1 2 3 4 5 1 chunk +24 lines, -0 lines 0 comments Download
M mojo/mojo_public.gypi View 1 2 3 4 6 chunks +6 lines, -0 lines 0 comments Download
A + mojo/public/BUILD.gn View 1 2 3 4 5 1 chunk +12 lines, -2 lines 0 comments Download
A mojo/public/c/system/BUILD.gn View 1 2 3 4 5 1 chunk +28 lines, -0 lines 0 comments Download
A mojo/public/cpp/application/BUILD.gn View 1 2 3 4 5 1 chunk +22 lines, -0 lines 0 comments Download
A mojo/public/cpp/environment/BUILD.gn View 1 1 chunk +18 lines, -0 lines 0 comments Download
A mojo/public/cpp/utility/BUILD.gn View 1 2 3 4 5 1 chunk +28 lines, -0 lines 0 comments Download
A mojo/public/java/BUILD.gn View 1 2 3 4 5 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Chris Masone
Obviously not done yet, but this is the tricky bit and I was hoping for ...
6 years, 5 months ago (2014-07-14 19:43:42 UTC) #1
yzshen1
https://codereview.chromium.org/388333003/diff/1/mojo/public/c/system/BUILD.gn File mojo/public/c/system/BUILD.gn (right): https://codereview.chromium.org/388333003/diff/1/mojo/public/c/system/BUILD.gn#newcode20 mojo/public/c/system/BUILD.gn:20: "../../../public/platform/native/system_thunks.h", I think it should be fine because I ...
6 years, 5 months ago (2014-07-14 19:53:12 UTC) #2
Chris Masone
https://codereview.chromium.org/388333003/diff/1/mojo/public/c/system/BUILD.gn File mojo/public/c/system/BUILD.gn (right): https://codereview.chromium.org/388333003/diff/1/mojo/public/c/system/BUILD.gn#newcode20 mojo/public/c/system/BUILD.gn:20: "../../../public/platform/native/system_thunks.h", On 2014/07/14 19:53:11, yzshen1 wrote: > I think ...
6 years, 5 months ago (2014-07-14 19:58:54 UTC) #3
yzshen1
On 2014/07/14 19:58:54, Chris Masone wrote: > https://codereview.chromium.org/388333003/diff/1/mojo/public/c/system/BUILD.gn > File mojo/public/c/system/BUILD.gn (right): > > https://codereview.chromium.org/388333003/diff/1/mojo/public/c/system/BUILD.gn#newcode20 ...
6 years, 5 months ago (2014-07-14 20:02:01 UTC) #4
Chris Masone
brettw@, can you look at the mods I made to all the stuff under build/config? ...
6 years, 5 months ago (2014-07-14 21:09:57 UTC) #5
yzshen1
https://codereview.chromium.org/388333003/diff/20001/mojo/public/c/system/BUILD.gn File mojo/public/c/system/BUILD.gn (right): https://codereview.chromium.org/388333003/diff/20001/mojo/public/c/system/BUILD.gn#newcode21 mojo/public/c/system/BUILD.gn:21: all_dependent_configs -= [ ":no_export_static_lib_symbols" ] I think this should ...
6 years, 5 months ago (2014-07-14 21:19:40 UTC) #6
Chris Masone
Hm, there seems to be something wrong with my use of all_dependent_configs as well. Brett? ...
6 years, 5 months ago (2014-07-14 21:24:54 UTC) #7
Chris Masone
https://codereview.chromium.org/388333003/diff/20001/mojo/public/cpp/utility/BUILD.gn File mojo/public/cpp/utility/BUILD.gn (right): https://codereview.chromium.org/388333003/diff/20001/mojo/public/cpp/utility/BUILD.gn#newcode22 mojo/public/cpp/utility/BUILD.gn:22: "mutex.h", On 2014/07/14 21:19:39, yzshen1 wrote: > wrong indent. ...
6 years, 5 months ago (2014-07-14 21:38:37 UTC) #8
Chris Masone
https://codereview.chromium.org/388333003/diff/40001/mojo/public/c/system/BUILD.gn File mojo/public/c/system/BUILD.gn (right): https://codereview.chromium.org/388333003/diff/40001/mojo/public/c/system/BUILD.gn#newcode21 mojo/public/c/system/BUILD.gn:21: all_dependent_configs -= [ On 2014/07/14 21:38:37, Chris Masone wrote: ...
6 years, 5 months ago (2014-07-14 21:48:23 UTC) #9
Chris Masone
https://codereview.chromium.org/388333003/diff/40001/mojo/public/c/system/BUILD.gn File mojo/public/c/system/BUILD.gn (right): https://codereview.chromium.org/388333003/diff/40001/mojo/public/c/system/BUILD.gn#newcode21 mojo/public/c/system/BUILD.gn:21: all_dependent_configs -= [ On 2014/07/14 21:48:22, Chris Masone wrote: ...
6 years, 5 months ago (2014-07-15 20:39:22 UTC) #10
yzshen1
A few more nits. Thanks! https://codereview.chromium.org/388333003/diff/80001/mojo/BUILD.gn File mojo/BUILD.gn (right): https://codereview.chromium.org/388333003/diff/80001/mojo/BUILD.gn#newcode7 mojo/BUILD.gn:7: "//mojo/public:mojo_public", Maybe we could ...
6 years, 5 months ago (2014-07-15 21:00:00 UTC) #11
Chris Masone
https://codereview.chromium.org/388333003/diff/80001/mojo/BUILD.gn File mojo/BUILD.gn (right): https://codereview.chromium.org/388333003/diff/80001/mojo/BUILD.gn#newcode7 mojo/BUILD.gn:7: "//mojo/public:mojo_public", On 2014/07/15 20:59:59, yzshen1 wrote: > Maybe we ...
6 years, 5 months ago (2014-07-15 21:11:07 UTC) #12
yzshen1
LGTM Thanks!
6 years, 5 months ago (2014-07-15 21:19:07 UTC) #13
Chris Masone
The CQ bit was checked by cmasone@chromium.org
6 years, 5 months ago (2014-07-16 02:21:56 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cmasone@chromium.org/388333003/100001
6 years, 5 months ago (2014-07-16 02:24:49 UTC) #15
commit-bot: I haz the power
6 years, 5 months ago (2014-07-16 20:35:30 UTC) #16
Message was sent while issue was closed.
Change committed as 283490

Powered by Google App Engine
This is Rietveld 408576698