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

Issue 406613003: Introduce skia_pic gyp variable. (Closed)

Created:
6 years, 5 months ago by scroggo
Modified:
6 years, 5 months ago
Reviewers:
mtklein, djsollen
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Introduce skia_pic gyp variable. skia_pic tells ninja to use -fPIC when building for position independent code. Set skia_pic to true when building our existing targets that require position independent code. Also use skia_pic when building for Android. Committed: https://skia.googlesource.com/skia/+/c0bc9134514a4f138621203a6f7d4553ebec238a

Patch Set 1 #

Total comments: 7

Patch Set 2 : Simplify skia_pic check. #

Patch Set 3 : Set fPIE and pie for executables except on Android. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -20 lines) Patch
M gyp/common_conditions.gypi View 1 2 4 chunks +18 lines, -20 lines 0 comments Download
M gyp/common_variables.gypi View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
scroggo
6 years, 5 months ago (2014-07-18 18:47:34 UTC) #1
djsollen
https://codereview.chromium.org/406613003/diff/1/gyp/common_variables.gypi File gyp/common_variables.gypi (right): https://codereview.chromium.org/406613003/diff/1/gyp/common_variables.gypi#newcode184 gyp/common_variables.gypi:184: 'or skia_sanitizer == "undefined" or skia_os == "android"', { ...
6 years, 5 months ago (2014-07-18 19:02:25 UTC) #2
scroggo
https://codereview.chromium.org/406613003/diff/1/gyp/common_variables.gypi File gyp/common_variables.gypi (right): https://codereview.chromium.org/406613003/diff/1/gyp/common_variables.gypi#newcode184 gyp/common_variables.gypi:184: 'or skia_sanitizer == "undefined" or skia_os == "android"', { ...
6 years, 5 months ago (2014-07-18 19:06:44 UTC) #3
mtklein
lgtm as is, with some options https://codereview.chromium.org/406613003/diff/1/gyp/common_conditions.gypi File gyp/common_conditions.gypi (right): https://codereview.chromium.org/406613003/diff/1/gyp/common_conditions.gypi#newcode455 gyp/common_conditions.gypi:455: [ '_type == ...
6 years, 5 months ago (2014-07-19 14:49:20 UTC) #4
djsollen
lgtm https://codereview.chromium.org/406613003/diff/1/gyp/common_conditions.gypi File gyp/common_conditions.gypi (right): https://codereview.chromium.org/406613003/diff/1/gyp/common_conditions.gypi#newcode455 gyp/common_conditions.gypi:455: [ '_type == "executable"', { On 2014/07/19 14:49:19, ...
6 years, 5 months ago (2014-07-22 14:20:18 UTC) #5
scroggo
https://codereview.chromium.org/406613003/diff/1/gyp/common_conditions.gypi File gyp/common_conditions.gypi (right): https://codereview.chromium.org/406613003/diff/1/gyp/common_conditions.gypi#newcode455 gyp/common_conditions.gypi:455: [ '_type == "executable"', { On 2014/07/22 14:20:17, djsollen ...
6 years, 5 months ago (2014-07-22 14:53:36 UTC) #6
mtklein
> - Skip the skia_launcher, and actually build the executables as executables > (I'm sure ...
6 years, 5 months ago (2014-07-22 15:54:54 UTC) #7
mtklein
(Still LGTM)
6 years, 5 months ago (2014-07-22 15:55:28 UTC) #8
scroggo
On 2014/07/22 15:54:54, mtklein wrote: > > - Skip the skia_launcher, and actually build the ...
6 years, 5 months ago (2014-07-22 18:51:17 UTC) #9
djsollen
On 2014/07/22 18:51:17, scroggo wrote: > On 2014/07/22 15:54:54, mtklein wrote: > > > - ...
6 years, 5 months ago (2014-07-22 18:53:50 UTC) #10
scroggo
The CQ bit was checked by scroggo@google.com
6 years, 5 months ago (2014-07-22 18:58:11 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/scroggo@google.com/406613003/40001
6 years, 5 months ago (2014-07-22 18:58:19 UTC) #12
commit-bot: I haz the power
6 years, 5 months ago (2014-07-22 19:09:41 UTC) #13
Message was sent while issue was closed.
Change committed as c0bc9134514a4f138621203a6f7d4553ebec238a

Powered by Google App Engine
This is Rietveld 408576698