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

Issue 1953503004: mojo: make libmojo_public_test_support a static library. (Closed)

Created:
4 years, 7 months ago by krasin
Modified:
4 years, 7 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mojo: make libmojo_public_test_support a static library. The plan is to eventually get rid of it completely, but for now, we want to remove ODR violations related to MOJO_TEST_SUPPORT_EXPORT macro in non-components build. BUG=609564, 515347 Committed: https://crrev.com/7b2368d72cd3c3fe3236ce679ed5adda380760f2 Cr-Commit-Position: refs/heads/master@{#392180}

Patch Set 1 #

Total comments: 1

Patch Set 2 : fix gyp #

Patch Set 3 : update mojo.isolate #

Patch Set 4 : Remove mojo.isolate + MOJO_TEST_SUPPORT_EXPORT #

Patch Set 5 : Remove MOJO_TEST_SUPPORT_EXPORT leftover #

Patch Set 6 : clean mojo/common/BUILD.gn #

Patch Set 7 : Include base.isolate from mojo_common_unittests.isolate #

Patch Set 8 : base.isolate for all #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -115 lines) Patch
M mojo/common/BUILD.gn View 1 2 3 4 5 2 chunks +0 lines, -12 lines 0 comments Download
M mojo/mojo.isolate View 1 2 3 1 chunk +0 lines, -31 lines 0 comments Download
M mojo/mojo_common_unittests.isolate View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M mojo/mojo_js_integration_tests.isolate View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M mojo/mojo_js_unittests.isolate View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M mojo/mojo_public.gyp View 1 2 3 2 chunks +1 line, -17 lines 0 comments Download
M mojo/mojo_public_bindings_unittests.isolate View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M mojo/mojo_public_system_unittests.isolate View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M mojo/mojo_system_unittests.isolate View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/c/test_support/BUILD.gn View 1 2 3 1 chunk +2 lines, -11 lines 0 comments Download
M mojo/public/c/test_support/test_support.h View 1 2 3 3 chunks +2 lines, -5 lines 0 comments Download
D mojo/public/c/test_support/test_support_export.h View 1 2 3 1 chunk +0 lines, -26 lines 0 comments Download
M mojo/public/tests/test_support_private.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M services/shell/mojo_shell_unittests.isolate View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M tools/cfi/blacklist.txt View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 40 (11 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/1953503004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1953503004/1
4 years, 7 months ago (2016-05-05 22:17:22 UTC) #2
krasin
4 years, 7 months ago (2016-05-05 22:18:34 UTC) #4
Ken Rockot(use gerrit already)
You'll want to remove the SO from isolate configs as well. For now you could ...
4 years, 7 months ago (2016-05-05 22:21:19 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/165880) mac_chromium_compile_dbg_ng on ...
4 years, 7 months ago (2016-05-05 22:21:50 UTC) #7
Ken Rockot(use gerrit already)
https://codereview.chromium.org/1953503004/diff/1/mojo/mojo_public.gyp File mojo/mojo_public.gyp (right): https://codereview.chromium.org/1953503004/diff/1/mojo/mojo_public.gyp#newcode353 mojo/mojo_public.gyp:353: 'type': 'static_library', move this outside of the conditions block
4 years, 7 months ago (2016-05-05 22:22:31 UTC) #9
krasin
> move this outside of the conditions block Done. Sorry, should have run 'gclient runhooks' ...
4 years, 7 months ago (2016-05-05 22:23:56 UTC) #10
Ken Rockot(use gerrit already)
On 2016/05/05 at 22:23:56, krasin wrote: > > move this outside of the conditions block ...
4 years, 7 months ago (2016-05-05 22:27:01 UTC) #11
krasin
> Still need to update mojo/mojo.isolate too Thanks. Done.
4 years, 7 months ago (2016-05-05 22:31:26 UTC) #12
Ken Rockot(use gerrit already)
sorry, i should have been more specific. the isolate file specifies runtime dependencies which need ...
4 years, 7 months ago (2016-05-05 22:32:43 UTC) #13
Ken Rockot(use gerrit already)
On 2016/05/05 at 22:32:43, Ken Rockot wrote: > sorry, i should have been more specific. ...
4 years, 7 months ago (2016-05-05 22:33:29 UTC) #14
krasin
Done. I've opened my eyes a little bit wider, and deleted not only mojo.isolate, but ...
4 years, 7 months ago (2016-05-06 01:02:40 UTC) #15
Ken Rockot(use gerrit already)
lgtm Thanks!
4 years, 7 months ago (2016-05-06 01:06:35 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1953503004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1953503004/80001
4 years, 7 months ago (2016-05-06 01:10:12 UTC) #18
krasin
Thank you for your guidance. I am not really familiar with mojo, and would be ...
4 years, 7 months ago (2016-05-06 01:10:49 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/178618)
4 years, 7 months ago (2016-05-06 01:18:02 UTC) #21
krasin1
Presubmit bot, because I created CL from @google.com, not @chromium.org, and it's krasin@chromium.org is an ...
4 years, 7 months ago (2016-05-06 01:20:22 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1953503004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1953503004/80001
4 years, 7 months ago (2016-05-06 01:20:56 UTC) #24
krasin
Boo. Windows bot has mojo tests broken, see https://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/217262/ Failures look the following: Failed to ...
4 years, 7 months ago (2016-05-06 01:45:22 UTC) #25
krasin
Interestingly, the failure is limited to 32-bit bot. The 64-bit bot is just fine with ...
4 years, 7 months ago (2016-05-06 01:51:44 UTC) #26
Ken Rockot(use gerrit already)
That's... Odd. I don't understand the error at all. Maybe I should just try deleting ...
4 years, 7 months ago (2016-05-06 01:55:02 UTC) #27
krasin
Possibly. Anyway, let's wait for the second try job for that bot to run these ...
4 years, 7 months ago (2016-05-06 01:56:53 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/217262)
4 years, 7 months ago (2016-05-06 02:42:36 UTC) #30
krasin
So, these windows failures. They only happen on 32-bit Windows 7, and dbg vs rel ...
4 years, 7 months ago (2016-05-06 17:41:02 UTC) #31
krasin
My current guess is that I accidentally removed transitive dependency on base/base.isolate, that has to ...
4 years, 7 months ago (2016-05-06 18:39:24 UTC) #32
krasin
Okay, now windows bots are fixed. The guess about base.isolate was correct. Will try to ...
4 years, 7 months ago (2016-05-06 20:50:42 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1953503004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1953503004/140001
4 years, 7 months ago (2016-05-06 20:51:10 UTC) #36
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 7 months ago (2016-05-06 22:20:35 UTC) #37
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/7b2368d72cd3c3fe3236ce679ed5adda380760f2 Cr-Commit-Position: refs/heads/master@{#392180}
4 years, 7 months ago (2016-05-06 22:23:28 UTC) #39
krasin1
4 years, 7 months ago (2016-05-07 00:27:44 UTC) #40
Message was sent while issue was closed.
A revert of this CL (patchset #8 id:140001) has been created in
https://codereview.chromium.org/1960703004/ by krasin@chromium.org.

The reason for reverting is: Broke official builds.

BUG=610020.

Powered by Google App Engine
This is Rietveld 408576698