blob: bb69ca7b2058fb6b4b89d0dc98f9ca3dd2a88b68 [file] [log] [blame]
hjonbc73fe12016-03-21 11:38:26 -07001# Copyright (c) 2014 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# Include this .gypi in an ObjC target's definition to allow it to be
10# used as an iOS or OS/X application.
11
12{
13 'variables': {
14 'infoplist_file': './objc_app.plist',
15 },
16 'dependencies': [
17 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:field_trial_default',
18 ],
19 'mac_bundle': 1,
20 'mac_bundle_resources': [
21 '<(infoplist_file)',
22 ],
23 # The plist is listed above so that it appears in XCode's file list,
24 # but we don't actually want to bundle it.
25 'mac_bundle_resources!': [
26 '<(infoplist_file)',
27 ],
28 'xcode_settings': {
29 'CLANG_ENABLE_OBJC_ARC': 'YES',
30 'INFOPLIST_FILE': '<(infoplist_file)',
31 },
32}