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

Side by Side Diff: gyp/skia_base_libs.gyp

Issue 14582008: Enable shared library build (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: rebase 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/shapeops_tool.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 'variables': { 3 'variables': {
4 'component_libs': [ 4 'component_libs': [
5 'core.gyp:core', 5 'core.gyp:core',
6 'effects.gyp:effects',
7 'images.gyp:images',
6 'opts.gyp:opts', 8 'opts.gyp:opts',
7 'ports.gyp:ports', 9 'ports.gyp:ports',
10 'sfnt.gyp:sfnt',
8 'utils.gyp:utils', 11 'utils.gyp:utils',
9 ], 12 ],
10 'conditions': [ 13 'conditions': [
11 [ 'skia_arch_type == "x86" and skia_os != "android"', { 14 [ 'skia_arch_type == "x86" and skia_os != "android"', {
12 'component_libs': [ 15 'component_libs': [
13 'opts.gyp:opts_ssse3', 16 'opts.gyp:opts_ssse3',
14 ], 17 ],
15 }], 18 }],
16 [ 'arm_neon == 1', { 19 [ 'arm_neon == 1', {
17 'component_libs': [ 20 'component_libs': [
18 'opts.gyp:opts_neon', 21 'opts.gyp:opts_neon',
19 ], 22 ],
20 }], 23 }],
21 [ 'skia_gpu', { 24 [ 'skia_gpu', {
22 'component_libs': [ 25 'component_libs': [
23 'gpu.gyp:gr', 26 'gpu.gyp:gr',
24 'gpu.gyp:skgr', 27 'gpu.gyp:skgr',
25 ], 28 ],
26 }], 29 }],
27 [ 'skia_os == "nacl"', { 30 [ 'skia_os == "nacl"', {
28 'component_libs': [ 31 'component_libs': [
29 'freetype.gyp:freetype', 32 'freetype.gyp:freetype',
30 ], 33 ],
31 }], 34 }],
32 ], 35 ],
33 }, 36 },
34 'targets': [ 37 'targets': [
35 { 38 {
36 'target_name': 'skia_base_libs', 39 'target_name': 'skia_base_libs',
37 'type': 'none', 40 'conditions': [
41 [ 'skia_shared_lib', {
42 'product_name': 'skia',
43 'type': 'shared_library',
44 'sources': [
45 '../src/dummy.cpp',
46 ],
47 'conditions': [
48 [ 'skia_os == "mac" or skia_os == "ios"', {
49 'xcode_settings': {
50 'OTHER_LDFLAGS': [
51 '-Wl,-all_load',
52 ],
53 },
54 }],
55 ],
56 }, {
57 'type': 'none',
58 }],
59 ],
38 'dependencies': [ 60 'dependencies': [
39 '<@(component_libs)', 61 '<@(component_libs)',
40 ], 62 ],
41 'export_dependent_settings': [ 63 'export_dependent_settings': [
42 '<@(component_libs)', 64 '<@(component_libs)',
43 ], 65 ],
44 }, 66 },
45 ], 67 ],
46 } 68 }
47 69
48 # Local Variables: 70 # Local Variables:
49 # tab-width:2 71 # tab-width:2
50 # indent-tabs-mode:nil 72 # indent-tabs-mode:nil
51 # End: 73 # End:
52 # vim: set expandtab tabstop=2 shiftwidth=2: 74 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « gyp/shapeops_tool.gyp ('k') | gyp/tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698