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

Issue 456413002: Move the user agent styles sheets to blink_resources.grd (Part 2) with Unit test support (Closed)

Created:
6 years, 4 months ago by vivekg_samsung
Modified:
6 years, 3 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Move the user agent styles sheets to blink_resources.grd (Part 2) with Unit test support Blink should make use of blink_resources.grd for the inline resources of user agent stylesheets. This removes the dependency upon using make-file-arrays.py which embeds these resources as strings. This patch adds the necessary plumbing required for the webkit_unit_tests target. As the resources are being moved into blink_resources.grd, this generates blink_resources.pak. This pak doesn't exists as a separate pak file but its repacked into "content_shell.pak". The same must be loaded into the data_pack_ of the TestContentClient so that the webkit (blink) unit tests run successfully. Part 1: https://codereview.chromium.org/436843004/ Part 1 with conditional: https://codereview.chromium.org/440683004/ Part 2: https://codereview.chromium.org/422023008 Part 3: https://codereview.chromium.org/438843004/ BUG=312586 Committed: https://crrev.com/4aa5cfbd5b3c15ebe2300e4db14067002b5df18d Cr-Commit-Position: refs/heads/master@{#294554}

Patch Set 1 : #

Total comments: 1

Patch Set 2 : #

Total comments: 2

Patch Set 3 : Added the content_shell_pak dependency! #

Patch Set 4 : Modified for iOS related changes. #

Patch Set 5 : Changes for swarming! #

Patch Set 6 : Android uses different path for content_shell.pak #

Patch Set 7 : Included asset extraction logic #

Patch Set 8 : Generic logic to handle any paks packaged! #

Patch Set 9 : Moved java changes to the dependent patch #

Patch Set 10 : Patch after rebased! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -11 lines) Patch
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M content/content_unittests.isolate View 1 2 3 4 5 1 chunk +9 lines, -2 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M content/test/blink_test_environment.cc View 1 3 chunks +3 lines, -0 lines 0 comments Download
M content/test/test_content_client.cc View 1 2 3 1 chunk +8 lines, -8 lines 0 comments Download
M content/test/test_webkit_platform_support.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 45 (15 generated)
vivekg
@jochen, this is WIP for moving the core resources to blink_resources.grd file. In that, this ...
6 years, 4 months ago (2014-08-11 12:55:44 UTC) #1
jochen (gone - plz use gerrit)
https://codereview.chromium.org/456413002/diff/20001/content/test/test_webkit_platform_support.h File content/test/test_webkit_platform_support.h (right): https://codereview.chromium.org/456413002/diff/20001/content/test/test_webkit_platform_support.h#newcode103 content/test/test_webkit_platform_support.h:103: scoped_ptr<TestContentClientInitializer> content_initializer_; i don't think this should happen as ...
6 years, 4 months ago (2014-08-11 14:21:18 UTC) #2
jochen (gone - plz use gerrit)
On 2014/08/11 at 12:55:44, vivekg wrote: > @jochen, this is WIP for moving the core ...
6 years, 4 months ago (2014-08-11 14:24:38 UTC) #3
vivekg
On 2014/08/11 14:21:18, jochen (slow - soon OOO) wrote: > https://codereview.chromium.org/456413002/diff/20001/content/test/test_webkit_platform_support.h > File content/test/test_webkit_platform_support.h (right): ...
6 years, 4 months ago (2014-08-12 07:50:55 UTC) #4
jochen (gone - plz use gerrit)
On 2014/08/12 at 07:50:55, vivekg wrote: > On 2014/08/11 14:21:18, jochen (slow - soon OOO) ...
6 years, 4 months ago (2014-08-13 12:52:27 UTC) #5
vivekg
Sorry @jochen, I was on a vacation for some time. Uploaded a new patch, PTAL. ...
6 years, 3 months ago (2014-09-02 10:53:55 UTC) #6
vivekg
ping!
6 years, 3 months ago (2014-09-03 05:55:32 UTC) #7
jochen (gone - plz use gerrit)
https://codereview.chromium.org/456413002/diff/40001/content/test/test_content_client.cc File content/test/test_content_client.cc (right): https://codereview.chromium.org/456413002/diff/40001/content/test/test_content_client.cc#newcode27 content/test/test_content_client.cc:27: FILE_PATH_LITERAL("content_shell.pak")); does this target depend on whatever target creates ...
6 years, 3 months ago (2014-09-03 08:26:37 UTC) #8
vivekg
https://codereview.chromium.org/456413002/diff/40001/content/test/test_content_client.cc File content/test/test_content_client.cc (right): https://codereview.chromium.org/456413002/diff/40001/content/test/test_content_client.cc#newcode27 content/test/test_content_client.cc:27: FILE_PATH_LITERAL("content_shell.pak")); On 2014/09/03 at 08:26:37, jochen wrote: > does ...
6 years, 3 months ago (2014-09-03 08:55:16 UTC) #9
vivekg
Gentle reminder.
6 years, 3 months ago (2014-09-04 06:58:26 UTC) #10
jochen (gone - plz use gerrit)
lgtm
6 years, 3 months ago (2014-09-04 08:47:45 UTC) #11
vivekg
On 2014/09/04 at 08:47:45, jochen wrote: > lgtm Thank you @jochen.
6 years, 3 months ago (2014-09-04 08:48:22 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vivek.vg@samsung.com/456413002/60001
6 years, 3 months ago (2014-09-04 08:50:07 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/11764) ios_rel_device on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device/builds/11707) ios_rel_device_ninja ...
6 years, 3 months ago (2014-09-04 08:57:59 UTC) #16
jochen (gone - plz use gerrit)
still lgtm
6 years, 3 months ago (2014-09-04 11:18:42 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vivek.vg@samsung.com/456413002/80001
6 years, 3 months ago (2014-09-04 11:29:13 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_swarming on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_swarming/builds/9983)
6 years, 3 months ago (2014-09-04 12:34:23 UTC) #23
vivekg
On 2014/09/04 at 12:34:23, commit-bot wrote: > Try jobs failed on following builders: > mac_chromium_rel_swarming ...
6 years, 3 months ago (2014-09-04 13:36:06 UTC) #24
eseidel
lgtm, but I'm not a content/ OWNER yet.
6 years, 3 months ago (2014-09-04 16:22:07 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vivek.vg@samsung.com/456413002/100001
6 years, 3 months ago (2014-09-04 18:40:56 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vivek.vg@samsung.com/456413002/120001
6 years, 3 months ago (2014-09-04 20:13:44 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/5371)
6 years, 3 months ago (2014-09-04 22:11:58 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vivek.vg@samsung.com/456413002/120001
6 years, 3 months ago (2014-09-05 13:49:59 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/5698)
6 years, 3 months ago (2014-09-05 16:13:20 UTC) #36
vivekg
This patch is blocking on the following CLs in the order of dependency: 1. https://codereview.chromium.org/548023002: ...
6 years, 3 months ago (2014-09-08 11:18:35 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/456413002/180001
6 years, 3 months ago (2014-09-12 06:26:06 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/55112) win_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu/builds/60028) win8_chromium_rel ...
6 years, 3 months ago (2014-09-12 06:29:11 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/456413002/200001
6 years, 3 months ago (2014-09-12 08:03:02 UTC) #43
commit-bot: I haz the power
Committed patchset #10 (id:200001) as a8c71d1a45b568deab4cd58aea5db6f37e6f4319
6 years, 3 months ago (2014-09-12 09:16:45 UTC) #44
commit-bot: I haz the power
6 years, 3 months ago (2014-09-12 09:20:09 UTC) #45
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/4aa5cfbd5b3c15ebe2300e4db14067002b5df18d
Cr-Commit-Position: refs/heads/master@{#294554}

Powered by Google App Engine
This is Rietveld 408576698