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 { |
3 'variables': { | 4 'variables': { |
4 'component_libs': [ | 5 'component_libs': [ |
5 'core.gyp:core', | 6 'core.gyp:core', |
7 'effects.gyp:effects', | |
8 'images.gyp:images', | |
6 'opts.gyp:opts', | 9 'opts.gyp:opts', |
7 'ports.gyp:ports', | 10 'ports.gyp:ports', |
11 'sfnt.gyp:sfnt', | |
8 'utils.gyp:utils', | 12 'utils.gyp:utils', |
9 ], | 13 ], |
10 'conditions': [ | 14 'conditions': [ |
11 [ 'skia_arch_type == "x86" and skia_os != "android"', { | 15 [ 'skia_arch_type == "x86" and skia_os != "android"', { |
12 'component_libs': [ | 16 'component_libs': [ |
13 'opts.gyp:opts_ssse3', | 17 'opts.gyp:opts_ssse3', |
14 ], | 18 ], |
15 }], | 19 }], |
16 [ 'arm_neon == 1', { | 20 [ 'arm_neon == 1', { |
17 'component_libs': [ | 21 'component_libs': [ |
18 'opts.gyp:opts_neon', | 22 'opts.gyp:opts_neon', |
19 ], | 23 ], |
20 }], | 24 }], |
21 [ 'skia_gpu', { | 25 [ 'skia_gpu', { |
22 'component_libs': [ | 26 'component_libs': [ |
23 'gpu.gyp:gr', | 27 'gpu.gyp:gr', |
24 'gpu.gyp:skgr', | 28 'gpu.gyp:skgr', |
25 ], | 29 ], |
26 }], | 30 }], |
27 [ 'skia_os == "nacl"', { | 31 [ 'skia_os == "nacl"', { |
28 'component_libs': [ | 32 'component_libs': [ |
29 'freetype.gyp:freetype', | 33 'freetype.gyp:freetype', |
30 ], | 34 ], |
31 }], | 35 }], |
32 ], | 36 ], |
33 }, | 37 }, |
34 'targets': [ | 38 'targets': [ |
35 { | 39 { |
36 'target_name': 'skia_base_libs', | 40 'target_name': 'skia_lib', |
37 'type': 'none', | 41 'conditions': [ |
42 [ 'skia_shared_lib', { | |
43 'product_name': 'skia_local', | |
borenet
2013/05/31 14:29:57
Maybe I missed the discussion, but this name doesn
| |
44 'type': 'shared_library', | |
45 }, { | |
46 'type': 'none', | |
47 }], | |
48 ], | |
38 'dependencies': [ | 49 'dependencies': [ |
39 '<@(component_libs)', | 50 '<@(component_libs)', |
40 ], | 51 ], |
41 'export_dependent_settings': [ | 52 'export_dependent_settings': [ |
42 '<@(component_libs)', | 53 '<@(component_libs)', |
43 ], | 54 ], |
44 }, | 55 }, |
45 ], | 56 ], |
46 } | 57 } |
47 | 58 |
48 # Local Variables: | 59 # Local Variables: |
49 # tab-width:2 | 60 # tab-width:2 |
50 # indent-tabs-mode:nil | 61 # indent-tabs-mode:nil |
51 # End: | 62 # End: |
52 # vim: set expandtab tabstop=2 shiftwidth=2: | 63 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |