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

Side by Side Diff: gyp/common_conditions.gypi

Issue 2198073002: Default fake gamma to sRGB. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: clean up Created 4 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
OLDNEW
1 # Copyright 2015 Google Inc. 1 # Copyright 2015 Google Inc.
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 # conditions used in both common.gypi and skia.gyp in chromium 6 # conditions used in both common.gypi and skia.gyp in chromium
7 # 7 #
8 { 8 {
9 'defines': [ 9 'defines': [
10 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', 10 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)',
11 'SK_SUPPORT_GPU=<(skia_gpu)', 11 'SK_SUPPORT_GPU=<(skia_gpu)',
12 'SK_FORCE_DISTANCE_FIELD_TEXT=<(skia_force_distance_field_text)', 12 'SK_FORCE_DISTANCE_FIELD_TEXT=<(skia_force_distance_field_text)',
13 13
14 # Indicate that all dependency libraries are present. Clients that 14 # Indicate that all dependency libraries are present. Clients that
15 # are missing some of the required decoding libraries may choose 15 # are missing some of the required decoding libraries may choose
16 # not to define these. This will disable some decoder and encoder 16 # not to define these. This will disable some decoder and encoder
17 # features. 17 # features.
18 'SK_HAS_GIF_LIBRARY', 18 'SK_HAS_GIF_LIBRARY',
19 'SK_HAS_JPEG_LIBRARY', 19 'SK_HAS_JPEG_LIBRARY',
20 'SK_HAS_PNG_LIBRARY', 20 'SK_HAS_PNG_LIBRARY',
21 'SK_HAS_WEBP_LIBRARY', 21 'SK_HAS_WEBP_LIBRARY',
22 ], 22 ],
23 'conditions' : [ 23 'conditions' : [
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after
623 'GCC_THUMB_SUPPORT': 'NO', # TODO(mtklein): why would we not want thu mb? 623 'GCC_THUMB_SUPPORT': 'NO', # TODO(mtklein): why would we not want thu mb?
624 }, 624 },
625 }, 625 },
626 ], 626 ],
627 627
628 [ 'skia_os == "android"', 628 [ 'skia_os == "android"',
629 { 629 {
630 'defines': [ 630 'defines': [
631 'SK_BUILD_FOR_ANDROID', 631 'SK_BUILD_FOR_ANDROID',
632 632
633 # Android Text Tuning 633 # Android defines a fixed text gamma exponent instead of using SRGB
634 'SK_GAMMA_EXPONENT=1.4', 634 'SK_GAMMA_EXPONENT=1.4',
635 'SK_GAMMA_CONTRAST=0.0', 635 'SK_GAMMA_CONTRAST=0.0',
636 ], 636 ],
637 # Android defines a fixed gamma exponent instead of using SRGB
638 'defines!': [
639 'SK_GAMMA_SRGB',
640 ],
641 'configurations': { 637 'configurations': {
642 'Release': { 638 'Release': {
643 'cflags': ['-O2'], 639 'cflags': ['-O2'],
644 'conditions': [ 640 'conditions': [
645 [ 'skia_clang_build', { 641 [ 'skia_clang_build', {
646 'cflags!': ['-g'], 642 'cflags!': ['-g'],
647 'cflags': [ '-gline-tables-only' ], 643 'cflags': [ '-gline-tables-only' ],
648 }], 644 }],
649 ], 645 ],
650 }, 646 },
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], 704 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'],
709 }, 705 },
710 }], 706 }],
711 707
712 ], # end 'conditions' 708 ], # end 'conditions'
713 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details 709 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details
714 'xcode_settings': { 710 'xcode_settings': {
715 'SYMROOT': '<(DEPTH)/xcodebuild', 711 'SYMROOT': '<(DEPTH)/xcodebuild',
716 }, 712 },
717 } 713 }
OLDNEW
« no previous file with comments | « gyp/common.gypi ('k') | include/core/SkPostConfig.h » ('j') | include/core/SkPostConfig.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698