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

Side by Side Diff: gyp/core.gyp

Issue 19808007: Split atomic and mutex implementations and make inlinable. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Include all the files. Created 7 years, 5 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 | « no previous file | gyp/core.gypi » ('j') | include/core/SkThread.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Core Skia library code. 1 # Core Skia library code.
2 { 2 {
3 'targets': [ 3 'targets': [
4 { 4 {
5 'target_name': 'core', 5 'target_name': 'core',
6 'product_name': 'skia_core', 6 'product_name': 'skia_core',
7 'type': 'static_library', 7 'type': 'static_library',
8 'standalone_static_library': 1, 8 'standalone_static_library': 1,
9 'msvs_guid': 'B7760B5E-BFA8-486B-ACFD-49E3A6DE8E76', 9 'msvs_guid': 'B7760B5E-BFA8-486B-ACFD-49E3A6DE8E76',
10 10
11 'variables': {
12 'variables': { 'conditions': [
13 [ 'skia_os == "win"', {
14 'skia_atomics_impl': 'win',
15 'skia_mutex_impl': 'win',
16 }, {
djsollen 2013/07/25 16:00:34 Is this where we are supposed to put the android f
bungeman-skia 2013/09/26 17:16:23 Yes, when we get a skia_android_framework I suppos
17 'skia_atomics_impl': 'sync',
18 'skia_mutex_impl': 'pthread',
19 }],
20 ]},
21 'skia_atomics_header': 'SkAtomics_<(skia_atomics_impl).h',
22 'skia_mutex_header': 'SkMutex_<(skia_mutex_impl).h',
23 },
24
25 'defines': [
26 'SK_ATOMICS_PLATFORM_H="<(skia_atomics_header)"',
27 'SK_MUTEX_PLATFORM_H="<(skia_mutex_header)"',
28 ],
29
11 'includes': [ 30 'includes': [
12 'core.gypi', 31 'core.gypi',
13 ], 32 ],
14 33
15 'include_dirs': [ 34 'include_dirs': [
16 '../include/config', 35 '../include/config',
17 '../include/core', 36 '../include/core',
18 '../include/lazy', 37 '../include/lazy',
19 '../include/pathops', 38 '../include/pathops',
20 '../include/pipe', 39 '../include/pipe',
21 '../include/ports', 40 '../include/ports',
22 '../include/utils', 41 '../include/utils',
23 '../include/xml', 42 '../include/xml',
24 '../src/core', 43 '../src/core',
25 '../src/image', 44 '../src/image',
45 '../src/ports',
26 ], 46 ],
27 'sources': [ 47 'sources': [
28 'core.gypi', # Makes the gypi appear in IDEs (but does not modify the bu ild). 48 'core.gypi', # Makes the gypi appear in IDEs (but does not modify the bu ild).
29 ], 49 ],
30 'msvs_disabled_warnings': [4244, 4267,4345, 4390, 4554, 4800], 50 'msvs_disabled_warnings': [4244, 4267,4345, 4390, 4554, 4800],
31 'conditions': [ 51 'conditions': [
32 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { 52 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', {
33 'link_settings': { 53 'link_settings': {
34 'libraries': [ 54 'libraries': [
35 '-lpthread', 55 '-lpthread',
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 '../src/core/SkUtilsArm.h', 108 '../src/core/SkUtilsArm.h',
89 ], 109 ],
90 }], 110 }],
91 ['skia_gpu == 1', { 111 ['skia_gpu == 1', {
92 'include_dirs': [ 112 'include_dirs': [
93 '../include/gpu', 113 '../include/gpu',
94 '../src/gpu', 114 '../src/gpu',
95 ], 115 ],
96 }], 116 }],
97 ], 117 ],
118 'all_dependent_settings': {
119 'defines': [
120 'SK_ATOMICS_PLATFORM_H="<(skia_atomics_header)"',
121 'SK_MUTEX_PLATFORM_H="<(skia_mutex_header)"',
122 ],
123 'include_dirs': [
124 '../src/ports',
125 ],
126 },
98 'direct_dependent_settings': { 127 'direct_dependent_settings': {
99 'include_dirs': [ 128 'include_dirs': [
100 'config', 129 'config',
101 '../include/config', 130 '../include/config',
102 '../include/core', 131 '../include/core',
103 '../include/lazy', 132 '../include/lazy',
104 '../include/pathops', 133 '../include/pathops',
105 '../include/pipe', 134 '../include/pipe',
106 'ext', 135 'ext',
107 ], 136 ],
(...skipping 17 matching lines...) Expand all
125 }, 154 },
126 }, 155 },
127 ], 156 ],
128 } 157 }
129 158
130 # Local Variables: 159 # Local Variables:
131 # tab-width:2 160 # tab-width:2
132 # indent-tabs-mode:nil 161 # indent-tabs-mode:nil
133 # End: 162 # End:
134 # vim: set expandtab tabstop=2 shiftwidth=2: 163 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | gyp/core.gypi » ('j') | include/core/SkThread.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698