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

Issue 2135323002: Add support for fat build to "ios_framework_bundle" target. (Closed)

Created:
4 years, 5 months ago by sdefresne
Modified:
4 years, 5 months ago
Reviewers:
Robert Sesek
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@fat-build-enable
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add support for fat build to "ios_framework_bundle" target. For a fat build, the "ios_framework_bundle" and "framework_bundle" are a bit different for the non-default toolchain. The main target is a shared library (instead of a bundle) and the "+link" target depends on the "+link" target of the default toolchain (because it is a fat binary framework so it make sense to link against that one). The fat shared library is created using "lipo" to concatenate all the thin shared libraries together. BUG=603180 Committed: https://crrev.com/31139a2a7ffb3b502b0a963b45c391759b167154 Cr-Commit-Position: refs/heads/master@{#405969}

Patch Set 1 #

Patch Set 2 : multi_arch_toolchains -> additional_toolchains & mac build fix. #

Total comments: 7

Patch Set 3 : Rename targets as suggested in comments. #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+346 lines, -220 lines) Patch
M build/config/ios/rules.gni View 1 2 3 4 chunks +113 lines, -87 lines 0 comments Download
M build/config/mac/base_rules.gni View 1 2 1 chunk +197 lines, -99 lines 0 comments Download
M components/cronet/ios/BUILD.gn View 1 2 3 1 chunk +36 lines, -34 lines 0 comments Download

Messages

Total messages: 24 (12 generated)
sdefresne
Followup to https://codereview.chromium.org/2123253004/ for ios_framework_bundle. Could you take a look?
4 years, 5 months ago (2016-07-11 15:49:05 UTC) #2
Robert Sesek
There are failures on the Mac bots that look legitimate.
4 years, 5 months ago (2016-07-11 17:44:20 UTC) #3
sdefresne
On 2016/07/11 17:44:20, Robert Sesek wrote: > There are failures on the Mac bots that ...
4 years, 5 months ago (2016-07-12 09:21:30 UTC) #5
Robert Sesek
Sorry for the lag on this. Rietveld made this hard to review diff-wise. https://codereview.chromium.org/2135323002/diff/60001/build/config/mac/base_rules.gni File ...
4 years, 5 months ago (2016-07-12 23:57:16 UTC) #7
sdefresne
Please take another look. https://codereview.chromium.org/2135323002/diff/60001/build/config/mac/base_rules.gni File build/config/mac/base_rules.gni (right): https://codereview.chromium.org/2135323002/diff/60001/build/config/mac/base_rules.gni#newcode251 build/config/mac/base_rules.gni:251: visibility += [ ":*($default_toolchain)" ] ...
4 years, 5 months ago (2016-07-13 10:57:50 UTC) #9
Robert Sesek
LGTM https://codereview.chromium.org/2135323002/diff/60001/build/config/mac/base_rules.gni File build/config/mac/base_rules.gni (right): https://codereview.chromium.org/2135323002/diff/60001/build/config/mac/base_rules.gni#newcode291 build/config/mac/base_rules.gni:291: _link_shared_library_visibility = [] On 2016/07/13 10:57:50, sdefresne wrote: ...
4 years, 5 months ago (2016-07-13 20:27:54 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2135323002/80001
4 years, 5 months ago (2016-07-18 08:51:54 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/36956) ios-device-gn on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 5 months ago (2016-07-18 08:53:28 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2135323002/100001
4 years, 5 months ago (2016-07-18 09:03:26 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years, 5 months ago (2016-07-18 09:50:15 UTC) #21
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-18 09:50:20 UTC) #22
commit-bot: I haz the power
4 years, 5 months ago (2016-07-18 09:51:28 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/31139a2a7ffb3b502b0a963b45c391759b167154
Cr-Commit-Position: refs/heads/master@{#405969}

Powered by Google App Engine
This is Rietveld 408576698