mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-28 19:37:32 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
|
|
@ -0,0 +1,2 @@
|
|||
void* f();
|
||||
int main() { f(); }
|
||||
|
|
@ -0,0 +1 @@
|
|||
int main() {}
|
||||
3
media/webrtc/trunk/tools/gyp/test/no-cpp/src/f.cc
Normal file
3
media/webrtc/trunk/tools/gyp/test/no-cpp/src/f.cc
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
extern "C" { void* f(); }
|
||||
|
||||
void* f() { return new int; }
|
||||
25
media/webrtc/trunk/tools/gyp/test/no-cpp/src/test.gyp
Normal file
25
media/webrtc/trunk/tools/gyp/test/no-cpp/src/test.gyp
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# Copyright (c) 2013 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': 'no_cpp',
|
||||
'type': 'executable',
|
||||
'sources': [ 'empty-main.c' ],
|
||||
},
|
||||
# A static_library with a cpp file and a linkable with only .c files
|
||||
# depending on it causes a linker error:
|
||||
{
|
||||
'target_name': 'cpp_lib',
|
||||
'type': 'static_library',
|
||||
'sources': [ 'f.cc' ],
|
||||
},
|
||||
{
|
||||
'target_name': 'no_cpp_dep_on_cc_lib',
|
||||
'type': 'executable',
|
||||
'dependencies': [ 'cpp_lib' ],
|
||||
'sources': [ 'call-f-main.c' ],
|
||||
},
|
||||
],
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue