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 --- media/webrtc/trunk/tools/gyp/test/make/noload/all.gyp | 18 ++++++++++++++++++ .../trunk/tools/gyp/test/make/noload/lib/shared.c | 3 +++ .../trunk/tools/gyp/test/make/noload/lib/shared.gyp | 16 ++++++++++++++++ .../trunk/tools/gyp/test/make/noload/lib/shared.h | 1 + media/webrtc/trunk/tools/gyp/test/make/noload/main.c | 9 +++++++++ 5 files changed, 47 insertions(+) create mode 100644 media/webrtc/trunk/tools/gyp/test/make/noload/all.gyp create mode 100644 media/webrtc/trunk/tools/gyp/test/make/noload/lib/shared.c create mode 100644 media/webrtc/trunk/tools/gyp/test/make/noload/lib/shared.gyp create mode 100644 media/webrtc/trunk/tools/gyp/test/make/noload/lib/shared.h create mode 100644 media/webrtc/trunk/tools/gyp/test/make/noload/main.c (limited to 'media/webrtc/trunk/tools/gyp/test/make/noload') 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 + +#include "lib/shared.h" + +int main(void) +{ + printf("Hello from %s.\n", kSharedStr); + return 0; +} -- cgit v1.2.3