Index: gyp/common_conditions.gypi |
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi |
index cf8cbdeaa4ee4aebaef74638383508abcd37fb93..57c3fa9847ae5f2a463de9dc24c3d269dc799f47 100644 |
--- a/gyp/common_conditions.gypi |
+++ b/gyp/common_conditions.gypi |
@@ -149,6 +149,17 @@ |
'-Wno-c++11-extensions' |
], |
'conditions' : [ |
+ [ 'skia_shared_lib', { |
+ 'cflags': [ |
+ '-fPIC', |
+ ], |
+ 'defines': [ |
+ 'GR_DLL=1', |
+ 'GR_IMPLEMENTATION=1', |
+ 'SKIA_DLL', |
+ 'SKIA_IMPLEMENTATION=1', |
+ ], |
+ }], |
[ 'skia_warnings_as_errors', { |
'cflags': [ |
'-Werror', |