summaryrefslogtreecommitdiff
path: root/deps/gyp/test/mac/identical-name/testlib
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/mac/identical-name/testlib')
-rw-r--r--deps/gyp/test/mac/identical-name/testlib/main.cc3
-rw-r--r--deps/gyp/test/mac/identical-name/testlib/testlib.gyp14
-rw-r--r--deps/gyp/test/mac/identical-name/testlib/void.cc2
3 files changed, 19 insertions, 0 deletions
diff --git a/deps/gyp/test/mac/identical-name/testlib/main.cc b/deps/gyp/test/mac/identical-name/testlib/main.cc
new file mode 100644
index 0000000000..5c2fa9bb6a
--- /dev/null
+++ b/deps/gyp/test/mac/identical-name/testlib/main.cc
@@ -0,0 +1,3 @@
+int main(int argc, char **argv) {
+ return 0;
+}
diff --git a/deps/gyp/test/mac/identical-name/testlib/testlib.gyp b/deps/gyp/test/mac/identical-name/testlib/testlib.gyp
new file mode 100644
index 0000000000..aa8b851004
--- /dev/null
+++ b/deps/gyp/test/mac/identical-name/testlib/testlib.gyp
@@ -0,0 +1,14 @@
+{
+ 'includes': ['../test.gypi'],
+ 'targets': [{
+ 'target_name': 'proxy',
+ 'type': 'static_library',
+ 'sources': ['void.cc'],
+ 'dependencies': ['testlib'],
+ 'export_dependent_settings': ['testlib'],
+ }, {
+ 'target_name': 'testlib',
+ 'type': 'static_library',
+ 'sources': ['main.cc'],
+ }],
+}
diff --git a/deps/gyp/test/mac/identical-name/testlib/void.cc b/deps/gyp/test/mac/identical-name/testlib/void.cc
new file mode 100644
index 0000000000..8e1782da63
--- /dev/null
+++ b/deps/gyp/test/mac/identical-name/testlib/void.cc
@@ -0,0 +1,2 @@
+// Empty file
+