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

Side by Side Diff: gyp/common.gypi

Issue 1259653004: remove flags that control no code (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | gyp/pdf.gyp » ('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',
11 ], 11 ],
12 12
13 'target_defaults': { 13 'target_defaults': {
14 'defines': [ 14 'defines': [
15 'SK_INTERNAL', 15 'SK_INTERNAL',
16 'SK_GAMMA_SRGB', 16 'SK_GAMMA_SRGB',
17 'SK_GAMMA_APPLY_TO_A8', 17 'SK_GAMMA_APPLY_TO_A8',
18 'SK_SCALAR_TO_FLOAT_EXCLUDED', # temporary to allow Chrome to call SkFloa tToScalar
19 # 'SK_USE_DISCARDABLE_SCALEDIMAGECACHE', # TODO(reed): Re-enable when tes ts don't crash with this. 18 # 'SK_USE_DISCARDABLE_SCALEDIMAGECACHE', # TODO(reed): Re-enable when tes ts don't crash with this.
20 ], 19 ],
21 20
22 # Validate the 'skia_os' setting against 'OS', because only certain 21 # Validate the 'skia_os' setting against 'OS', because only certain
23 # combinations work. You should only override 'skia_os' for certain 22 # combinations work. You should only override 'skia_os' for certain
24 # situations, like building for iOS on a Mac. 23 # situations, like building for iOS on a Mac.
25 'variables': { 24 'variables': {
26 'conditions': [ 25 'conditions': [
27 [ 'skia_os != OS and not ((skia_os == "ios" and OS == "mac") or \ 26 [ 'skia_os != OS and not ((skia_os == "ios" and OS == "mac") or \
28 (skia_os == "chromeos" and OS == "linux"))', { 27 (skia_os == "chromeos" and OS == "linux"))', {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 'Release': { 'defines': [ 'NDEBUG' ] }, 78 'Release': { 'defines': [ 'NDEBUG' ] },
80 'Release_Developer': { 79 'Release_Developer': {
81 'inherit_from': ['Release'], 80 'inherit_from': ['Release'],
82 'defines': [ 'SK_DEVELOPER=1' ], 81 'defines': [ 'SK_DEVELOPER=1' ],
83 }, 82 },
84 }, 83 },
85 }], 84 }],
86 ], 85 ],
87 }, # end 'target_defaults' 86 }, # end 'target_defaults'
88 } 87 }
OLDNEW
« no previous file with comments | « no previous file | gyp/pdf.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698