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

Issue 2036683002: [iOS] Remove dependency third_party/WebKit on iOS. (Closed)

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

Description

[iOS] Remove dependency third_party/WebKit on iOS. Chrome on iOS now requires mojo for WebUI which has an optional dependency on third_party/WebKit. Chrome on iOS cannot depends on third_party/WebKit, so only enable those optional dependencies if target OS is not iOS. Fixes the following build failures when building with clang Xcode (which is only done by downstream release bots as we do not have capacity to run it on each commit): error: unable to load plugin 'third_party/llvm-build/Release+Asserts/lib/libBlinkGCPlugin.dylib': 'dlopen(third_party/llvm-build/Release+Asserts/lib/libBlinkGCPlugin.dylib, 9): Symbol not found: __ZN4llvm8RegistryIN5clang15PluginASTActionEE4HeadE Referenced from: third_party/llvm-build/Release+Asserts/lib/libBlinkGCPlugin.dylib To prevent further dependencies on third_party/WebKit to creep in change third_party/WebKit/Source/{config.gyp,wtf/wtf.gyp} to not define any target when target OS is iOS (in order to generate errors when running "gclient runhooks"). This is similar to corresponding GN changes in issue https://codereview.chromium.org/2004743002/. BUG=616750 Committed: https://crrev.com/aa9125d2a9f1417d069a99d178f86784f8210215 Cr-Commit-Position: refs/heads/master@{#398272}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Add comment explaining why target are conditionally defined #

Total comments: 8

Patch Set 3 : Fix comment #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+354 lines, -321 lines) Patch
M mojo/mojo_public.gyp View 1 2 3 5 chunks +70 lines, -66 lines 0 comments Download
M third_party/WebKit/Source/config.gyp View 1 2 1 chunk +111 lines, -100 lines 0 comments Download
M third_party/WebKit/Source/wtf/wtf.gyp View 1 2 1 chunk +118 lines, -107 lines 0 comments Download
M tools/clang/scripts/blink_gc_plugin_flags.py View 1 chunk +3 lines, -0 lines 0 comments Download
M url/url.gyp View 4 chunks +52 lines, -48 lines 0 comments Download

Messages

Total messages: 29 (11 generated)
sdefresne
Please take a look as OWNERS for the following files. If this looks good I'd ...
4 years, 6 months ago (2016-06-02 11:27:30 UTC) #4
Andy Caruso
On 2016/06/02 11:27:30, sdefresne wrote: > Please take a look as OWNERS for the following ...
4 years, 6 months ago (2016-06-02 17:17:46 UTC) #6
sdefresne
Ping?
4 years, 6 months ago (2016-06-03 07:27:36 UTC) #7
sdefresne
Ping. This is blocking Chrome on iOS release process.
4 years, 6 months ago (2016-06-06 07:23:15 UTC) #8
sdefresne
Justin: can you review as an iOS reviewer?
4 years, 6 months ago (2016-06-06 10:19:42 UTC) #10
Nico
https://codereview.chromium.org/2036683002/diff/20001/third_party/WebKit/Source/config.gyp File third_party/WebKit/Source/config.gyp (right): https://codereview.chromium.org/2036683002/diff/20001/third_party/WebKit/Source/config.gyp#newcode34 third_party/WebKit/Source/config.gyp:34: 'variables': { why is the change in this file ...
4 years, 6 months ago (2016-06-06 13:16:19 UTC) #11
sdefresne
https://codereview.chromium.org/2036683002/diff/20001/third_party/WebKit/Source/config.gyp File third_party/WebKit/Source/config.gyp (right): https://codereview.chromium.org/2036683002/diff/20001/third_party/WebKit/Source/config.gyp#newcode34 third_party/WebKit/Source/config.gyp:34: 'variables': { On 2016/06/06 13:16:19, Nico wrote: > why ...
4 years, 6 months ago (2016-06-06 13:25:55 UTC) #12
Nico
ah, thanks https://codereview.chromium.org/2036683002/diff/20001/third_party/WebKit/Source/config.gyp File third_party/WebKit/Source/config.gyp (right): https://codereview.chromium.org/2036683002/diff/20001/third_party/WebKit/Source/config.gyp#newcode33 third_party/WebKit/Source/config.gyp:33: ['OS!="ios"', { please add a comment here ...
4 years, 6 months ago (2016-06-06 13:28:10 UTC) #13
justincohen
lgtm from iOS
4 years, 6 months ago (2016-06-06 13:28:54 UTC) #14
sdefresne
PTAL https://codereview.chromium.org/2036683002/diff/20001/third_party/WebKit/Source/config.gyp File third_party/WebKit/Source/config.gyp (right): https://codereview.chromium.org/2036683002/diff/20001/third_party/WebKit/Source/config.gyp#newcode33 third_party/WebKit/Source/config.gyp:33: ['OS!="ios"', { On 2016/06/06 13:28:10, Nico wrote: > ...
4 years, 6 months ago (2016-06-06 14:02:10 UTC) #15
Nico
this lgtm, but the lhs in mojo looks a bit wrong to me -- do ...
4 years, 6 months ago (2016-06-06 14:06:27 UTC) #16
sdefresne
thakis/justincohen: Thank you for the review. brettw: ping for OWNERS approval. https://codereview.chromium.org/2036683002/diff/40001/mojo/mojo_public.gyp File mojo/mojo_public.gyp (left): ...
4 years, 6 months ago (2016-06-06 14:14:58 UTC) #17
brettw
lgtm
4 years, 6 months ago (2016-06-06 19:06:56 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2036683002/60001
4 years, 6 months ago (2016-06-07 07:28:53 UTC) #20
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/17103) ios-device-gn on ...
4 years, 6 months ago (2016-06-07 07:30:35 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2036683002/80001
4 years, 6 months ago (2016-06-07 08:49:06 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 6 months ago (2016-06-07 11:41:21 UTC) #27
commit-bot: I haz the power
4 years, 6 months ago (2016-06-07 11:42:28 UTC) #29
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/aa9125d2a9f1417d069a99d178f86784f8210215
Cr-Commit-Position: refs/heads/master@{#398272}

Powered by Google App Engine
This is Rietveld 408576698