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

Issue 916113002: Don't use m32 cflag for x86_64. (Closed)

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

Description

Don't use m32 cflag for x86_64. When checking the skia_arch_type for "x86", instead of doing an == compare, check if "x86" in skia_arch_type, so it will cover both x86 and x86_64. Except when we specifically want x86. Set skia_arch_width based on "64" in skia_arch_type. No need to specify in scripts. In gyp_to_android.py, create a separate var_dict for x86_64. BUG=skia:3419 Committed: https://skia.googlesource.com/skia/+/df1c3373fc198f465cb0077516993dd41f268416

Patch Set 1 #

Total comments: 19

Patch Set 2 : Respond to comments. #

Patch Set 3 : Add close parens back in. #

Patch Set 4 : Fix opts multiline mess #

Patch Set 5 : Make desktops distinguish between x86 and x86_64 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -22 lines) Patch
M gyp/common_conditions.gypi View 1 3 chunks +3 lines, -3 lines 0 comments Download
M gyp/common_variables.gypi View 1 2 3 4 2 chunks +16 lines, -7 lines 0 comments Download
M gyp/opts.gyp View 1 2 3 3 chunks +5 lines, -2 lines 0 comments Download
M gyp/skia_lib.gyp View 1 chunk +1 line, -1 line 0 comments Download
M platform_tools/android/bin/android_setup.sh View 1 chunk +3 lines, -3 lines 0 comments Download
M platform_tools/android/bin/gyp_to_android.py View 3 chunks +5 lines, -4 lines 0 comments Download
M platform_tools/android/gyp/skia_android.gypi View 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (4 generated)
scroggo
https://codereview.chromium.org/916113002/diff/1/gyp/common_conditions.gypi File gyp/common_conditions.gypi (right): https://codereview.chromium.org/916113002/diff/1/gyp/common_conditions.gypi#newcode232 gyp/common_conditions.gypi:232: '-m64', In a follow-up CL, I'll condition this on ...
5 years, 10 months ago (2015-02-11 18:01:52 UTC) #2
djsollen
https://codereview.chromium.org/916113002/diff/1/gyp/common_conditions.gypi File gyp/common_conditions.gypi (right): https://codereview.chromium.org/916113002/diff/1/gyp/common_conditions.gypi#newcode230 gyp/common_conditions.gypi:230: [ 'skia_arch_width == 64 and "x86" in skia_arch_type', { ...
5 years, 10 months ago (2015-02-11 18:11:23 UTC) #3
mtklein
https://codereview.chromium.org/916113002/diff/1/gyp/common_conditions.gypi File gyp/common_conditions.gypi (right): https://codereview.chromium.org/916113002/diff/1/gyp/common_conditions.gypi#newcode31 gyp/common_conditions.gypi:31: [ '"x86" in skia_arch_type', { You can probably leave ...
5 years, 10 months ago (2015-02-11 18:15:05 UTC) #4
scroggo
https://codereview.chromium.org/916113002/diff/1/gyp/common_conditions.gypi File gyp/common_conditions.gypi (right): https://codereview.chromium.org/916113002/diff/1/gyp/common_conditions.gypi#newcode31 gyp/common_conditions.gypi:31: [ '"x86" in skia_arch_type', { On 2015/02/11 18:15:05, mtklein ...
5 years, 10 months ago (2015-02-11 20:12:10 UTC) #5
scroggo
https://codereview.chromium.org/916113002/diff/1/gyp/common_variables.gypi File gyp/common_variables.gypi (right): https://codereview.chromium.org/916113002/diff/1/gyp/common_variables.gypi#newcode85 gyp/common_variables.gypi:85: [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "mac"] or ...
5 years, 10 months ago (2015-02-11 20:15:26 UTC) #6
scroggo
https://codereview.chromium.org/916113002/diff/1/gyp/common_variables.gypi File gyp/common_variables.gypi (right): https://codereview.chromium.org/916113002/diff/1/gyp/common_variables.gypi#newcode85 gyp/common_variables.gypi:85: [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "mac"] or ...
5 years, 10 months ago (2015-02-12 15:35:46 UTC) #7
scroggo
https://codereview.chromium.org/916113002/diff/1/gyp/common_variables.gypi File gyp/common_variables.gypi (right): https://codereview.chromium.org/916113002/diff/1/gyp/common_variables.gypi#newcode85 gyp/common_variables.gypi:85: [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "mac"] or ...
5 years, 10 months ago (2015-02-12 15:55:47 UTC) #8
djsollen
lgtm
5 years, 10 months ago (2015-02-12 16:12:31 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/916113002/80001
5 years, 10 months ago (2015-02-12 17:45:04 UTC) #11
mtklein
This LGTM, but I think we need to land some bot changes before we can ...
5 years, 10 months ago (2015-02-12 17:47:29 UTC) #13
mtklein
Here we go!
5 years, 10 months ago (2015-02-12 18:47:44 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/916113002/80001
5 years, 10 months ago (2015-02-12 18:48:15 UTC) #16
commit-bot: I haz the power
5 years, 10 months ago (2015-02-12 18:48:31 UTC) #17
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/df1c3373fc198f465cb0077516993dd41f268416

Powered by Google App Engine
This is Rietveld 408576698