diff options
author | epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-06-23 19:34:50 +0000 |
---|---|---|
committer | epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-06-23 19:34:50 +0000 |
commit | 6b9580c2ef3d0251b762536646b0449c7cae00c3 (patch) | |
tree | 75134338fc755eb8653043fdd80abf3e82d5400b | |
parent | 02362945f785af838c66ca0d3e2a1d8ed6a0f1bb (diff) |
Allow override of skia_scalar gyp variable using GYP_DEFINES
http://codereview.appspot.com/4631061/
git-svn-id: http://skia.googlecode.com/svn/trunk@1689 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | gyp/target_defaults.gypi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gyp/target_defaults.gypi b/gyp/target_defaults.gypi index bc08e18af5..865f8a3c02 100644 --- a/gyp/target_defaults.gypi +++ b/gyp/target_defaults.gypi @@ -3,9 +3,13 @@ 'defines': [ 'SK_CAN_USE_FLOAT', ], + 'variables': { 'skia_scalar%': 'float', }, + # Allow override in GYP_DEFINES environment variable. + 'skia_scalar%': '<(skia_scalar)', + 'configurations': { 'Debug': { 'defines': [ |