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

Side by Side Diff: webrtc/build/common.gypi

Issue 1955413003: Remove runtime NEON detection (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: gyp syntax Created 4 years, 7 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 | « webrtc/BUILD.gn ('k') | webrtc/build/webrtc.gni » ('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) 2012 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2012 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 # This file contains common settings for building WebRTC components. 9 # This file contains common settings for building WebRTC components.
10 10
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 'include_internal_audio_device%': 1, 202 'include_internal_audio_device%': 1,
203 'include_tests%': 1, 203 'include_tests%': 1,
204 'restrict_webrtc_logging%': 0, 204 'restrict_webrtc_logging%': 0,
205 }], 205 }],
206 ['OS=="ios"', { 206 ['OS=="ios"', {
207 'build_libjpeg%': 0, 207 'build_libjpeg%': 0,
208 }], 208 }],
209 ['target_arch=="arm" or target_arch=="arm64" or target_arch=="mipsel"', { 209 ['target_arch=="arm" or target_arch=="arm64" or target_arch=="mipsel"', {
210 'prefer_fixed_point%': 1, 210 'prefer_fixed_point%': 1,
211 }], 211 }],
212 ['(target_arch=="arm" and (arm_neon==1 or arm_neon_optional==1)) or target _arch=="arm64"', { 212 ['(target_arch=="arm" and arm_neon==1) or target_arch=="arm64"', {
213 'build_with_neon%': 1, 213 'build_with_neon%': 1,
214 }], 214 }],
215 ['OS!="ios" and (target_arch!="arm" or arm_version>=7) and target_arch!="m ips64el"', { 215 ['OS!="ios" and (target_arch!="arm" or arm_version>=7) and target_arch!="m ips64el"', {
216 'rtc_use_openmax_dl%': 1, 216 'rtc_use_openmax_dl%': 1,
217 }, { 217 }, {
218 'rtc_use_openmax_dl%': 0, 218 'rtc_use_openmax_dl%': 0,
219 }], 219 }],
220 ], # conditions 220 ], # conditions
221 }, 221 },
222 'target_defaults': { 222 'target_defaults': {
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 'defines': [ 327 'defines': [
328 'WEBRTC_ARCH_ARM', 328 'WEBRTC_ARCH_ARM',
329 ], 329 ],
330 'conditions': [ 330 'conditions': [
331 ['arm_version>=7', { 331 ['arm_version>=7', {
332 'defines': ['WEBRTC_ARCH_ARM_V7',], 332 'defines': ['WEBRTC_ARCH_ARM_V7',],
333 'conditions': [ 333 'conditions': [
334 ['arm_neon==1', { 334 ['arm_neon==1', {
335 'defines': ['WEBRTC_HAS_NEON',], 335 'defines': ['WEBRTC_HAS_NEON',],
336 }], 336 }],
337 ['arm_neon==0 and arm_neon_optional==1', {
338 'defines': ['WEBRTC_DETECT_NEON',],
339 }],
340 ], 337 ],
341 }], 338 }],
342 ], 339 ],
343 }], 340 }],
344 ['target_arch=="mipsel" and mips_arch_variant!="r6"', { 341 ['target_arch=="mipsel" and mips_arch_variant!="r6"', {
345 'defines': [ 342 'defines': [
346 'MIPS32_LE', 343 'MIPS32_LE',
347 ], 344 ],
348 'conditions': [ 345 'conditions': [
349 ['mips_float_abi=="hard"', { 346 ['mips_float_abi=="hard"', {
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 # For access to standard POSIXish features, use WEBRTC_POSIX instead 499 # For access to standard POSIXish features, use WEBRTC_POSIX instead
503 # of a more specific macro. 500 # of a more specific macro.
504 'defines': [ 501 'defines': [
505 'WEBRTC_POSIX', 502 'WEBRTC_POSIX',
506 ], 503 ],
507 }], 504 }],
508 ], 505 ],
509 }, 506 },
510 }, # target_defaults 507 }, # target_defaults
511 } 508 }
OLDNEW
« no previous file with comments | « webrtc/BUILD.gn ('k') | webrtc/build/webrtc.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698