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

Side by Side Diff: skia/skia.gyp

Issue 19477005: Improve Skia configuration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Add missing file. 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
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'conditions': [ 6 'conditions': [
7 # In component mode (shared_lib), we build all of skia as a single DLL. 7 # In component mode (shared_lib), we build all of skia as a single DLL.
8 # However, in the static mode, we need to build skia as multiple targets 8 # However, in the static mode, we need to build skia as multiple targets
9 # in order to support the use case where a platform (e.g. Android) may 9 # in order to support the use case where a platform (e.g. Android) may
10 # already have a copy of skia as a system library. 10 # already have a copy of skia as a system library.
11 ['component=="static_library" and use_system_skia==0', { 11 ['component=="static_library" and use_system_skia==0', {
12 'targets': [ 12 'targets': [
13 { 13 {
14 'target_name': 'skia_library', 14 'target_name': 'skia_library',
15 'type': 'static_library', 15 'type': 'static_library',
16 'includes': [ 16 'includes': [
17 'skia_common.gypi',
17 'skia_library.gypi', 18 'skia_library.gypi',
18 'skia_common.gypi',
19 ], 19 ],
20 }, 20 },
21 ], 21 ],
22 }], 22 }],
23 ['component=="static_library" and use_system_skia==1', { 23 ['component=="static_library" and use_system_skia==1', {
24 'targets': [ 24 'targets': [
25 { 25 {
26 'target_name': 'skia_library', 26 'target_name': 'skia_library',
27 'type': 'none', 27 'type': 'none',
28 'includes': ['skia_system.gypi'], 28 'includes': ['skia_system.gypi'],
(...skipping 11 matching lines...) Expand all
40 ], 40 ],
41 'export_dependent_settings': [ 41 'export_dependent_settings': [
42 'skia_library', 42 'skia_library',
43 'skia_chrome', 43 'skia_chrome',
44 ], 44 ],
45 }, 45 },
46 { 46 {
47 'target_name': 'skia_chrome', 47 'target_name': 'skia_chrome',
48 'type': 'static_library', 48 'type': 'static_library',
49 'includes': [ 49 'includes': [
50 'skia_common.gypi',
50 'skia_chrome.gypi', 51 'skia_chrome.gypi',
51 'skia_common.gypi',
52 ], 52 ],
53 }, 53 },
54 ], 54 ],
55 }, 55 },
56 { # component != static_library 56 { # component != static_library
57 'targets': [ 57 'targets': [
58 { 58 {
59 'target_name': 'skia', 59 'target_name': 'skia',
60 'type': 'shared_library', 60 'type': 'shared_library',
61 'includes': [ 61 'includes': [
62 'skia_common.gypi',
62 'skia_library.gypi', 63 'skia_library.gypi',
63 'skia_chrome.gypi', 64 'skia_chrome.gypi',
64 'skia_common.gypi',
65 ], 65 ],
66 'defines': [ 66 'defines': [
67 'SKIA_DLL', 67 'SKIA_DLL',
68 'SKIA_IMPLEMENTATION=1', 68 'SKIA_IMPLEMENTATION=1',
69 ], 69 ],
70 'direct_dependent_settings': { 70 'direct_dependent_settings': {
71 'defines': [ 71 'defines': [
72 'SKIA_DLL', 72 'SKIA_DLL',
73 ], 73 ],
74 }, 74 },
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 ], 127 ],
128 'include_dirs': [ 128 'include_dirs': [
129 '..', 129 '..',
130 ], 130 ],
131 'sources': [ 131 'sources': [
132 'ext/image_operations_bench.cc', 132 'ext/image_operations_bench.cc',
133 ], 133 ],
134 }, 134 },
135 ], 135 ],
136 } 136 }
OLDNEW
« no previous file with comments | « skia/config/SkUserConfig.h ('k') | skia/skia_chrome.gypi » ('j') | skia/skia_library.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698