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

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: 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
« gyp/images.gyp ('K') | « gyp/images.gyp ('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..c7de7632d419388ff8a88b445abbf2969c56beb8 100644
--- a/gyp/tools.gyp
+++ b/gyp/tools.gyp
@@ -98,6 +98,25 @@
],
},
{
+ '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',
+ ],
+ 'ldflags': [
+ '-Wl,-rpath', '-Wl,./',
bungeman-skia 2013/06/18 20:28:06 is it possible to just use '-Wl,-rpath=./' to avoi
+ ],
+ },
+ {
'target_name': 'lua_app',
'type': 'executable',
'sources': [
« gyp/images.gyp ('K') | « gyp/images.gyp ('k') | src/utils/SkLua.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698