| 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 { |
| 4 'variables': { | 4 'variables': { |
| 5 'component_libs': [ | 5 'component_libs': [ |
| 6 'core.gyp:core', | 6 'core.gyp:core', |
| 7 'effects.gyp:effects', | 7 'effects.gyp:effects', |
| 8 'images.gyp:images', | 8 'images.gyp:images', |
| 9 'opts.gyp:opts', | 9 'opts.gyp:opts', |
| 10 'ports.gyp:ports', | 10 'ports.gyp:ports', |
| 11 'sfnt.gyp:sfnt', | 11 'sfnt.gyp:sfnt', |
| 12 'utils.gyp:utils', | 12 'utils.gyp:utils', |
| 13 ], | 13 ], |
| 14 'conditions': [ | 14 'conditions': [ |
| 15 [ 'skia_arch_type == "x86" and skia_os != "android"', { | 15 [ 'skia_arch_type == "x86" and skia_os != "android"', { |
| 16 'component_libs': [ | 16 'component_libs': [ |
| 17 'opts.gyp:opts_ssse3', | 17 'opts.gyp:opts_ssse3', |
| 18 ], | 18 ], |
| 19 }], | 19 }], |
| 20 [ 'arm_neon == 1', { | 20 [ 'arm_neon == 1', { |
| 21 'component_libs': [ | 21 'component_libs': [ |
| 22 'opts.gyp:opts_neon', | 22 'opts.gyp:opts_neon', |
| 23 ], | 23 ], |
| 24 }], | 24 }], |
| 25 [ 'skia_gpu', { | 25 [ 'skia_gpu', { |
| 26 'component_libs': [ | 26 'component_libs': [ |
| 27 'gpu.gyp:skgpu', | 27 'gpu.gyp:skgpu', |
| 28 ], | 28 ], |
| 29 }], | 29 }], |
| 30 [ 'skia_os == "nacl"', { | |
| 31 'component_libs': [ | |
| 32 'freetype.gyp:freetype', | |
| 33 ], | |
| 34 }], | |
| 35 ], | 30 ], |
| 36 }, | 31 }, |
| 37 'targets': [ | 32 'targets': [ |
| 38 { | 33 { |
| 39 'target_name': 'skia_lib', | 34 'target_name': 'skia_lib', |
| 40 'conditions': [ | 35 'conditions': [ |
| 41 [ 'skia_shared_lib', { | 36 [ 'skia_shared_lib', { |
| 42 'conditions': [ | 37 'conditions': [ |
| 43 [ 'skia_os == "android"', { | 38 [ 'skia_os == "android"', { |
| 44 # The name skia will confuse the linker on android into using the
system's libskia.so | 39 # The name skia will confuse the linker on android into using the
system's libskia.so |
| (...skipping 17 matching lines...) Expand all Loading... |
| 62 ], | 57 ], |
| 63 }, | 58 }, |
| 64 ], | 59 ], |
| 65 } | 60 } |
| 66 | 61 |
| 67 # Local Variables: | 62 # Local Variables: |
| 68 # tab-width:2 | 63 # tab-width:2 |
| 69 # indent-tabs-mode:nil | 64 # indent-tabs-mode:nil |
| 70 # End: | 65 # End: |
| 71 # vim: set expandtab tabstop=2 shiftwidth=2: | 66 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |