From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- media/webrtc/trunk/build/ios/mac_build.gypi | 79 +++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 media/webrtc/trunk/build/ios/mac_build.gypi (limited to 'media/webrtc/trunk/build/ios/mac_build.gypi') diff --git a/media/webrtc/trunk/build/ios/mac_build.gypi b/media/webrtc/trunk/build/ios/mac_build.gypi new file mode 100644 index 000000000..9a739182b --- /dev/null +++ b/media/webrtc/trunk/build/ios/mac_build.gypi @@ -0,0 +1,79 @@ +# Copyright (c) 2012 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +# Xcode throws an error if an iOS target depends on a Mac OS X target. So +# any place a utility program needs to be build and run, an action is +# used to run ninja as script to work around this. +# Example: +# { +# 'target_name': 'foo', +# 'type': 'none', +# 'variables': { +# # The name of a directory used for ninja. This cannot be shared with +# # another mac build. +# 'ninja_output_dir': 'ninja-foo', +# # The list of all the gyp files that contain the targets to run. +# 're_run_targets': [ +# 'foo.gyp', +# ], +# }, +# 'includes': ['path_to/mac_build.gypi'], +# 'actions': [ +# { +# 'action_name': 'compile foo', +# 'inputs': [], +# 'outputs': [], +# 'action': [ +# '<@(ninja_cmd)', +# # All the targets to build. +# 'foo1', +# 'foo2', +# ], +# }, +# ], +# } +{ + 'variables': { + # Convenience variable pointing to the ninja product directory. + 'ninja_product_dir': + '<(DEPTH)/xcodebuild/<(ninja_output_dir)/<(CONFIGURATION_NAME)', + + # Common ninja command line flags. + 'ninja_cmd': [ + # Bounce through clean_env to clean up the environment so things + # set by the iOS build don't pollute the Mac build. + '<(DEPTH)/build/ios/clean_env.py', + # ninja must be found in the PATH. + 'ADD_TO_PATH=