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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 | 115 |
116 if (is_clang) { | 116 if (is_clang) { |
117 cflags += [ | 117 cflags += [ |
118 "-Wimplicit-fallthrough", | 118 "-Wimplicit-fallthrough", |
119 "-Wthread-safety", | 119 "-Wthread-safety", |
120 "-Winconsistent-missing-override", | 120 "-Winconsistent-missing-override", |
121 ] | 121 ] |
122 } | 122 } |
123 } | 123 } |
124 | 124 |
| 125 if (rtc_enable_libevent) { |
| 126 defines += [ "WEBRTC_BUILD_LIBEVENT" ] |
| 127 } |
| 128 |
125 if (current_cpu == "arm64") { | 129 if (current_cpu == "arm64") { |
126 defines += [ "WEBRTC_ARCH_ARM64" ] | 130 defines += [ "WEBRTC_ARCH_ARM64" ] |
127 defines += [ "WEBRTC_HAS_NEON" ] | 131 defines += [ "WEBRTC_HAS_NEON" ] |
128 } | 132 } |
129 | 133 |
130 if (current_cpu == "arm") { | 134 if (current_cpu == "arm") { |
131 defines += [ "WEBRTC_ARCH_ARM" ] | 135 defines += [ "WEBRTC_ARCH_ARM" ] |
132 if (arm_version >= 7) { | 136 if (arm_version >= 7) { |
133 defines += [ "WEBRTC_ARCH_ARM_V7" ] | 137 defines += [ "WEBRTC_ARCH_ARM_V7" ] |
134 if (arm_use_neon) { | 138 if (arm_use_neon) { |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 if (use_libfuzzer || use_drfuzz) { | 312 if (use_libfuzzer || use_drfuzz) { |
309 # This target is only here for gn to discover fuzzer build targets under | 313 # This target is only here for gn to discover fuzzer build targets under |
310 # webrtc/test/fuzzers/. | 314 # webrtc/test/fuzzers/. |
311 group("webrtc_fuzzers_dummy") { | 315 group("webrtc_fuzzers_dummy") { |
312 testonly = true | 316 testonly = true |
313 deps = [ | 317 deps = [ |
314 "test/fuzzers:webrtc_fuzzer_main", | 318 "test/fuzzers:webrtc_fuzzer_main", |
315 ] | 319 ] |
316 } | 320 } |
317 } | 321 } |
OLD | NEW |