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

Side by Side Diff: BUILD.gn

Issue 2149823003: Remove DISABLE_X86 from build.gn (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: remove DISABLE_X86 from build.gn Created 4 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
« no previous file with comments | « no previous file | README.chromium » ('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 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 import("//build/config/sanitizers/sanitizers.gni")
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 ] 80 ]
81 81
82 public_configs = [ ":libyuv_config" ] 82 public_configs = [ ":libyuv_config" ]
83 83
84 defines = [] 84 defines = []
85 85
86 if (!is_ios) { 86 if (!is_ios) {
87 defines += [ "HAVE_JPEG" ] 87 defines += [ "HAVE_JPEG" ]
88 } 88 }
89 89
90 if (is_msan) {
91 # MemorySanitizer does not support assembly code yet.
92 # http://crbug.com/344505
93 defines += [ "LIBYUV_DISABLE_X86" ]
94 }
95
96 deps = [ 90 deps = [
97 "//third_party:jpeg", 91 "//third_party:jpeg",
98 ] 92 ]
99 93
100 if (use_neon) { 94 if (use_neon) {
101 deps += [ ":libyuv_neon" ] 95 deps += [ ":libyuv_neon" ]
102 } 96 }
103 97
104 if (is_nacl) { 98 if (is_nacl) {
105 # Always enable optimization under NaCl to workaround crbug.com/538243 . 99 # Always enable optimization under NaCl to workaround crbug.com/538243 .
(...skipping 17 matching lines...) Expand all
123 ] 117 ]
124 118
125 public_configs = [ ":libyuv_config" ] 119 public_configs = [ ":libyuv_config" ]
126 120
127 if (current_cpu != "arm64") { 121 if (current_cpu != "arm64") {
128 configs -= [ "//build/config/compiler:compiler_arm_fpu" ] 122 configs -= [ "//build/config/compiler:compiler_arm_fpu" ]
129 cflags = [ "-mfpu=neon" ] 123 cflags = [ "-mfpu=neon" ]
130 } 124 }
131 } 125 }
132 } 126 }
OLDNEW
« no previous file with comments | « no previous file | README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698