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

Unified Diff: gyp/common_conditions.gypi

Issue 16099014: enable shared lib support in linux for lua (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: change lua extension lib build to be seperate target Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/common.gypi ('k') | gyp/common_variables.gypi » ('j') | gyp/images.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
« no previous file with comments | « gyp/common.gypi ('k') | gyp/common_variables.gypi » ('j') | gyp/images.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698