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

Issue 1103793002: Add support for escaped target names in isolate driver. (Closed)

Created:
5 years, 8 months ago by nyquist
Modified:
5 years, 7 months ago
Reviewers:
Vadim Sh., Nico, M-A Ruel
CC:
chromium-reviews, Avi (use Gerrit), M-A Ruel
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add support for escaped target names in isolate driver. Currently the isolate_driver.py which creates the dependency files used by the isolate system, does a simple split on all spaces when trying to identify targets. This can fail if the target name contains a space in the name. In ninja, spaces are escaped with a $-prefix. An example would be 'Content$ Shell$ Helper.app'. This CL adds support for such target names and ensures that they stay as one item. Doing this uncovered a few missing dependencies and a missing file in some .isolate-files for the component build on Mac. Original CL: https://codereview.chromium.org/970203003 BUG=462248 Committed: https://crrev.com/86c49590cbae332dc933cd9ae3f67d240fb1f125 Cr-Commit-Position: refs/heads/master@{#328236}

Patch Set 1 #

Patch Set 2 : Added chrome_dll dependencies to isolated tests that require it. #

Patch Set 3 : Use chrome_main_dll and only on mac #

Patch Set 4 : Only add libchrome_main_dll.dylib for component build #

Patch Set 5 : Fix sync and ui targets as well #

Total comments: 4

Patch Set 6 : Simplify comment #

Patch Set 7 : Move isolate-update to chrome.isolate, and add chrome-dep to sync tests #

Patch Set 8 : Remove unnecessary dep for browser_tests_run #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -1 line) Patch
M chrome/chrome.isolate View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M tools/isolate_driver.py View 1 2 3 4 5 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 40 (16 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/1103793002/1
5 years, 8 months ago (2015-04-23 22:53:44 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 8 months ago (2015-04-24 01:13:10 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1103793002/20001
5 years, 7 months ago (2015-05-01 22:56:28 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/48866)
5 years, 7 months ago (2015-05-01 23:04:57 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1103793002/40001
5 years, 7 months ago (2015-05-02 00:28:57 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/61791)
5 years, 7 months ago (2015-05-02 01:10:12 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1103793002/60001
5 years, 7 months ago (2015-05-03 17:35:46 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1103793002/80001
5 years, 7 months ago (2015-05-03 17:40:44 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-03 18:52:33 UTC) #19
nyquist
vadimsh: tools/ thakis: chrome/ avi: FYI
5 years, 7 months ago (2015-05-03 20:16:25 UTC) #21
Vadim Sh.
tools/ lgtm
5 years, 7 months ago (2015-05-03 20:25:59 UTC) #22
Nico
rs-lgtm (maruel: do dylib dependencies have to be mentioned in isolate files? I thought those ...
5 years, 7 months ago (2015-05-03 20:31:56 UTC) #23
M-A Ruel
On 2015/05/03 20:31:56, Nico wrote: > rs-lgtm > > (maruel: do dylib dependencies have to ...
5 years, 7 months ago (2015-05-04 13:39:52 UTC) #25
Nico
nyquist: In that case, the .isolate changes and most of the .gyp changes probably aren't ...
5 years, 7 months ago (2015-05-04 16:08:11 UTC) #26
nyquist
thakis: agreed. However, patch set 1 shows this change without any other changes than the ...
5 years, 7 months ago (2015-05-04 18:43:05 UTC) #27
Nico
Hm, should it be listed in chrome/chrome.isolate at least then?
5 years, 7 months ago (2015-05-04 18:46:24 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1103793002/140001
5 years, 7 months ago (2015-05-04 21:37:41 UTC) #31
nyquist
thakis: I asked maruel, and he also did not know why your suggestion works. So ...
5 years, 7 months ago (2015-05-04 23:25:47 UTC) #32
Nico
Try landing as-is (at patch set 8). If that fixes all known problems, then we're ...
5 years, 7 months ago (2015-05-04 23:28:11 UTC) #33
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-05 00:17:31 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1103793002/140001
5 years, 7 months ago (2015-05-05 00:27:08 UTC) #37
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 7 months ago (2015-05-05 00:31:18 UTC) #38
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/86c49590cbae332dc933cd9ae3f67d240fb1f125 Cr-Commit-Position: refs/heads/master@{#328236}
5 years, 7 months ago (2015-05-05 00:32:14 UTC) #39
nyquist
5 years, 7 months ago (2015-05-05 06:07:09 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/1129493003/ by nyquist@chromium.org.

The reason for reverting is: Broke interactive_ui_tests and
sync_integration_tests on Mac. See first breakage:
http://build.chromium.org/p/chromium.mac/builders/Mac10.9%20Tests%20%28dbg%29...


Possibly need to include the chrome.isolate in the isolates for browser_tests,
and the two test suites mentioned above..

Powered by Google App Engine
This is Rietveld 408576698