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