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

Side by Side Diff: skia/skia_common.gypi

Issue 19477005: Improve Skia configuration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 2 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 | skia/skia_library.gypi » ('j') | skia/skia_library.gypi » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # This gypi file handles the removal of platform-specific files from the 5 # This gypi file handles the removal of platform-specific files from the
6 # Skia build. 6 # Skia build.
7 { 7 {
8 'conditions': [ 8 'conditions': [
9 [ 'OS != "android"', { 9 [ 'OS != "android"', {
10 'sources/': [ 10 'sources/': [
(...skipping 11 matching lines...) Expand all
22 ], 22 ],
23 }], 23 }],
24 [ 'OS != "win"', { 24 [ 'OS != "win"', {
25 'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ], 25 'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ],
26 }], 26 }],
27 [ 'use_glib == 0', { 27 [ 'use_glib == 0', {
28 'sources/': [ ['exclude', '_linux\\.(cc|cpp)$'] ], 28 'sources/': [ ['exclude', '_linux\\.(cc|cpp)$'] ],
29 }], 29 }],
30 ], 30 ],
31 31
32 'variables': {
33 'variables': { 'conditions': [
34 [ 'OS == "win"', {
35 'skia_atomics_impl': 'win',
36 'skia_mutex_impl': 'win',
37 }, {
bungeman-chromium 2013/09/26 22:42:46 djsollen: is there something that needs to go here
djsollen 2013/09/27 13:52:25 If the OS is android and use_system_skia is define
bungeman-skia 2013/09/27 17:59:13 Done.
38 'skia_atomics_impl': 'sync',
39 'skia_mutex_impl': 'pthread',
40 }],
41 ]},
42 'skia_threading_defines': [
43 'SK_ATOMICS_PLATFORM_H="third_party/skia/src/ports/SkAtomics_<(skia_atomic s_impl).h"',
44 'SK_MUTEX_PLATFORM_H="third_party/skia/src/ports/SkMutex_<(skia_mutex_impl ).h"',
45 ],
46 },
47
48 'defines': [
49 '<@(skia_threading_defines)',
50 ],
51
52 'direct_dependent_settings': {
53 'defines': [
54 '<@(skia_threading_defines)',
55 ],
56 },
57
32 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], 58 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800],
33 } 59 }
OLDNEW
« no previous file with comments | « no previous file | skia/skia_library.gypi » ('j') | skia/skia_library.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698