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

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: 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
« no previous file with comments | « gyp/common_conditions.gypi ('k') | src/utils/SkLua.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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': [
11 { 11 {
12 # Build all executable targets defined below. 12 # Build all executable targets defined below.
13 'target_name': 'tools', 13 'target_name': 'tools',
14 'type': 'none', 14 'type': 'none',
15 'dependencies': [ 15 'dependencies': [
16 'bench_pictures', 16 'bench_pictures',
17 'filter', 17 'filter',
18 'lua_pictures', 18 'lua_pictures',
19 'lua_app', 19 'lua_app',
20 'pinspect', 20 'pinspect',
21 'render_pdfs', 21 'render_pdfs',
22 'render_pictures', 22 'render_pictures',
23 'skdiff', 23 'skdiff',
24 'skhello', 24 'skhello',
25 'skimage', 25 'skimage',
26 'sklua',
26 ], 27 ],
27 }, 28 },
28 { 29 {
29 'target_name': 'skdiff', 30 'target_name': 'skdiff',
30 'type': 'executable', 31 'type': 'executable',
31 'sources': [ 32 'sources': [
32 '../tools/skdiff.cpp', 33 '../tools/skdiff.cpp',
33 '../tools/skdiff.h', 34 '../tools/skdiff.h',
34 '../tools/skdiff_html.cpp', 35 '../tools/skdiff_html.cpp',
35 '../tools/skdiff_html.h', 36 '../tools/skdiff_html.h',
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 ], 92 ],
92 'dependencies': [ 93 'dependencies': [
93 'skia_lib.gyp:skia_lib', 94 'skia_lib.gyp:skia_lib',
94 'flags.gyp:flags', 95 'flags.gyp:flags',
95 'gm.gyp:gm_expectations', 96 'gm.gyp:gm_expectations',
96 'jsoncpp.gyp:jsoncpp', 97 'jsoncpp.gyp:jsoncpp',
97 'utils.gyp:utils', 98 'utils.gyp:utils',
98 ], 99 ],
99 }, 100 },
100 { 101 {
102 'target_name': 'sklua',
103 'type': 'shared_library',
104 'sources': [
105 '../src/utils/SkLuaCanvas.cpp',
106 '../src/utils/SkLua.cpp',
107 ],
108 'include_dirs': [
109 '../third_party/lua/src/',
110 ],
111 'dependencies': [
112 'lua.gyp:lua',
113 'pdf.gyp:pdf',
114 'skia_lib.gyp:skia_lib',
115 ],
116 'conditions': [
117 ['skia_os != "win"',
118 {
119 'ldflags': [
120 '-Wl,-rpath', '-Wl,./',
bungeman-skia 2013/06/19 20:35:24 rpath is rather heavy handed, (I think) we should
121 ],
122 },
123 ],
124 ],
125 },
126 {
101 'target_name': 'lua_app', 127 'target_name': 'lua_app',
102 'type': 'executable', 128 'type': 'executable',
103 'sources': [ 129 'sources': [
104 '../tools/lua/lua_app.cpp', 130 '../tools/lua/lua_app.cpp',
105 '../src/utils/SkLua.cpp', 131 '../src/utils/SkLua.cpp',
106 ], 132 ],
107 'dependencies': [ 133 'dependencies': [
108 'skia_lib.gyp:skia_lib', 134 'skia_lib.gyp:skia_lib',
109 'effects.gyp:effects', 135 'effects.gyp:effects',
110 'utils.gyp:utils', 136 'utils.gyp:utils',
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 }, 369 },
344 ], 370 ],
345 ], 371 ],
346 } 372 }
347 373
348 # Local Variables: 374 # Local Variables:
349 # tab-width:2 375 # tab-width:2
350 # indent-tabs-mode:nil 376 # indent-tabs-mode:nil
351 # End: 377 # End:
352 # vim: set expandtab tabstop=2 shiftwidth=2: 378 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« 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