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

Side by Side Diff: gyp/common.gypi

Issue 16099011: GYP changes and scripts for compiling Skia for ChromeOS (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: 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
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 19 matching lines...) Expand all
30 }], 30 }],
31 [ 'skia_angle and not skia_os == "win"', { 31 [ 'skia_angle and not skia_os == "win"', {
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 [ 'skia_os == "chromeos" and OS != "linux"', {
41 'error': '<!(Skia ChromeOS build is only supported on Linux.)',
42 }],
43 [ 'skia_os == "chromeos" and not skia_cros_target', {
44 'error': '<!(skia_cros_target must be defined for ChromeOS)',
45 }],
borenet 2013/06/11 13:25:43 I added these checks, but none of these seem to ac
40 ], 46 ],
41 }, 47 },
42 # Validate the 'skia_os' setting against 'skia_shared_lib', because shared 48 # Validate the 'skia_os' setting against 'skia_shared_lib', because shared
43 # library build is only supported on Android. 49 # library build is only supported on Android.
44 'variables': { 50 'variables': {
45 'conditions': [ 51 'conditions': [
46 [ 'skia_os != "android" and skia_shared_lib', { 52 [ 'skia_os != "android" and skia_shared_lib', {
47 'error': '<!(Skia shared lib build only currently supported on Android .)', 53 'error': '<!(Skia shared lib build only currently supported on Android .)',
48 }], 54 }],
49 ], 55 ],
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 ], 120 ],
115 }, 121 },
116 }, 122 },
117 }, # end 'target_defaults' 123 }, # end 'target_defaults'
118 } 124 }
119 # Local Variables: 125 # Local Variables:
120 # tab-width:2 126 # tab-width:2
121 # indent-tabs-mode:nil 127 # indent-tabs-mode:nil
122 # End: 128 # End:
123 # vim: set expandtab tabstop=2 shiftwidth=2: 129 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698