blob: 83cc7c75295ea44e1d1f7ba8a25338fdd6525453 [file] [log] [blame]
borenet@google.comefb1d772012-10-10 19:45:51 +00001# 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.com98d97fc2013-01-18 15:21:54 +000011 [ 'skia_arch_type == "x86" and skia_os != "android"', {
borenet@google.comefb1d772012-10-10 19:45:51 +000012 '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.comcef21e42013-03-01 20:28:57 +000027 [ 'skia_os == "nacl"', {
28 'component_libs': [
29 'freetype.gyp:freetype',
30 ],
31 }],
borenet@google.comefb1d772012-10-10 19:45:51 +000032 ],
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: