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

Side by Side Diff: skia/skia.gyp

Issue 22435002: Android WebView: support building against system skia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update include to match skia roll Created 7 years, 4 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 | « build/common.gypi ('k') | skia/skia_system.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 content 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 content 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', {
12 'targets': [
13 {
14 'target_name': 'skia_library',
15 'type': 'static_library',
16 'includes': [
17 'skia_library.gypi',
18 'skia_common.gypi',
19 ],
20 },
21 ],
22 }],
23 ['component=="static_library" and use_system_skia==1', {
24 'targets': [
25 {
26 'target_name': 'skia_library',
27 'type': 'none',
28 'includes': ['skia_system.gypi'],
29 },
30 ],
31 }],
11 ['component=="static_library"', { 32 ['component=="static_library"', {
12 'targets': [ 33 'targets': [
13 { 34 {
14 'target_name': 'skia', 35 'target_name': 'skia',
15 'type': 'none', 36 'type': 'none',
16 'dependencies': [ 37 'dependencies': [
17 'skia_library', 38 'skia_library',
18 'skia_chrome', 39 'skia_chrome',
19 ], 40 ],
20 'export_dependent_settings': [ 41 'export_dependent_settings': [
21 'skia_library', 42 'skia_library',
22 'skia_chrome', 43 'skia_chrome',
23 ], 44 ],
24 }, 45 },
25 { 46 {
26 'target_name': 'skia_library',
27 'type': 'static_library',
28 'includes': [
29 'skia_library.gypi',
30 'skia_common.gypi',
31 ],
32 },
33 {
34 'target_name': 'skia_chrome', 47 'target_name': 'skia_chrome',
35 'type': 'static_library', 48 'type': 'static_library',
36 'includes': [ 49 'includes': [
37 'skia_chrome.gypi', 50 'skia_chrome.gypi',
38 'skia_common.gypi', 51 'skia_common.gypi',
39 ], 52 ],
40 }, 53 },
41 ], 54 ],
42 }, 55 },
43 { # component != static_library 56 { # component != static_library
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 ], 130 ],
118 'include_dirs': [ 131 'include_dirs': [
119 '..', 132 '..',
120 ], 133 ],
121 'sources': [ 134 'sources': [
122 'ext/image_operations_bench.cc', 135 'ext/image_operations_bench.cc',
123 ], 136 ],
124 }, 137 },
125 ], 138 ],
126 } 139 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | skia/skia_system.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698