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

Side by Side Diff: webrtc/build/webrtc.gni

Issue 1231663002: Make .gni less sensitive to type of arm_use_neon flags (Closed) Base URL: https://chromium.googlesource.com/external/webrtc/trunk/webrtc.git@master
Patch Set: Ran gn format as presubmit requested Created 5 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 | 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 (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 import("//build/config/arm.gni") 9 import("//build/config/arm.gni")
10 import("//build/config/mips.gni") 10 import("//build/config/mips.gni")
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 99
100 # TODO(ljubomir): Unset rtc_use_openmax_dl for mips64el once mips64el gets 100 # TODO(ljubomir): Unset rtc_use_openmax_dl for mips64el once mips64el gets
101 # supported in GN (since openmax_dl is not supported for mips64el). 101 # supported in GN (since openmax_dl is not supported for mips64el).
102 if (!is_ios && (current_cpu != "arm" || arm_version >= 7)) { 102 if (!is_ios && (current_cpu != "arm" || arm_version >= 7)) {
103 rtc_use_openmax_dl = true 103 rtc_use_openmax_dl = true
104 } else { 104 } else {
105 rtc_use_openmax_dl = false 105 rtc_use_openmax_dl = false
106 } 106 }
107 107
108 # Determines whether NEON code will be built. 108 # Determines whether NEON code will be built.
109 rtc_build_with_neon = (current_cpu == "arm" && 109 rtc_build_with_neon =
110 (arm_use_neon == 1 || arm_optionally_use_neon == 1)) || 110 (current_cpu == "arm" && (arm_use_neon || arm_optionally_use_neon)) ||
111 current_cpu == "arm64" 111 current_cpu == "arm64"
112 112
113 # Enable this to use HW H.264 encoder/decoder on iOS PeerConnections. 113 # Enable this to use HW H.264 encoder/decoder on iOS PeerConnections.
114 # Enabling this may break interop with Android clients that support H264. 114 # Enabling this may break interop with Android clients that support H264.
115 rtc_use_objc_h264 = false 115 rtc_use_objc_h264 = false
116 } 116 }
117 117
118 # Make it possible to provide custom locations for some libraries (move these 118 # Make it possible to provide custom locations for some libraries (move these
119 # up into declare_args should we need to actually use them for the GN build). 119 # up into declare_args should we need to actually use them for the GN build).
120 rtc_libvpx_dir = "//third_party/libvpx" 120 rtc_libvpx_dir = "//third_party/libvpx"
121 rtc_libyuv_dir = "//third_party/libyuv" 121 rtc_libyuv_dir = "//third_party/libyuv"
122 rtc_opus_dir = "//third_party/opus" 122 rtc_opus_dir = "//third_party/opus"
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