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

Side by Side Diff: gyp/common.gypi

Issue 16099014: enable shared lib support in linux for lua (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: move sklua 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 | « no previous file | 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 27 matching lines...) Expand all
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"', { 40 [ 'skia_os == "chromeos" and OS != "linux"', {
41 'error': '<!(Skia ChromeOS build is only supported on Linux.)', 41 'error': '<!(Skia ChromeOS build is only supported on Linux.)',
42 }], 42 }],
43 [ 'skia_os == "chromeos" and not skia_cros_target', { 43 [ 'skia_os == "chromeos" and not skia_cros_target', {
44 'error': '<!(skia_cros_target must be defined for ChromeOS)', 44 'error': '<!(skia_cros_target must be defined for ChromeOS)',
45 }], 45 }],
46 ], 46 ],
47 }, 47 },
48 # Validate the 'skia_os' setting against 'skia_shared_lib', because shared
49 # library build is only supported on Android.
50 'variables': {
51 'conditions': [
52 [ 'skia_os != "android" and skia_shared_lib', {
53 'error': '<!(Skia shared lib build only currently supported on Android .)',
54 }],
55 ],
56 },
57 'includes': [ 48 'includes': [
58 'common_conditions.gypi', 49 'common_conditions.gypi',
59 ], 50 ],
60 'conditions': [ 51 'conditions': [
61 [ 'skia_scalar == "float"', 52 [ 'skia_scalar == "float"',
62 { 53 {
63 'defines': [ 54 'defines': [
64 'SK_SCALAR_IS_FLOAT', 55 'SK_SCALAR_IS_FLOAT',
65 'SK_CAN_USE_FLOAT', 56 'SK_CAN_USE_FLOAT',
66 ], 57 ],
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 ], 111 ],
121 }, 112 },
122 }, 113 },
123 }, # end 'target_defaults' 114 }, # end 'target_defaults'
124 } 115 }
125 # Local Variables: 116 # Local Variables:
126 # tab-width:2 117 # tab-width:2
127 # indent-tabs-mode:nil 118 # indent-tabs-mode:nil
128 # End: 119 # End:
129 # vim: set expandtab tabstop=2 shiftwidth=2: 120 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | gyp/common_conditions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698