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

Side by Side Diff: BUILD.gn

Issue 1314833005: Add a sanitizer.gni import to the GN build. (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: Created 5 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 2014 The LibYuv Project Authors. All rights reserved. 1 # Copyright 2014 The LibYuv Project Authors. All rights reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("//build/config/arm.gni") 9 import("//build/config/arm.gni")
10 import("//build/config/sanitizers/sanitizers.gni")
10 11
11 config("libyuv_config") { 12 config("libyuv_config") {
12 include_dirs = [ 13 include_dirs = [
13 ".", 14 ".",
14 "include", 15 "include",
15 ] 16 ]
16 } 17 }
17 18
18 use_neon = current_cpu == "arm" && (arm_use_neon || arm_optionally_use_neon) 19 use_neon = current_cpu == "arm" && (arm_use_neon || arm_optionally_use_neon)
19 20
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 "source/scale_neon.cc", 116 "source/scale_neon.cc",
116 "source/scale_neon64.cc", 117 "source/scale_neon64.cc",
117 ] 118 ]
118 119
119 public_configs = [ ":libyuv_config" ] 120 public_configs = [ ":libyuv_config" ]
120 121
121 configs -= [ "//build/config/compiler:compiler_arm_fpu" ] 122 configs -= [ "//build/config/compiler:compiler_arm_fpu" ]
122 cflags = [ "-mfpu=neon" ] 123 cflags = [ "-mfpu=neon" ]
123 } 124 }
124 } 125 }
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