Index: gyp/common_conditions.gypi |
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi |
index fda122212c74689b6dbde46407e5bbb723503b53..64e7c13594d1e40586b90bc6bec365239bf2bbc3 100644 |
--- a/gyp/common_conditions.gypi |
+++ b/gyp/common_conditions.gypi |
@@ -326,6 +326,17 @@ |
[ 'skia_profile_enabled == 1', { |
'cflags': ['-g', '-fno-omit-frame-pointer', '-marm', '-mapcs'], |
}], |
+ [ 'skia_shared_lib', { |
+ 'cflags': [ |
+ '-fPIC', |
+ ], |
+ 'defines': [ |
+ 'GR_DLL=1', |
+ 'GR_IMPLEMENTATION=1', |
+ 'SKIA_DLL', |
+ 'SKIA_IMPLEMENTATION=1', |
+ ], |
+ }], |
[ 'skia_arch_type == "arm" and arm_thumb == 1', { |
'cflags': [ |
'-mthumb', |