OLD | NEW |
1 # The minimal set of static libraries for basic Skia functionality. | 1 # The minimal set of static libraries for basic Skia functionality. |
2 { | 2 { |
3 'variables': { | 3 'variables': { |
4 'component_libs': [ | 4 'component_libs': [ |
5 'core.gyp:core', | 5 'core.gyp:core', |
6 'opts.gyp:opts', | 6 'opts.gyp:opts', |
7 'ports.gyp:ports', | 7 'ports.gyp:ports', |
8 'utils.gyp:utils', | 8 'utils.gyp:utils', |
9 ], | 9 ], |
10 'conditions': [ | 10 'conditions': [ |
11 [ 'skia_arch_type == "x86" and skia_os != "android"', { | 11 [ 'skia_arch_type == "x86" and skia_os != "android"', { |
12 'component_libs': [ | 12 'component_libs': [ |
13 'opts.gyp:opts_ssse3', | 13 'opts.gyp:opts_ssse3', |
14 ], | 14 ], |
15 }], | 15 }], |
16 [ 'arm_neon == 1', { | 16 [ 'arm_neon == 1', { |
17 'component_libs': [ | 17 'component_libs': [ |
18 'opts.gyp:opts_neon', | 18 'opts.gyp:opts_neon', |
19 ], | 19 ], |
20 }], | 20 }], |
21 [ 'skia_gpu', { | 21 [ 'skia_gpu', { |
22 'component_libs': [ | 22 'component_libs': [ |
23 'gpu.gyp:gr', | 23 'gpu.gyp:gr', |
24 'gpu.gyp:skgr', | 24 'gpu.gyp:skgr', |
25 ], | 25 ], |
26 }], | 26 }], |
| 27 [ 'skia_os == "nacl"', { |
| 28 'component_libs': [ |
| 29 'freetype.gyp:freetype', |
| 30 ], |
| 31 }], |
27 ], | 32 ], |
28 }, | 33 }, |
29 'targets': [ | 34 'targets': [ |
30 { | 35 { |
31 'target_name': 'skia_base_libs', | 36 'target_name': 'skia_base_libs', |
32 'type': 'none', | 37 'type': 'none', |
33 'dependencies': [ | 38 'dependencies': [ |
34 '<@(component_libs)', | 39 '<@(component_libs)', |
35 ], | 40 ], |
36 'export_dependent_settings': [ | 41 'export_dependent_settings': [ |
37 '<@(component_libs)', | 42 '<@(component_libs)', |
38 ], | 43 ], |
39 }, | 44 }, |
40 ], | 45 ], |
41 } | 46 } |
42 | 47 |
43 # Local Variables: | 48 # Local Variables: |
44 # tab-width:2 | 49 # tab-width:2 |
45 # indent-tabs-mode:nil | 50 # indent-tabs-mode:nil |
46 # End: | 51 # End: |
47 # vim: set expandtab tabstop=2 shiftwidth=2: | 52 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |