blob: 6f8e9cfeb6d286a2d2c23f9b9e23d0818644c766 [file] [log] [blame]
djsollen@google.com52f02972013-06-03 12:10:19 +00001# The minimal set of static libraries for basic Skia functionality.
2
3{
4 'variables': {
5 'component_libs': [
6 'core.gyp:core',
7 'effects.gyp:effects',
8 'images.gyp:images',
9 'opts.gyp:opts',
10 'ports.gyp:ports',
11 'sfnt.gyp:sfnt',
12 'utils.gyp:utils',
13 ],
14 'conditions': [
15 [ 'skia_arch_type == "x86" and skia_os != "android"', {
16 'component_libs': [
17 'opts.gyp:opts_ssse3',
18 ],
19 }],
20 [ 'arm_neon == 1', {
21 'component_libs': [
22 'opts.gyp:opts_neon',
23 ],
24 }],
25 [ 'skia_gpu', {
26 'component_libs': [
robertphillips@google.come63296e2013-06-18 14:43:53 +000027 'gpu.gyp:skgpu',
djsollen@google.com52f02972013-06-03 12:10:19 +000028 ],
29 }],
djsollen@google.com52f02972013-06-03 12:10:19 +000030 ],
31 },
32 'targets': [
33 {
34 'target_name': 'skia_lib',
35 'conditions': [
36 [ 'skia_shared_lib', {
37 'conditions': [
38 [ 'skia_os == "android"', {
39 # The name skia will confuse the linker on android into using the system's libskia.so
40 # instead of the one packaged with the apk. We simply choose a different name to fix
41 # this.
42 'product_name': 'skia_android',
43 }, {
44 'product_name': 'skia',
45 }],
46 ],
47 'type': 'shared_library',
48 }, {
49 'type': 'none',
50 }],
51 ],
52 'dependencies': [
53 '<@(component_libs)',
54 ],
55 'export_dependent_settings': [
56 '<@(component_libs)',
57 ],
58 },
59 ],
60}
61
62# Local Variables:
63# tab-width:2
64# indent-tabs-mode:nil
65# End:
66# vim: set expandtab tabstop=2 shiftwidth=2: