diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /media/webrtc/trunk/tools/gyp/test/compilable/src | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-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/compilable/src')
4 files changed, 48 insertions, 0 deletions
diff --git a/media/webrtc/trunk/tools/gyp/test/compilable/src/headers.gyp b/media/webrtc/trunk/tools/gyp/test/compilable/src/headers.gyp new file mode 100644 index 000000000..b6c2a8857 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/compilable/src/headers.gyp @@ -0,0 +1,26 @@ +# 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': 'program', + 'type': 'executable', + 'dependencies': [ + 'lib1' + ], + 'sources': [ + 'program.cpp', + ], + }, + { + 'target_name': 'lib1', + 'type': 'static_library', + 'sources': [ + 'lib1.hpp', + 'lib1.cpp', + ], + }, + ], +} diff --git a/media/webrtc/trunk/tools/gyp/test/compilable/src/lib1.cpp b/media/webrtc/trunk/tools/gyp/test/compilable/src/lib1.cpp new file mode 100644 index 000000000..51bc31a40 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/compilable/src/lib1.cpp @@ -0,0 +1,7 @@ +#include <stdio.h> +#include "lib1.hpp" + +void lib1_function(void) { + fprintf(stdout, "Hello from lib1.c\n"); + fflush(stdout); +} diff --git a/media/webrtc/trunk/tools/gyp/test/compilable/src/lib1.hpp b/media/webrtc/trunk/tools/gyp/test/compilable/src/lib1.hpp new file mode 100644 index 000000000..72e63e8ac --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/compilable/src/lib1.hpp @@ -0,0 +1,6 @@ +#ifndef _lib1_hpp +#define _lib1_hpp + +extern void lib1_function(void); + +#endif diff --git a/media/webrtc/trunk/tools/gyp/test/compilable/src/program.cpp b/media/webrtc/trunk/tools/gyp/test/compilable/src/program.cpp new file mode 100644 index 000000000..8af2c9b6f --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/compilable/src/program.cpp @@ -0,0 +1,9 @@ +#include <stdio.h> +#include "lib1.hpp" + +int main(void) { + fprintf(stdout, "Hello from program.c\n"); + fflush(stdout); + lib1_function(); + return 0; +} |