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

Issue 1512343002: Remove the //mojo/public/c/system:for_shared_library target. (Closed)

Created:
5 years ago by viettrungluu
Modified:
5 years ago
Reviewers:
jamesr
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, darin (slow to review), gregsimon, mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+mojopublicwatch_chromium.org
Base URL:
https://github.com/domokit/mojo.git@c_system_target_1
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Remove the //mojo/public/c/system:for_shared_library target. I haven't built the targets under //ui/ozone (or don't think I have). However: * The dep in //ui/ozone/demo:ozone_demo is certainly wrong: - Its own files don't need //mojo/public/c/system (or anything from Mojo). - If it "needs" //mojo/public/platform/native:system to build, then one of its dependencies is busted. In particular, depending on .../native:system may allow it to link, but none of the functions would actually work (since ozone_demo is a plain executable). * Similarly, the dep in //ui/ozone/platform/drm:drm_unittests is also wrong: - This needs //mojo/public/c/system (I think). - But depending on .../native:system is similarly broken, since eventually this source_set gets built into a (standalone) test target ("test()", i.e., an executable). R=jamesr@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/1835f7ebdc3e8f43410798fc4e2c809b0bb75c48

Patch Set 1 #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -22 lines) Patch
M examples/tiny/BUILD.gn View 1 chunk +4 lines, -0 lines 1 comment Download
M mojo/public/c/system/BUILD.gn View 1 chunk +0 lines, -10 lines 0 comments Download
M mojo/public/mojo_application.gni View 2 chunks +4 lines, -7 lines 2 comments Download
M services/java_handler/BUILD.gn View 1 chunk +1 line, -1 line 1 comment Download
M services/python/content_handler/BUILD.gn View 2 chunks +2 lines, -2 lines 2 comments Download
M ui/ozone/demo/BUILD.gn View 1 chunk +0 lines, -1 line 1 comment Download
M ui/ozone/platform/drm/BUILD.gn View 1 chunk +1 line, -1 line 1 comment Download

Depends on Patchset:

Messages

Total messages: 11 (1 generated)
viettrungluu
(Dependent on https://codereview.chromium.org/1514763002/.) https://codereview.chromium.org/1512343002/diff/1/mojo/public/mojo_application.gni File mojo/public/mojo_application.gni (left): https://codereview.chromium.org/1512343002/diff/1/mojo/public/mojo_application.gni#oldcode71 mojo/public/mojo_application.gni:71: "mojo/public/c/system", Building the "binary" doesn't need ...
5 years ago (2015-12-10 16:50:06 UTC) #1
viettrungluu
Ping on this one too (but you may have to think about it)....
5 years ago (2015-12-11 01:38:16 UTC) #2
jamesr
ozone / drm test targets are probably buggered. try them in an FNL build - ...
5 years ago (2015-12-11 01:42:29 UTC) #3
jamesr
https://codereview.chromium.org/1512343002/diff/1/examples/tiny/BUILD.gn File examples/tiny/BUILD.gn (right): https://codereview.chromium.org/1512343002/diff/1/examples/tiny/BUILD.gn#newcode13 examples/tiny/BUILD.gn:13: "//mojo/public/c/system", maybe this should be public_deps in the mojo_native_application? ...
5 years ago (2015-12-11 01:44:03 UTC) #4
kulakowski1
On 2015/12/11 01:42:29, jamesr wrote: > ozone / drm test targets are probably buggered. try ...
5 years ago (2015-12-11 01:44:09 UTC) #5
jamesr
I had no issue making a clean fnl checkout somewhere unrelated to my mojo checkout ...
5 years ago (2015-12-11 01:46:02 UTC) #6
viettrungluu
On 2015/12/11 01:44:03, jamesr wrote: > https://codereview.chromium.org/1512343002/diff/1/examples/tiny/BUILD.gn > File examples/tiny/BUILD.gn (right): > > https://codereview.chromium.org/1512343002/diff/1/examples/tiny/BUILD.gn#newcode13 > ...
5 years ago (2015-12-11 01:54:13 UTC) #7
jamesr
Good point. Did you get a chance to test the ozone/drm test targets? rest lgtm ...
5 years ago (2015-12-11 08:48:00 UTC) #8
viettrungluu
On 2015/12/11 08:48:00, jamesr wrote: > Good point. Did you get a chance to test ...
5 years ago (2015-12-11 18:08:48 UTC) #9
viettrungluu
5 years ago (2015-12-11 18:09:05 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
1835f7ebdc3e8f43410798fc4e2c809b0bb75c48 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698