summaryrefslogtreecommitdiff
path: root/deps/gyp/test/ios/deployment-target
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/ios/deployment-target')
-rw-r--r--deps/gyp/test/ios/deployment-target/check-version-min.c33
-rw-r--r--deps/gyp/test/ios/deployment-target/deployment-target.gyp58
2 files changed, 0 insertions, 91 deletions
diff --git a/deps/gyp/test/ios/deployment-target/check-version-min.c b/deps/gyp/test/ios/deployment-target/check-version-min.c
deleted file mode 100644
index 761c529085..0000000000
--- a/deps/gyp/test/ios/deployment-target/check-version-min.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/* Copyright (c) 2013 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. */
-
-#include <Availability.h>
-
-/* GYPTEST_MAC_VERSION_MIN: should be set to the corresponding value of
- * xcode setting 'MACOSX_DEPLOYMENT_TARGET', otherwise both should be
- * left undefined.
- *
- * GYPTEST_IOS_VERSION_MIN: should be set to the corresponding value of
- * xcode setting 'IPHONEOS_DEPLOYMENT_TARGET', otherwise both should be
- * left undefined.
- */
-
-#if defined(GYPTEST_MAC_VERSION_MIN)
-# if GYPTEST_MAC_VERSION_MIN != __MAC_OS_X_VERSION_MIN_REQUIRED
-# error __MAC_OS_X_VERSION_MIN_REQUIRED has wrong value
-# endif
-#elif defined(__MAC_OS_X_VERSION_MIN_REQUIRED)
-# error __MAC_OS_X_VERSION_MIN_REQUIRED should be undefined
-#endif
-
-#if defined(GYPTEST_IOS_VERSION_MIN)
-# if GYPTEST_IOS_VERSION_MIN != __IPHONE_OS_VERSION_MIN_REQUIRED
-# error __IPHONE_OS_VERSION_MIN_REQUIRED has wrong value
-# endif
-#elif defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-# error __IPHONE_OS_VERSION_MIN_REQUIRED should be undefined
-#endif
-
-int main() { return 0; }
-
diff --git a/deps/gyp/test/ios/deployment-target/deployment-target.gyp b/deps/gyp/test/ios/deployment-target/deployment-target.gyp
deleted file mode 100644
index e272276b19..0000000000
--- a/deps/gyp/test/ios/deployment-target/deployment-target.gyp
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright (c) 2013 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.
-{
- 'make_global_settings': [
- ['CC', '/usr/bin/clang'],
- ['CXX', '/usr/bin/clang++'],
- ],
- 'targets': [
- {
- 'target_name': 'iphoneos-version-min-4.3',
- 'type': 'static_library',
- 'sources': [ 'check-version-min.c', ],
- 'defines': [ 'GYPTEST_IOS_VERSION_MIN=40300', ],
- 'xcode_settings': {
- 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
- 'ARCHS': [ 'armv7' ],
- 'SDKROOT': 'iphoneos',
- 'IPHONEOS_DEPLOYMENT_TARGET': '4.3',
- },
- },
- {
- 'target_name': 'iphoneos-version-min-5.0',
- 'type': 'static_library',
- 'sources': [ 'check-version-min.c', ],
- 'defines': [ 'GYPTEST_IOS_VERSION_MIN=50000', ],
- 'xcode_settings': {
- 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
- 'ARCHS': [ 'armv7' ],
- 'SDKROOT': 'iphoneos',
- 'IPHONEOS_DEPLOYMENT_TARGET': '5.0',
- },
- },
- {
- 'target_name': 'iphonesimulator-version-min-4.3',
- 'type': 'static_library',
- 'sources': [ 'check-version-min.c', ],
- 'defines': [ 'GYPTEST_IOS_VERSION_MIN=40300', ],
- 'xcode_settings': {
- 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
- 'SDKROOT': 'iphonesimulator',
- 'IPHONEOS_DEPLOYMENT_TARGET': '4.3',
- },
- },
- {
- 'target_name': 'iphonesimulator-version-min-5.0',
- 'type': 'static_library',
- 'sources': [ 'check-version-min.c', ],
- 'defines': [ 'GYPTEST_IOS_VERSION_MIN=50000', ],
- 'xcode_settings': {
- 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
- 'SDKROOT': 'iphonesimulator',
- 'IPHONEOS_DEPLOYMENT_TARGET': '5.0',
- },
- },
- ],
-}
-