| 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("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 if (current_cpu == "arm") { | 8 if (current_cpu == "arm") { |
| 9 import("//build/config/arm.gni") | 9 import("//build/config/arm.gni") |
| 10 } | 10 } |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 "//third_party/skia/include/pipe", | 135 "//third_party/skia/include/pipe", |
| 136 "//third_party/skia/include/ports", | 136 "//third_party/skia/include/ports", |
| 137 "//third_party/skia/include/utils", | 137 "//third_party/skia/include/utils", |
| 138 ] | 138 ] |
| 139 | 139 |
| 140 defines = gypi_blink_skia_defines.blink_skia_defines | 140 defines = gypi_blink_skia_defines.blink_skia_defines |
| 141 defines += gypi_skia_defines.skia_for_chromium_defines | 141 defines += gypi_skia_defines.skia_for_chromium_defines |
| 142 | 142 |
| 143 defines += [] | 143 defines += [] |
| 144 | 144 |
| 145 if (component_mode == "shared_library") { | 145 if (is_component_build) { |
| 146 defines += [ | 146 defines += [ |
| 147 "SKIA_DLL", | 147 "SKIA_DLL", |
| 148 "GR_GL_IGNORE_ES3_MSAA=0", | 148 "GR_GL_IGNORE_ES3_MSAA=0", |
| 149 ] | 149 ] |
| 150 } | 150 } |
| 151 | 151 |
| 152 if (skia_support_gpu) { | 152 if (skia_support_gpu) { |
| 153 include_dirs += [ | 153 include_dirs += [ |
| 154 "//third_party/skia/include/gpu", | 154 "//third_party/skia/include/gpu", |
| 155 "//third_party/skia/src/gpu", | 155 "//third_party/skia/src/gpu", |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 ] | 189 ] |
| 190 if (is_mac || is_ios) { | 190 if (is_mac || is_ios) { |
| 191 include_dirs += [ "//third_party/skia/include/utils/mac" ] | 191 include_dirs += [ "//third_party/skia/include/utils/mac" ] |
| 192 } | 192 } |
| 193 if (is_mac) { | 193 if (is_mac) { |
| 194 include_dirs += [ "//third_party/skia/include/utils/ios" ] | 194 include_dirs += [ "//third_party/skia/include/utils/ios" ] |
| 195 } | 195 } |
| 196 | 196 |
| 197 defines = [] | 197 defines = [] |
| 198 | 198 |
| 199 if (component_mode == "shared_library") { | 199 if (is_component_build) { |
| 200 defines += [ "SKIA_IMPLEMENTATION=1" ] | 200 defines += [ "SKIA_IMPLEMENTATION=1" ] |
| 201 } | 201 } |
| 202 | 202 |
| 203 if (current_cpu == "arm") { | 203 if (current_cpu == "arm") { |
| 204 if (arm_use_neon) { | 204 if (arm_use_neon) { |
| 205 defines += [ "SK_ARM_HAS_NEON" ] | 205 defines += [ "SK_ARM_HAS_NEON" ] |
| 206 } else if (arm_optionally_use_neon) { | 206 } else if (arm_optionally_use_neon) { |
| 207 defines += [ "SK_ARM_HAS_OPTIONAL_NEON" ] | 207 defines += [ "SK_ARM_HAS_OPTIONAL_NEON" ] |
| 208 } | 208 } |
| 209 } | 209 } |
| (...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 641 "tools/filter_fuzz_stub/filter_fuzz_stub.cc", | 641 "tools/filter_fuzz_stub/filter_fuzz_stub.cc", |
| 642 ] | 642 ] |
| 643 | 643 |
| 644 deps = [ | 644 deps = [ |
| 645 ":skia", | 645 ":skia", |
| 646 "//base", | 646 "//base", |
| 647 "//base/test:test_support", | 647 "//base/test:test_support", |
| 648 ] | 648 ] |
| 649 } | 649 } |
| 650 } | 650 } |
| OLD | NEW |