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

Side by Side Diff: webrtc/BUILD.gn

Issue 2153563003: Move WEBRTC_BUILD_LIBEVENT definition to base/BUILD.gn and base/base.gyp. This use all_dependent_co… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixed gn and gyp format. 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 | webrtc/base/BUILD.gn » ('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) 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 168
169 if (is_clang) { 169 if (is_clang) {
170 cflags += [ 170 cflags += [
171 "-Wimplicit-fallthrough", 171 "-Wimplicit-fallthrough",
172 "-Wthread-safety", 172 "-Wthread-safety",
173 "-Winconsistent-missing-override", 173 "-Winconsistent-missing-override",
174 ] 174 ]
175 } 175 }
176 } 176 }
177 177
178 if (rtc_enable_libevent) {
179 defines += [ "WEBRTC_BUILD_LIBEVENT" ]
180 }
181
182 if (current_cpu == "arm64") { 178 if (current_cpu == "arm64") {
183 defines += [ "WEBRTC_ARCH_ARM64" ] 179 defines += [ "WEBRTC_ARCH_ARM64" ]
184 defines += [ "WEBRTC_HAS_NEON" ] 180 defines += [ "WEBRTC_HAS_NEON" ]
185 } 181 }
186 182
187 if (current_cpu == "arm") { 183 if (current_cpu == "arm") {
188 defines += [ "WEBRTC_ARCH_ARM" ] 184 defines += [ "WEBRTC_ARCH_ARM" ]
189 if (arm_version >= 7) { 185 if (arm_version >= 7) {
190 defines += [ "WEBRTC_ARCH_ARM_V7" ] 186 defines += [ "WEBRTC_ARCH_ARM_V7" ]
191 if (arm_use_neon) { 187 if (arm_use_neon) {
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 if (is_ios || (is_mac && target_cpu != "x86")) { 654 if (is_ios || (is_mac && target_cpu != "x86")) {
659 defines = [ "CARBON_DEPRECATED=YES" ] 655 defines = [ "CARBON_DEPRECATED=YES" ]
660 } 656 }
661 if (is_clang) { 657 if (is_clang) {
662 # Suppress warnings from the Chromium Clang plugin. 658 # Suppress warnings from the Chromium Clang plugin.
663 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 659 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
664 configs -= [ "//build/config/clang:find_bad_constructs" ] 660 configs -= [ "//build/config/clang:find_bad_constructs" ]
665 } 661 }
666 } 662 }
667 } 663 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698