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

Issue 221993002: Split content_shell dependencies for layout tests. (Closed)

Created:
6 years, 8 months ago by Primiano Tucci (use gerrit)
Modified:
6 years, 8 months ago
Reviewers:
jam
CC:
chromium-reviews, darin-cc_chromium.org, jam, rmcilroy, bulach, jochen (gone - plz use gerrit)
Visibility:
Public.

Description

Split content_shell dependencies for layout tests. This CL is isolating the minimum dependencies required to make layout tests work in content_shell without requiring it to depend on the entire test_support_content_target. crrev.com/11275277 has introduced a dependency on test_support_content to cope with layout test. test_support_content, however, was intended for unit/browser-tests and adding its dependency to content_shell causes a lot of unnecessary sources to be linked in. The linker --gc-sections has hidden the problem so far, but that doesn't seem to be an option for arm64 (at least with the current toolchain). BUG=159847, 354405 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261741

Patch Set 1 #

Total comments: 5

Patch Set 2 : Keep layout-test files in content_shell #

Patch Set 3 : Break other dependency from test_support_content (needs re-review) #

Patch Set 4 : Fix iOS #

Total comments: 16

Patch Set 5 : rename test_support_content_jni_headers #

Patch Set 6 : Move mock_webclipboard_impl and break support vs laouttest dep #

Patch Set 7 : Move WebKit test files to proper place #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -29 lines) Patch
M content/content_shell.gypi View 1 2 3 4 5 chunks +11 lines, -10 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 9 chunks +44 lines, -16 lines 0 comments Download
M content/shell/browser/shell_browser_main.cc View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M content/test/mock_webclipboard_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/test/weburl_loader_mock_factory.cc View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 28 (0 generated)
Primiano Tucci (use gerrit)
John, as we agreed yesterday during our offline chat, I'm isolating the dependencies for layout ...
6 years, 8 months ago (2014-04-02 09:52:00 UTC) #1
jam
https://codereview.chromium.org/221993002/diff/1/content/content_tests.gypi File content/content_tests.gypi (right): https://codereview.chromium.org/221993002/diff/1/content/content_tests.gypi#newcode8 content/content_tests.gypi:8: 'target_name': 'layout_tests_support_content', call this target layouttest_support_content to match the ...
6 years, 8 months ago (2014-04-02 17:43:20 UTC) #2
Primiano Tucci (use gerrit)
https://codereview.chromium.org/221993002/diff/1/content/content_tests.gypi File content/content_tests.gypi (right): https://codereview.chromium.org/221993002/diff/1/content/content_tests.gypi#newcode8 content/content_tests.gypi:8: 'target_name': 'layout_tests_support_content', On 2014/04/02 17:43:20, jam wrote: > call ...
6 years, 8 months ago (2014-04-02 18:22:35 UTC) #3
jam
lgtm
6 years, 8 months ago (2014-04-02 19:43:04 UTC) #4
Primiano Tucci (use gerrit)
John, I have to ask you to take another look to patchset 3. Sorry for ...
6 years, 8 months ago (2014-04-03 16:44:28 UTC) #5
jam
https://codereview.chromium.org/221993002/diff/280001/content/content_tests.gypi File content/content_tests.gypi (right): https://codereview.chromium.org/221993002/diff/280001/content/content_tests.gypi#newcode16 content/content_tests.gypi:16: ['OS!="ios"', { this whole target, since its not used ...
6 years, 8 months ago (2014-04-03 17:40:20 UTC) #6
Primiano Tucci (use gerrit)
I'm attaching a drawing of the refactoring, which should make the situation more clear. Unfortunatelly ...
6 years, 8 months ago (2014-04-03 19:13:44 UTC) #7
jam
https://codereview.chromium.org/221993002/diff/280001/content/content_tests.gypi File content/content_tests.gypi (right): https://codereview.chromium.org/221993002/diff/280001/content/content_tests.gypi#newcode16 content/content_tests.gypi:16: ['OS!="ios"', { On 2014/04/03 19:13:44, Primiano Tucci wrote: > ...
6 years, 8 months ago (2014-04-03 19:39:33 UTC) #8
Primiano Tucci (use gerrit)
https://codereview.chromium.org/221993002/diff/280001/content/content_tests.gypi File content/content_tests.gypi (right): https://codereview.chromium.org/221993002/diff/280001/content/content_tests.gypi#newcode16 content/content_tests.gypi:16: ['OS!="ios"', { On 2014/04/03 19:39:33, jam wrote: > On ...
6 years, 8 months ago (2014-04-03 19:52:59 UTC) #9
jam
https://codereview.chromium.org/221993002/diff/280001/content/content_tests.gypi File content/content_tests.gypi (right): https://codereview.chromium.org/221993002/diff/280001/content/content_tests.gypi#newcode16 content/content_tests.gypi:16: ['OS!="ios"', { On 2014/04/03 19:52:59, Primiano Tucci wrote: > ...
6 years, 8 months ago (2014-04-03 20:08:28 UTC) #10
Primiano Tucci (use gerrit)
https://codereview.chromium.org/221993002/diff/280001/content/content_tests.gypi File content/content_tests.gypi (right): https://codereview.chromium.org/221993002/diff/280001/content/content_tests.gypi#newcode250 content/content_tests.gypi:250: 'layouttest_support_content', On 2014/04/03 20:08:29, jam wrote: > On 2014/04/03 ...
6 years, 8 months ago (2014-04-03 20:36:29 UTC) #11
jam
lgtm, thanks!
6 years, 8 months ago (2014-04-03 21:20:53 UTC) #12
Primiano Tucci (use gerrit)
The CQ bit was checked by primiano@chromium.org
6 years, 8 months ago (2014-04-03 21:21:43 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/primiano@chromium.org/221993002/320001
6 years, 8 months ago (2014-04-03 21:23:13 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-03 22:33:32 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 8 months ago (2014-04-03 22:33:33 UTC) #16
Primiano Tucci (use gerrit)
The CQ bit was checked by primiano@chromium.org
6 years, 8 months ago (2014-04-03 23:23:32 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/primiano@chromium.org/221993002/340001
6 years, 8 months ago (2014-04-03 23:24:36 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-03 23:46:30 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_compile_dbg
6 years, 8 months ago (2014-04-03 23:46:31 UTC) #20
Primiano Tucci (use gerrit)
The CQ bit was checked by primiano@chromium.org
6 years, 8 months ago (2014-04-04 00:07:55 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/primiano@chromium.org/221993002/360001
6 years, 8 months ago (2014-04-04 00:08:15 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-04 00:46:36 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_compile_dbg
6 years, 8 months ago (2014-04-04 00:46:37 UTC) #24
Primiano Tucci (use gerrit)
The CQ bit was checked by primiano@chromium.org
6 years, 8 months ago (2014-04-04 10:29:59 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/primiano@chromium.org/221993002/380001
6 years, 8 months ago (2014-04-04 10:30:08 UTC) #26
commit-bot: I haz the power
Change committed as 261741
6 years, 8 months ago (2014-04-04 13:50:17 UTC) #27
pfeldman
6 years, 8 months ago (2014-04-04 15:22:27 UTC) #28
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/226123003/ by pfeldman@chromium.org.

The reason for reverting is: Speculative rollout due to Linux DEPS builder
compilation failure:
http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20%28deps....

Powered by Google App Engine
This is Rietveld 408576698