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 | |
129 if (current_cpu == "arm64") { | 125 if (current_cpu == "arm64") { |
130 defines += [ "WEBRTC_ARCH_ARM64" ] | 126 defines += [ "WEBRTC_ARCH_ARM64" ] |
131 defines += [ "WEBRTC_HAS_NEON" ] | 127 defines += [ "WEBRTC_HAS_NEON" ] |
132 } | 128 } |
133 | 129 |
134 if (current_cpu == "arm") { | 130 if (current_cpu == "arm") { |
135 defines += [ "WEBRTC_ARCH_ARM" ] | 131 defines += [ "WEBRTC_ARCH_ARM" ] |
136 if (arm_version >= 7) { | 132 if (arm_version >= 7) { |
137 defines += [ "WEBRTC_ARCH_ARM_V7" ] | 133 defines += [ "WEBRTC_ARCH_ARM_V7" ] |
138 if (arm_use_neon) { | 134 if (arm_use_neon) { |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 if (use_libfuzzer || use_drfuzz) { | 306 if (use_libfuzzer || use_drfuzz) { |
311 # This target is only here for gn to discover fuzzer build targets under | 307 # This target is only here for gn to discover fuzzer build targets under |
312 # webrtc/test/fuzzers/. | 308 # webrtc/test/fuzzers/. |
313 group("webrtc_fuzzers_dummy") { | 309 group("webrtc_fuzzers_dummy") { |
314 testonly = true | 310 testonly = true |
315 deps = [ | 311 deps = [ |
316 "test/fuzzers:webrtc_fuzzer_main", | 312 "test/fuzzers:webrtc_fuzzer_main", |
317 ] | 313 ] |
318 } | 314 } |
319 } | 315 } |
OLD | NEW |