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

Issue 2008853002: [GN] Define SK_BUILD_NO_OPTS when building skia on iOS. (Closed)

Created:
4 years, 7 months ago by sdefresne
Modified:
4 years, 7 months ago
Reviewers:
bsalomon, mtklein, mtklein_C
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[GN] Define SK_BUILD_NO_OPTS when building skia on iOS. When targetting iOS and using gyp to generate the build files, it is not possible to select files to build depending on the architecture. Due to that, the skia code was disabling all optimisation when SK_BUILD_FOR_IOS was defined. Since it is possible to select the correct optimised version when using gn, this pessimisation is hurting the build. Introduce a new define to disable the optimisation SK_BUILD_NO_OPTS and define it when building for iOS using gyp and gn until the transitition is over. Once gn is the only supported build system, then we'll just remove this define and get optimisation for skia on iOS. BUG=607933 Committed: https://crrev.com/1c5bc239dd8c0e95319b98a6195cf35c7b00b1b1 Cr-Commit-Position: refs/heads/master@{#396261}

Patch Set 1 #

Patch Set 2 : Disable optimisation with gn too #

Patch Set 3 : Fix compilation on iOS device #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -77 lines) Patch
M skia/BUILD.gn View 1 2 5 chunks +97 lines, -77 lines 0 comments Download
M skia/skia_common.gypi View 1 chunk +5 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 21 (12 generated)
sdefresne
Please take a look. This flag is currently unused by skia (it is added by ...
4 years, 7 months ago (2016-05-24 09:32:15 UTC) #3
sdefresne
Updated to also disable optimisation with GN as discussed in https://codereview.chromium.org/2002423002/. Please take a look.
4 years, 7 months ago (2016-05-24 15:49:28 UTC) #7
mtklein_C
lgtm
4 years, 7 months ago (2016-05-24 15:57:24 UTC) #9
sdefresne
On 2016/05/24 15:57:24, mtklein_C wrote: > lgtm Thank you.
4 years, 7 months ago (2016-05-24 16:03:08 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2008853002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2008853002/20001
4 years, 7 months ago (2016-05-24 16:03:29 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: ios-device-gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-gn/builds/10650)
4 years, 7 months ago (2016-05-24 16:19:50 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2008853002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2008853002/40001
4 years, 7 months ago (2016-05-26 18:23:45 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-26 19:48:56 UTC) #19
commit-bot: I haz the power
4 years, 7 months ago (2016-05-26 19:51:45 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/1c5bc239dd8c0e95319b98a6195cf35c7b00b1b1
Cr-Commit-Position: refs/heads/master@{#396261}

Powered by Google App Engine
This is Rietveld 408576698