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("//build/config/sanitizers/sanitizers.gni") | 7 import("//build/config/sanitizers/sanitizers.gni") |
8 import("//printing/features/features.gni") | 8 import("//printing/features/features.gni") |
9 import("//testing/test.gni") | 9 import("//testing/test.gni") |
10 import("//third_party/skia/gn/shared_sources.gni") | 10 import("//third_party/skia/gn/shared_sources.gni") |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 "//third_party/skia/src/utils", | 103 "//third_party/skia/src/utils", |
104 "//third_party/skia/src/lazy", | 104 "//third_party/skia/src/lazy", |
105 ] | 105 ] |
106 if (is_mac || is_ios) { | 106 if (is_mac || is_ios) { |
107 include_dirs += [ "//third_party/skia/include/utils/mac" ] | 107 include_dirs += [ "//third_party/skia/include/utils/mac" ] |
108 } | 108 } |
109 if (is_mac) { | 109 if (is_mac) { |
110 include_dirs += [ "//third_party/skia/include/utils/ios" ] | 110 include_dirs += [ "//third_party/skia/include/utils/ios" ] |
111 } | 111 } |
112 | 112 |
113 defines = [ "SK_IGNORE_GASP_VERSION_CHECK" ] | 113 defines = [] |
114 | 114 |
115 if (is_component_build) { | 115 if (is_component_build) { |
116 defines += [ "SKIA_IMPLEMENTATION=1" ] | 116 defines += [ "SKIA_IMPLEMENTATION=1" ] |
117 } | 117 } |
118 | 118 |
119 if (current_cpu == "arm") { | 119 if (current_cpu == "arm") { |
120 if (arm_use_neon) { | 120 if (arm_use_neon) { |
121 defines += [ "SK_ARM_HAS_NEON" ] | 121 defines += [ "SK_ARM_HAS_NEON" ] |
122 } else if (arm_optionally_use_neon) { | 122 } else if (arm_optionally_use_neon) { |
123 defines += [ "SK_ARM_HAS_OPTIONAL_NEON" ] | 123 defines += [ "SK_ARM_HAS_OPTIONAL_NEON" ] |
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
708 | 708 |
709 deps = [ | 709 deps = [ |
710 ":skia", | 710 ":skia", |
711 "//base", | 711 "//base", |
712 "//base/test:test_support", | 712 "//base/test:test_support", |
713 "//build/config/sanitizers:deps", | 713 "//build/config/sanitizers:deps", |
714 "//build/win:default_exe_manifest", | 714 "//build/win:default_exe_manifest", |
715 ] | 715 ] |
716 } | 716 } |
717 } | 717 } |
OLD | NEW |