Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: gyp/skia_lib.gyp

Issue 15855006: prepare skia for shared library build on android (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: rebasing Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « gyp/skia_base_libs.gyp ('k') | gyp/tests.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 'variables': { 4 'variables': {
4 'component_libs': [ 5 'component_libs': [
5 'core.gyp:core', 6 'core.gyp:core',
7 'effects.gyp:effects',
8 'images.gyp:images',
6 'opts.gyp:opts', 9 'opts.gyp:opts',
7 'ports.gyp:ports', 10 'ports.gyp:ports',
11 'sfnt.gyp:sfnt',
8 'utils.gyp:utils', 12 'utils.gyp:utils',
9 ], 13 ],
10 'conditions': [ 14 'conditions': [
11 [ 'skia_arch_type == "x86" and skia_os != "android"', { 15 [ 'skia_arch_type == "x86" and skia_os != "android"', {
12 'component_libs': [ 16 'component_libs': [
13 'opts.gyp:opts_ssse3', 17 'opts.gyp:opts_ssse3',
14 ], 18 ],
15 }], 19 }],
16 [ 'arm_neon == 1', { 20 [ 'arm_neon == 1', {
17 'component_libs': [ 21 'component_libs': [
18 'opts.gyp:opts_neon', 22 'opts.gyp:opts_neon',
19 ], 23 ],
20 }], 24 }],
21 [ 'skia_gpu', { 25 [ 'skia_gpu', {
22 'component_libs': [ 26 'component_libs': [
23 'gpu.gyp:gr', 27 'gpu.gyp:gr',
24 'gpu.gyp:skgr', 28 'gpu.gyp:skgr',
25 ], 29 ],
26 }], 30 }],
27 [ 'skia_os == "nacl"', { 31 [ 'skia_os == "nacl"', {
28 'component_libs': [ 32 'component_libs': [
29 'freetype.gyp:freetype', 33 'freetype.gyp:freetype',
30 ], 34 ],
31 }], 35 }],
32 ], 36 ],
33 }, 37 },
34 'targets': [ 38 'targets': [
35 { 39 {
36 'target_name': 'skia_base_libs', 40 'target_name': 'skia_lib',
37 'type': 'none', 41 'conditions': [
42 [ 'skia_shared_lib', {
43 'conditions': [
44 [ 'skia_os == "android"', {
45 # The name skia will confuse the linker on android into using the system's libskia.so
46 # instead of the one packaged with the apk. We simply choose a dif ferent name to fix
47 # this.
48 'product_name': 'skia_android',
49 }, {
50 'product_name': 'skia',
51 }],
52 ],
53 'type': 'shared_library',
54 }, {
55 'type': 'none',
56 }],
57 ],
38 'dependencies': [ 58 'dependencies': [
39 '<@(component_libs)', 59 '<@(component_libs)',
40 ], 60 ],
41 'export_dependent_settings': [ 61 'export_dependent_settings': [
42 '<@(component_libs)', 62 '<@(component_libs)',
43 ], 63 ],
44 }, 64 },
45 ], 65 ],
46 } 66 }
47 67
48 # Local Variables: 68 # Local Variables:
49 # tab-width:2 69 # tab-width:2
50 # indent-tabs-mode:nil 70 # indent-tabs-mode:nil
51 # End: 71 # End:
52 # vim: set expandtab tabstop=2 shiftwidth=2: 72 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « gyp/skia_base_libs.gyp ('k') | gyp/tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698