summaryrefslogtreecommitdiffstats
path: root/media/webrtc/trunk/tools/gyp/test/make/noload
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /media/webrtc/trunk/tools/gyp/test/make/noload
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'media/webrtc/trunk/tools/gyp/test/make/noload')
-rw-r--r--media/webrtc/trunk/tools/gyp/test/make/noload/all.gyp18
-rw-r--r--media/webrtc/trunk/tools/gyp/test/make/noload/lib/shared.c3
-rw-r--r--media/webrtc/trunk/tools/gyp/test/make/noload/lib/shared.gyp16
-rw-r--r--media/webrtc/trunk/tools/gyp/test/make/noload/lib/shared.h1
-rw-r--r--media/webrtc/trunk/tools/gyp/test/make/noload/main.c9
5 files changed, 47 insertions, 0 deletions
diff --git a/media/webrtc/trunk/tools/gyp/test/make/noload/all.gyp b/media/webrtc/trunk/tools/gyp/test/make/noload/all.gyp
new file mode 100644
index 000000000..1617a9e97
--- /dev/null
+++ b/media/webrtc/trunk/tools/gyp/test/make/noload/all.gyp
@@ -0,0 +1,18 @@
+# Copyright (c) 2010 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': 'exe',
+ 'type': 'executable',
+ 'sources': [
+ 'main.c',
+ ],
+ 'dependencies': [
+ 'lib/shared.gyp:shared',
+ ],
+ },
+ ],
+}
diff --git a/media/webrtc/trunk/tools/gyp/test/make/noload/lib/shared.c b/media/webrtc/trunk/tools/gyp/test/make/noload/lib/shared.c
new file mode 100644
index 000000000..51776c5ac
--- /dev/null
+++ b/media/webrtc/trunk/tools/gyp/test/make/noload/lib/shared.c
@@ -0,0 +1,3 @@
+#include "shared.h"
+
+const char kSharedStr[] = "shared.c";
diff --git a/media/webrtc/trunk/tools/gyp/test/make/noload/lib/shared.gyp b/media/webrtc/trunk/tools/gyp/test/make/noload/lib/shared.gyp
new file mode 100644
index 000000000..8a8841b3a
--- /dev/null
+++ b/media/webrtc/trunk/tools/gyp/test/make/noload/lib/shared.gyp
@@ -0,0 +1,16 @@
+# Copyright (c) 2009 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': 'shared',
+ 'type': 'shared_library',
+ 'sources': [
+ 'shared.c',
+ 'shared.h',
+ ],
+ },
+ ],
+}
diff --git a/media/webrtc/trunk/tools/gyp/test/make/noload/lib/shared.h b/media/webrtc/trunk/tools/gyp/test/make/noload/lib/shared.h
new file mode 100644
index 000000000..a21da7538
--- /dev/null
+++ b/media/webrtc/trunk/tools/gyp/test/make/noload/lib/shared.h
@@ -0,0 +1 @@
+extern const char kSharedStr[];
diff --git a/media/webrtc/trunk/tools/gyp/test/make/noload/main.c b/media/webrtc/trunk/tools/gyp/test/make/noload/main.c
new file mode 100644
index 000000000..26ec1889a
--- /dev/null
+++ b/media/webrtc/trunk/tools/gyp/test/make/noload/main.c
@@ -0,0 +1,9 @@
+#include <stdio.h>
+
+#include "lib/shared.h"
+
+int main(void)
+{
+ printf("Hello from %s.\n", kSharedStr);
+ return 0;
+}