summaryrefslogtreecommitdiff
path: root/deps/gyp/test/mac/objc-gc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/mac/objc-gc')
-rw-r--r--deps/gyp/test/mac/objc-gc/c-file.c1
-rw-r--r--deps/gyp/test/mac/objc-gc/cc-file.cc1
-rw-r--r--deps/gyp/test/mac/objc-gc/main.m6
-rw-r--r--deps/gyp/test/mac/objc-gc/needs-gc-mm.mm1
-rw-r--r--deps/gyp/test/mac/objc-gc/needs-gc.m1
-rw-r--r--deps/gyp/test/mac/objc-gc/test.gyp102
6 files changed, 0 insertions, 112 deletions
diff --git a/deps/gyp/test/mac/objc-gc/c-file.c b/deps/gyp/test/mac/objc-gc/c-file.c
deleted file mode 100644
index 2855a00eaa..0000000000
--- a/deps/gyp/test/mac/objc-gc/c-file.c
+++ /dev/null
@@ -1 +0,0 @@
-void c_fun() {}
diff --git a/deps/gyp/test/mac/objc-gc/cc-file.cc b/deps/gyp/test/mac/objc-gc/cc-file.cc
deleted file mode 100644
index 71e47a0126..0000000000
--- a/deps/gyp/test/mac/objc-gc/cc-file.cc
+++ /dev/null
@@ -1 +0,0 @@
-void cc_fun() {}
diff --git a/deps/gyp/test/mac/objc-gc/main.m b/deps/gyp/test/mac/objc-gc/main.m
deleted file mode 100644
index 1a87f8e70f..0000000000
--- a/deps/gyp/test/mac/objc-gc/main.m
+++ /dev/null
@@ -1,6 +0,0 @@
-#import <Foundation/Foundation.h>
-
-int main() {
- printf("gc on: %d\n", [NSGarbageCollector defaultCollector] != NULL);
- return 0;
-}
diff --git a/deps/gyp/test/mac/objc-gc/needs-gc-mm.mm b/deps/gyp/test/mac/objc-gc/needs-gc-mm.mm
deleted file mode 100644
index fc3fee9f34..0000000000
--- a/deps/gyp/test/mac/objc-gc/needs-gc-mm.mm
+++ /dev/null
@@ -1 +0,0 @@
-void objcpp_fun() { }
diff --git a/deps/gyp/test/mac/objc-gc/needs-gc.m b/deps/gyp/test/mac/objc-gc/needs-gc.m
deleted file mode 100644
index ca77976b1d..0000000000
--- a/deps/gyp/test/mac/objc-gc/needs-gc.m
+++ /dev/null
@@ -1 +0,0 @@
-void objc_fun() { }
diff --git a/deps/gyp/test/mac/objc-gc/test.gyp b/deps/gyp/test/mac/objc-gc/test.gyp
deleted file mode 100644
index 4d827c1b39..0000000000
--- a/deps/gyp/test/mac/objc-gc/test.gyp
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright (c) 2012 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': [
- # For some reason, static_library targets that are built with gc=required
- # and then linked to executables that don't use gc, the linker doesn't
- # complain. For shared_libraries it does, so use that.
- {
- 'target_name': 'no_gc_lib',
- 'type': 'shared_library',
- 'sources': [
- 'c-file.c',
- 'cc-file.cc',
- 'needs-gc-mm.mm',
- 'needs-gc.m',
- ],
- },
- {
- 'target_name': 'gc_lib',
- 'type': 'shared_library',
- 'sources': [
- 'c-file.c',
- 'cc-file.cc',
- 'needs-gc-mm.mm',
- 'needs-gc.m',
- ],
- 'xcode_settings': {
- 'GCC_ENABLE_OBJC_GC': 'supported',
- },
- },
- {
- 'target_name': 'gc_req_lib',
- 'type': 'shared_library',
- 'sources': [
- 'c-file.c',
- 'cc-file.cc',
- 'needs-gc-mm.mm',
- 'needs-gc.m',
- ],
- 'xcode_settings': {
- 'GCC_ENABLE_OBJC_GC': 'required',
- },
- },
-
- {
- 'target_name': 'gc_exe_fails',
- 'type': 'executable',
- 'sources': [ 'main.m' ],
- 'dependencies': [ 'no_gc_lib' ],
- 'xcode_settings': {
- 'GCC_ENABLE_OBJC_GC': 'required',
- },
- 'libraries': [ 'Foundation.framework' ],
- },
- {
- 'target_name': 'gc_req_exe',
- 'type': 'executable',
- 'sources': [ 'main.m' ],
- 'dependencies': [ 'gc_lib' ],
- 'xcode_settings': {
- 'GCC_ENABLE_OBJC_GC': 'required',
- },
- 'libraries': [ 'Foundation.framework' ],
- },
- {
- 'target_name': 'gc_exe_req_lib',
- 'type': 'executable',
- 'sources': [ 'main.m' ],
- 'dependencies': [ 'gc_req_lib' ],
- 'xcode_settings': {
- 'GCC_ENABLE_OBJC_GC': 'supported',
- },
- 'libraries': [ 'Foundation.framework' ],
- },
- {
- 'target_name': 'gc_exe',
- 'type': 'executable',
- 'sources': [ 'main.m' ],
- 'dependencies': [ 'gc_lib' ],
- 'xcode_settings': {
- 'GCC_ENABLE_OBJC_GC': 'supported',
- },
- 'libraries': [ 'Foundation.framework' ],
- },
- {
- 'target_name': 'gc_off_exe_req_lib',
- 'type': 'executable',
- 'sources': [ 'main.m' ],
- 'dependencies': [ 'gc_req_lib' ],
- 'libraries': [ 'Foundation.framework' ],
- },
- {
- 'target_name': 'gc_off_exe',
- 'type': 'executable',
- 'sources': [ 'main.m' ],
- 'dependencies': [ 'gc_lib' ],
- 'libraries': [ 'Foundation.framework' ],
- },
- ],
-}
-