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 --- .../tools/gyp/test/mac/rebuild/TestApp-Info.plist | 32 +++++++++++++ .../tools/gyp/test/mac/rebuild/delay-touch.sh | 6 +++ .../trunk/tools/gyp/test/mac/rebuild/empty.c | 0 .../webrtc/trunk/tools/gyp/test/mac/rebuild/main.c | 1 + .../trunk/tools/gyp/test/mac/rebuild/test.gyp | 56 ++++++++++++++++++++++ 5 files changed, 95 insertions(+) create mode 100644 media/webrtc/trunk/tools/gyp/test/mac/rebuild/TestApp-Info.plist create mode 100755 media/webrtc/trunk/tools/gyp/test/mac/rebuild/delay-touch.sh create mode 100644 media/webrtc/trunk/tools/gyp/test/mac/rebuild/empty.c create mode 100644 media/webrtc/trunk/tools/gyp/test/mac/rebuild/main.c create mode 100644 media/webrtc/trunk/tools/gyp/test/mac/rebuild/test.gyp (limited to 'media/webrtc/trunk/tools/gyp/test/mac/rebuild') diff --git a/media/webrtc/trunk/tools/gyp/test/mac/rebuild/TestApp-Info.plist b/media/webrtc/trunk/tools/gyp/test/mac/rebuild/TestApp-Info.plist new file mode 100644 index 000000000..98fd51520 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/mac/rebuild/TestApp-Info.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + + CFBundleIdentifier + com.google.${PRODUCT_NAME} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + LSMinimumSystemVersion + ${MACOSX_DEPLOYMENT_TARGET} + NSMainNibFile + MainMenu + NSPrincipalClass + NSApplication + + diff --git a/media/webrtc/trunk/tools/gyp/test/mac/rebuild/delay-touch.sh b/media/webrtc/trunk/tools/gyp/test/mac/rebuild/delay-touch.sh new file mode 100755 index 000000000..7caf105b6 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/mac/rebuild/delay-touch.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +set -e + +sleep 1 # mtime resolution is 1 sec on unix. +touch "$1" diff --git a/media/webrtc/trunk/tools/gyp/test/mac/rebuild/empty.c b/media/webrtc/trunk/tools/gyp/test/mac/rebuild/empty.c new file mode 100644 index 000000000..e69de29bb diff --git a/media/webrtc/trunk/tools/gyp/test/mac/rebuild/main.c b/media/webrtc/trunk/tools/gyp/test/mac/rebuild/main.c new file mode 100644 index 000000000..237c8ce18 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/mac/rebuild/main.c @@ -0,0 +1 @@ +int main() {} diff --git a/media/webrtc/trunk/tools/gyp/test/mac/rebuild/test.gyp b/media/webrtc/trunk/tools/gyp/test/mac/rebuild/test.gyp new file mode 100644 index 000000000..15b4e4ef2 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/mac/rebuild/test.gyp @@ -0,0 +1,56 @@ +# Copyright (c) 2011 Google Inc. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. +{ + 'targets': [ + { + 'target_name': 'test_app', + 'product_name': 'Test App', + 'type': 'executable', + 'mac_bundle': 1, + 'sources': [ + 'main.c', + ], + 'xcode_settings': { + 'INFOPLIST_FILE': 'TestApp-Info.plist', + }, + }, + { + 'target_name': 'test_app_postbuilds', + 'product_name': 'Test App 2', + 'type': 'executable', + 'mac_bundle': 1, + 'sources': [ + 'main.c', + ], + 'xcode_settings': { + 'INFOPLIST_FILE': 'TestApp-Info.plist', + }, + 'postbuilds': [ + { + 'postbuild_name': 'Postbuild that touches the app binary', + 'action': [ + './delay-touch.sh', '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}', + ], + }, + ], + }, + { + 'target_name': 'test_framework_postbuilds', + 'product_name': 'Test Framework', + 'type': 'shared_library', + 'mac_bundle': 1, + 'sources': [ + 'empty.c', + ], + 'postbuilds': [ + { + 'postbuild_name': 'Postbuild that touches the framework binary', + 'action': [ + './delay-touch.sh', '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}', + ], + }, + ], + }, + ], +} -- cgit v1.2.3