blob: 219617cb1706bc3afcce2620dded63ff1721186d [file] [log] [blame]
kthelgason592baaf2016-11-09 04:58:12 -08001# Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
2#
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
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS. All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
9# This file is only meant to be included on iOS.
10assert(is_ios)
11
12declare_args() {
13 # Enabling this option makes clang compile to an intermediate
14 # representation, and not to native code. This is preferred when
15 # including WebRTC in apps that will be sent to Apple's App Store
16 # and required for apps that run on watchOS or tvOS.
17 rtc_ios_enable_bitcode = false
18}
19
20config("rtc_ios_common_config") {
21 if (rtc_ios_enable_bitcode) {
22 cflags = [ "-fembed-bitcode" ]
23 }
24}