| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//printing/features/features.gni") | 7 import("//printing/features/features.gni") |
| 8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
| 9 import("//third_party/skia/gn/shared_sources.gni") | 9 import("//third_party/skia/gn/shared_sources.gni") |
| 10 | 10 |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 ] | 142 ] |
| 143 } else if (is_android) { | 143 } else if (is_android) { |
| 144 defines += [ | 144 defines += [ |
| 145 "SK_GAMMA_APPLY_TO_A8", | 145 "SK_GAMMA_APPLY_TO_A8", |
| 146 "SK_GAMMA_EXPONENT=1.4", | 146 "SK_GAMMA_EXPONENT=1.4", |
| 147 "SK_GAMMA_CONTRAST=0.0", | 147 "SK_GAMMA_CONTRAST=0.0", |
| 148 ] | 148 ] |
| 149 } else if (is_win) { | 149 } else if (is_win) { |
| 150 defines += [ | 150 defines += [ |
| 151 "SK_GAMMA_SRGB", | 151 "SK_GAMMA_SRGB", |
| 152 "SK_GAMMA_CONTRAST=0.5", | 152 "SK_GAMMA_CONTRAST=1.0", |
| 153 ] | 153 ] |
| 154 } else if (is_mac) { | 154 } else if (is_mac) { |
| 155 defines += [ | 155 defines += [ |
| 156 "SK_GAMMA_SRGB", | 156 "SK_GAMMA_SRGB", |
| 157 "SK_GAMMA_CONTRAST=0.0", | 157 "SK_GAMMA_CONTRAST=0.0", |
| 158 ] | 158 ] |
| 159 } | 159 } |
| 160 | 160 |
| 161 if (is_android) { | 161 if (is_android) { |
| 162 defines += [ | 162 defines += [ |
| (...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 725 | 725 |
| 726 deps = [ | 726 deps = [ |
| 727 ":skia", | 727 ":skia", |
| 728 "//base", | 728 "//base", |
| 729 "//base/test:test_support", | 729 "//base/test:test_support", |
| 730 "//build/config/sanitizers:deps", | 730 "//build/config/sanitizers:deps", |
| 731 "//build/win:default_exe_manifest", | 731 "//build/win:default_exe_manifest", |
| 732 ] | 732 ] |
| 733 } | 733 } |
| 734 } | 734 } |
| OLD | NEW |