OLD | NEW |
---|---|
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 Loading... | |
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 Loading... | |
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: |
OLD | NEW |