• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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': [
11      [ 'skia_arch_type == "x86" and skia_os != "android"', {
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      }],
27    ],
28  },
29  'targets': [
30    {
31      'target_name': 'skia_base_libs',
32      'type': 'none',
33      'dependencies': [
34        '<@(component_libs)',
35      ],
36      'export_dependent_settings': [
37        '<@(component_libs)',
38      ],
39    },
40  ],
41}
42
43# Local Variables:
44# tab-width:2
45# indent-tabs-mode:nil
46# End:
47# vim: set expandtab tabstop=2 shiftwidth=2:
48