OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC 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 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330. | 9 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330. |
10 | 10 |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 defines += [ "WEBRTC_ARCH_ARM64" ] | 125 defines += [ "WEBRTC_ARCH_ARM64" ] |
126 defines += [ "WEBRTC_HAS_NEON" ] | 126 defines += [ "WEBRTC_HAS_NEON" ] |
127 } | 127 } |
128 | 128 |
129 if (current_cpu == "arm") { | 129 if (current_cpu == "arm") { |
130 defines += [ "WEBRTC_ARCH_ARM" ] | 130 defines += [ "WEBRTC_ARCH_ARM" ] |
131 if (arm_version >= 7) { | 131 if (arm_version >= 7) { |
132 defines += [ "WEBRTC_ARCH_ARM_V7" ] | 132 defines += [ "WEBRTC_ARCH_ARM_V7" ] |
133 if (arm_use_neon) { | 133 if (arm_use_neon) { |
134 defines += [ "WEBRTC_HAS_NEON" ] | 134 defines += [ "WEBRTC_HAS_NEON" ] |
135 } else if (arm_optionally_use_neon) { | |
136 defines += [ "WEBRTC_DETECT_NEON" ] | |
137 } | 135 } |
138 } | 136 } |
139 } | 137 } |
140 | 138 |
141 if (current_cpu == "mipsel") { | 139 if (current_cpu == "mipsel") { |
142 defines += [ "MIPS32_LE" ] | 140 defines += [ "MIPS32_LE" ] |
143 if (mips_float_abi == "hard") { | 141 if (mips_float_abi == "hard") { |
144 defines += [ "MIPS_FPU_LE" ] | 142 defines += [ "MIPS_FPU_LE" ] |
145 } | 143 } |
146 if (mips_arch_variant == "r2") { | 144 if (mips_arch_variant == "r2") { |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 if (use_libfuzzer || use_drfuzz) { | 282 if (use_libfuzzer || use_drfuzz) { |
285 # This target is only here for gn to discover fuzzer build targets under | 283 # This target is only here for gn to discover fuzzer build targets under |
286 # webrtc/test/fuzzers/. | 284 # webrtc/test/fuzzers/. |
287 group("webrtc_fuzzers_dummy") { | 285 group("webrtc_fuzzers_dummy") { |
288 testonly = true | 286 testonly = true |
289 deps = [ | 287 deps = [ |
290 "test/fuzzers:webrtc_fuzzer_main", | 288 "test/fuzzers:webrtc_fuzzer_main", |
291 ] | 289 ] |
292 } | 290 } |
293 } | 291 } |
OLD | NEW |