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

Side by Side Diff: skia/BUILD.gn

Issue 391793002: When NEON disabled, always build ARM memset routines. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | skia/skia_library_opts.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 if (cpu_arch == "arm") { 7 if (cpu_arch == "arm") {
8 import("//build/config/arm.gni") 8 import("//build/config/arm.gni")
9 } 9 }
10 10
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after
624 624
625 if (arm_use_neon) { 625 if (arm_use_neon) {
626 defines += [ "__ARM_HAVE_NEON" ] 626 defines += [ "__ARM_HAVE_NEON" ]
627 } 627 }
628 if (arm_optionally_use_neon) { 628 if (arm_optionally_use_neon) {
629 defines += [ "__ARM_HAVE_OPTIONAL_NEON_SUPPORT" ] 629 defines += [ "__ARM_HAVE_OPTIONAL_NEON_SUPPORT" ]
630 } 630 }
631 } 631 }
632 632
633 # Non-Neon ARM code. 633 # Non-Neon ARM code.
634 if (arm_version < 7 || (!arm_use_neon && arm_optionally_use_neon)) { 634 if (arm_version < 7 || !arm_use_neon) {
635 sources += [ "//third_party/skia/src/opts/memset.arm.S" ] 635 sources += [ "//third_party/skia/src/opts/memset.arm.S" ]
636 } 636 }
637 637
638 if (arm_version < 6) { 638 if (arm_version < 6) {
639 sources += [ 639 sources += [
640 "//third_party/skia/src/opts/SkBlitMask_opts_none.cpp", 640 "//third_party/skia/src/opts/SkBlitMask_opts_none.cpp",
641 "//third_party/skia/src/opts/SkBlitRow_opts_none.cpp", 641 "//third_party/skia/src/opts/SkBlitRow_opts_none.cpp",
642 "//third_party/skia/src/opts/SkUtils_opts_none.cpp", 642 "//third_party/skia/src/opts/SkUtils_opts_none.cpp",
643 "//third_party/skia/src/opts/SkXfermode_opts_none.cpp", 643 "//third_party/skia/src/opts/SkXfermode_opts_none.cpp",
644 "//third_party/skia/src/opts/SkMorphology_opts_none.cpp", 644 "//third_party/skia/src/opts/SkMorphology_opts_none.cpp",
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 ":skia_config", 677 ":skia_config",
678 "//build/config/compiler:no_chromium_code" 678 "//build/config/compiler:no_chromium_code"
679 ] 679 ]
680 680
681 deps = [ 681 deps = [
682 "//base", 682 "//base",
683 ] 683 ]
684 684
685 visibility = ":skia" 685 visibility = ":skia"
686 } 686 }
OLDNEW
« no previous file with comments | « no previous file | skia/skia_library_opts.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698