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

Side by Side Diff: BUILD.gn

Issue 2272243003: Add neon and crc32 sources for aarch64 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 3 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 Google Inc. 1 # Copyright 2016 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 declare_args() { 6 declare_args() {
7 skia_enable_tools = !is_fuchsia && !is_component_build 7 skia_enable_tools = !is_fuchsia && !is_component_build
8 8
9 skia_use_expat = true 9 skia_use_expat = true
10 skia_use_giflib = !is_fuchsia 10 skia_use_giflib = !is_fuchsia
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 } 160 }
161 161
162 is_x86 = current_cpu == "x64" || current_cpu == "x86" 162 is_x86 = current_cpu == "x64" || current_cpu == "x86"
163 163
164 opts("none") { 164 opts("none") {
165 enabled = !is_x86 165 enabled = !is_x86
166 sources = opts_gypi.none_sources 166 sources = opts_gypi.none_sources
167 cflags = [] 167 cflags = []
168 } 168 }
169 169
170 opts("neon_sources") {
mtklein 2016/08/25 01:26:44 Hmm. It's gonna have to be a little more complica
anmittal 2016/08/25 03:03:58 Done.
171 enabled = !is_x86
172 sources = opts_gypi.neon_sources
173 cflags = []
174 }
175
176 opts("crc32_sources") {
177 enabled = !is_x86
178 sources = opts_gypi.crc32_sources
179 cflags = []
180 }
181
170 opts("sse2") { 182 opts("sse2") {
171 enabled = is_x86 183 enabled = is_x86
172 sources = opts_gypi.sse2_sources 184 sources = opts_gypi.sse2_sources
173 cflags = [ "-msse2" ] 185 cflags = [ "-msse2" ]
174 } 186 }
175 187
176 opts("ssse3") { 188 opts("ssse3") {
177 enabled = is_x86 189 enabled = is_x86
178 sources = opts_gypi.ssse3_sources 190 sources = opts_gypi.ssse3_sources
179 cflags = [ "-mssse3" ] 191 cflags = [ "-mssse3" ]
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 "src/xml/SkXMLWriter.cpp", 321 "src/xml/SkXMLWriter.cpp",
310 ] 322 ]
311 } 323 }
312 324
313 component("skia") { 325 component("skia") {
314 public_configs = [ ":skia_public" ] 326 public_configs = [ ":skia_public" ]
315 configs += skia_library_configs 327 configs += skia_library_configs
316 328
317 deps = [ 329 deps = [
318 ":avx", 330 ":avx",
331 ":crc32_sources",
319 ":gif", 332 ":gif",
320 ":jpeg", 333 ":jpeg",
334 ":neon_sources",
321 ":none", 335 ":none",
322 ":pdf", 336 ":pdf",
323 ":png", 337 ":png",
324 ":sse2", 338 ":sse2",
325 ":sse41", 339 ":sse41",
326 ":sse42", 340 ":sse42",
327 ":ssse3", 341 ":ssse3",
328 ":webp", 342 ":webp",
329 ":xml", 343 ":xml",
330 ] 344 ]
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 "tools/SkShaper_harfbuzz.cpp", 737 "tools/SkShaper_harfbuzz.cpp",
724 "tools/using_skia_and_harfbuzz.cpp", 738 "tools/using_skia_and_harfbuzz.cpp",
725 ] 739 ]
726 deps = [ 740 deps = [
727 ":skia", 741 ":skia",
728 "//third_party/harfbuzz", 742 "//third_party/harfbuzz",
729 ] 743 ]
730 testonly = true 744 testonly = true
731 } 745 }
732 } 746 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698