diff options
Diffstat (limited to 'gyp/common.gypi')
-rw-r--r-- | gyp/common.gypi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gyp/common.gypi b/gyp/common.gypi index 51d68e8778..30424de9fd 100644 --- a/gyp/common.gypi +++ b/gyp/common.gypi @@ -15,6 +15,8 @@ 'conditions': [ ['skia_os != OS and not (skia_os == "ios" and OS == "mac")', {'error': '<!(Cannot build with skia_os=<(skia_os) on OS=<(OS))'}], + ['skia_mesa and skia_os not in ["mac", "linux"]', + {'error': '<!(skia_mesa=1 only supported with skia_os="mac" or "linux".)'}], ], }, 'includes': [ @@ -34,6 +36,16 @@ ], } ], + [ 'skia_mesa', { + 'defines': [ + 'SK_MESA', + ], + 'direct_dependent_settings': { + 'defines': [ + 'SK_MESA', + ], + }, + }], ], 'configurations': { 'Debug': { |