OLD | NEW |
1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 # GYP file to build various tools. | 5 # GYP file to build various tools. |
6 # | 6 # |
7 # To build on Linux: | 7 # To build on Linux: |
8 # ./gyp_skia tools.gyp && make tools | 8 # ./gyp_skia tools.gyp && make tools |
9 # | 9 # |
10 { | 10 { |
(...skipping 16 matching lines...) Expand all Loading... |
27 'lua_pictures', | 27 'lua_pictures', |
28 'pinspect', | 28 'pinspect', |
29 'skdiff', | 29 'skdiff', |
30 'skhello', | 30 'skhello', |
31 'skpinfo', | 31 'skpinfo', |
32 'skpmaker', | 32 'skpmaker', |
33 'test_public_includes', | 33 'test_public_includes', |
34 'whitelist_typefaces', | 34 'whitelist_typefaces', |
35 ], | 35 ], |
36 'conditions': [ | 36 'conditions': [ |
37 # ['skia_os == "linux"', { 'dependencies': [ 'fiddle_build_test' ] } ], | 37 ['skia_mesa and skia_os in ["linux", "mac"]', |
| 38 { 'dependencies': [ 'fiddle_build_test' ] } |
| 39 ], |
38 ['skia_shared_lib', | 40 ['skia_shared_lib', |
39 { | 41 { |
40 'dependencies': [ | 42 'dependencies': [ |
41 'sklua', # This can only be built if skia is built as a shared lib
rary | 43 'sklua', # This can only be built if skia is built as a shared lib
rary |
42 ], | 44 ], |
43 }, | 45 }, |
44 ], | 46 ], |
45 [ 'skia_os == "android"', | 47 [ 'skia_os == "android"', |
46 { | 48 { |
47 'dependencies': [ | 49 'dependencies': [ |
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
605 'pdf.gyp:pdf', | 607 'pdf.gyp:pdf', |
606 ], | 608 ], |
607 'defines': [ 'FIDDLE_BUILD_TEST' ], | 609 'defines': [ 'FIDDLE_BUILD_TEST' ], |
608 'link_settings': { 'libraries': [ '-lOSMesa' ], }, | 610 'link_settings': { 'libraries': [ '-lOSMesa' ], }, |
609 }, | 611 }, |
610 ], | 612 ], |
611 }, | 613 }, |
612 ], | 614 ], |
613 ], | 615 ], |
614 } | 616 } |
OLD | NEW |