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

Side by Side Diff: gyp/common.gypi

Issue 15855006: prepare skia for shared library build on android (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: rebasing 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/bench.gyp ('k') | gyp/common_conditions.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 2011 The Android Open Source Project 1 # Copyright 2011 The Android Open Source Project
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 # 5 #
6 # This file is automatically included by gyp_skia when building any target. 6 # This file is automatically included by gyp_skia when building any target.
7 7
8 { 8 {
9 'includes': [ 9 'includes': [
10 'common_variables.gypi', 10 'common_variables.gypi',
(...skipping 21 matching lines...) Expand all
32 'error': '<!(skia_angle=1 only supported with skia_os="win".)', 32 'error': '<!(skia_angle=1 only supported with skia_os="win".)',
33 }], 33 }],
34 [ 'skia_arch_width != 32 and skia_arch_width != 64', { 34 [ 'skia_arch_width != 32 and skia_arch_width != 64', {
35 'error': '<!(skia_arch_width can only be 32 or 64 bits not <(skia_arch _width) bits)', 35 'error': '<!(skia_arch_width can only be 32 or 64 bits not <(skia_arch _width) bits)',
36 }], 36 }],
37 [ 'skia_os == "nacl" and OS != "linux"', { 37 [ 'skia_os == "nacl" and OS != "linux"', {
38 'error': '<!(Skia NaCl build only currently supported on Linux.)', 38 'error': '<!(Skia NaCl build only currently supported on Linux.)',
39 }], 39 }],
40 ], 40 ],
41 }, 41 },
42 # Validate the 'skia_os' setting against 'skia_shared_lib', because shared
43 # library build is only supported on Android.
44 'variables': {
45 'conditions': [
46 [ 'skia_os != "android" and skia_shared_lib', {
47 'error': '<!(Skia shared lib build only currently supported on Android .)',
48 }],
49 ],
50 },
42 'includes': [ 51 'includes': [
43 'common_conditions.gypi', 52 'common_conditions.gypi',
44 ], 53 ],
45 'conditions': [ 54 'conditions': [
46 [ 'skia_scalar == "float"', 55 [ 'skia_scalar == "float"',
47 { 56 {
48 'defines': [ 57 'defines': [
49 'SK_SCALAR_IS_FLOAT', 58 'SK_SCALAR_IS_FLOAT',
50 'SK_CAN_USE_FLOAT', 59 'SK_CAN_USE_FLOAT',
51 ], 60 ],
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 ], 114 ],
106 }, 115 },
107 }, 116 },
108 }, # end 'target_defaults' 117 }, # end 'target_defaults'
109 } 118 }
110 # Local Variables: 119 # Local Variables:
111 # tab-width:2 120 # tab-width:2
112 # indent-tabs-mode:nil 121 # indent-tabs-mode:nil
113 # End: 122 # End:
114 # vim: set expandtab tabstop=2 shiftwidth=2: 123 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « gyp/bench.gyp ('k') | gyp/common_conditions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698