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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # GYP file to build various tools. 1 # GYP file to build various tools.
2 # 2 #
3 # To build on Linux: 3 # To build on Linux:
4 # ./gyp_skia tools.gyp && make tools 4 # ./gyp_skia tools.gyp && make tools
5 # 5 #
6 { 6 {
7 'includes': [ 7 'includes': [
8 'apptype_console.gypi', 8 'apptype_console.gypi',
9 ], 9 ],
10 'targets': [ 10 'targets': [
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 ], 91 ],
92 'dependencies': [ 92 'dependencies': [
93 'skia_lib.gyp:skia_lib', 93 'skia_lib.gyp:skia_lib',
94 'flags.gyp:flags', 94 'flags.gyp:flags',
95 'gm.gyp:gm_expectations', 95 'gm.gyp:gm_expectations',
96 'jsoncpp.gyp:jsoncpp', 96 'jsoncpp.gyp:jsoncpp',
97 'utils.gyp:utils', 97 'utils.gyp:utils',
98 ], 98 ],
99 }, 99 },
100 { 100 {
101 'target_name': 'sklua',
102 'type': 'shared_library',
103 'sources': [
104 '../src/utils/SkLuaCanvas.cpp',
105 '../src/utils/SkLua.cpp',
106 ],
107 'include_dirs': [
108 '../third_party/lua/src/',
109 ],
110 'dependencies': [
111 'lua.gyp:lua',
112 'pdf.gyp:pdf',
113 'skia_lib.gyp:skia_lib',
114 ],
115 'ldflags': [
116 '-Wl,-rpath', '-Wl,./',
bungeman-skia 2013/06/18 20:28:06 is it possible to just use '-Wl,-rpath=./' to avoi
117 ],
118 },
119 {
101 'target_name': 'lua_app', 120 'target_name': 'lua_app',
102 'type': 'executable', 121 'type': 'executable',
103 'sources': [ 122 'sources': [
104 '../tools/lua/lua_app.cpp', 123 '../tools/lua/lua_app.cpp',
105 '../src/utils/SkLua.cpp', 124 '../src/utils/SkLua.cpp',
106 ], 125 ],
107 'dependencies': [ 126 'dependencies': [
108 'skia_lib.gyp:skia_lib', 127 'skia_lib.gyp:skia_lib',
109 'effects.gyp:effects', 128 'effects.gyp:effects',
110 'utils.gyp:utils', 129 'utils.gyp:utils',
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 }, 362 },
344 ], 363 ],
345 ], 364 ],
346 } 365 }
347 366
348 # Local Variables: 367 # Local Variables:
349 # tab-width:2 368 # tab-width:2
350 # indent-tabs-mode:nil 369 # indent-tabs-mode:nil
351 # End: 370 # End:
352 # vim: set expandtab tabstop=2 shiftwidth=2: 371 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« 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