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

Unified Diff: gyp/tools.gyp

Issue 16099014: enable shared lib support in linux for lua (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: 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_conditions.gypi ('k') | src/utils/SkLua.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/tools.gyp
diff --git a/gyp/tools.gyp b/gyp/tools.gyp
index d960cdc1289b97e2227fb27053aabbf4a3f87d7f..24eeddc1616fdf5aa2c843d8bfe4060faeafdcda 100644
--- a/gyp/tools.gyp
+++ b/gyp/tools.gyp
@@ -23,6 +23,7 @@
'skdiff',
'skhello',
'skimage',
+ 'sklua',
],
},
{
@@ -98,6 +99,31 @@
],
},
{
+ 'target_name': 'sklua',
+ 'type': 'shared_library',
+ 'sources': [
+ '../src/utils/SkLuaCanvas.cpp',
+ '../src/utils/SkLua.cpp',
+ ],
+ 'include_dirs': [
+ '../third_party/lua/src/',
+ ],
+ 'dependencies': [
+ 'lua.gyp:lua',
+ 'pdf.gyp:pdf',
+ 'skia_lib.gyp:skia_lib',
+ ],
+ 'conditions': [
+ ['skia_os != "win"',
+ {
+ 'ldflags': [
+ '-Wl,-rpath', '-Wl,./',
bungeman-skia 2013/06/19 20:35:24 rpath is rather heavy handed, (I think) we should
+ ],
+ },
+ ],
+ ],
+ },
+ {
'target_name': 'lua_app',
'type': 'executable',
'sources': [
« no previous file with comments | « gyp/common_conditions.gypi ('k') | src/utils/SkLua.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698