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

Side by Side Diff: gyp/common.gypi

Issue 855273003: remove dead code for scalar type (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « no previous file | no next file » | 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 }], 43 }],
44 [ 'skia_os == "chromeos" and OS != "linux"', { 44 [ 'skia_os == "chromeos" and OS != "linux"', {
45 'error': '<!(Skia ChromeOS build is only supported on Linux.)', 45 'error': '<!(Skia ChromeOS build is only supported on Linux.)',
46 }], 46 }],
47 ], 47 ],
48 }, 48 },
49 'includes': [ 49 'includes': [
50 'common_conditions.gypi', 50 'common_conditions.gypi',
51 ], 51 ],
52 'conditions': [ 52 'conditions': [
53 [ 'skia_scalar == "float"',
54 {
55 'defines': [
56 'SK_SCALAR_IS_FLOAT',
57 ],
58 }, { # else, skia_scalar != "float"
59 'defines': [
60 'SK_SCALAR_IS_FIXED',
61 ],
62 }
63 ],
64 [ 'skia_mesa', { 53 [ 'skia_mesa', {
65 'defines': [ 54 'defines': [
66 'SK_MESA', 55 'SK_MESA',
67 ], 56 ],
68 'direct_dependent_settings': { 57 'direct_dependent_settings': {
69 'defines': [ 58 'defines': [
70 'SK_MESA', 59 'SK_MESA',
71 ], 60 ],
72 }, 61 },
73 }], 62 }],
(...skipping 23 matching lines...) Expand all
97 'Release': { 'defines': [ 'NDEBUG' ] }, 86 'Release': { 'defines': [ 'NDEBUG' ] },
98 'Release_Developer': { 87 'Release_Developer': {
99 'inherit_from': ['Release'], 88 'inherit_from': ['Release'],
100 'defines': [ 'SK_DEVELOPER=1' ], 89 'defines': [ 'SK_DEVELOPER=1' ],
101 }, 90 },
102 }, 91 },
103 }], 92 }],
104 ], 93 ],
105 }, # end 'target_defaults' 94 }, # end 'target_defaults'
106 } 95 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698