mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-26 18:37:31 +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
6
media/webrtc/trunk/tools/gyp/test/link-objects/base.c
Normal file
6
media/webrtc/trunk/tools/gyp/test/link-objects/base.c
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
void extra();
|
||||
|
||||
int main(void) {
|
||||
extra();
|
||||
return 0;
|
||||
}
|
||||
5
media/webrtc/trunk/tools/gyp/test/link-objects/extra.c
Normal file
5
media/webrtc/trunk/tools/gyp/test/link-objects/extra.c
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#include <stdio.h>
|
||||
|
||||
void extra() {
|
||||
printf("PASS\n");
|
||||
}
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
# Copyright (c) 2011 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.
|
||||
|
||||
"""
|
||||
Put an object file on the sources list.
|
||||
Expect the result to link ok.
|
||||
"""
|
||||
|
||||
import TestGyp
|
||||
|
||||
import sys
|
||||
|
||||
if sys.platform != 'darwin':
|
||||
# Currently only works under the linux make build.
|
||||
test = TestGyp.TestGyp(formats=['make'])
|
||||
|
||||
test.run_gyp('link-objects.gyp')
|
||||
|
||||
test.build('link-objects.gyp', test.ALL)
|
||||
|
||||
test.run_built_executable('link-objects', stdout="PASS\n")
|
||||
|
||||
test.up_to_date('link-objects.gyp', test.ALL)
|
||||
|
||||
test.pass_test()
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
# 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': 'link-objects',
|
||||
'type': 'executable',
|
||||
'actions': [
|
||||
{
|
||||
'action_name': 'build extra object',
|
||||
'inputs': ['extra.c'],
|
||||
'outputs': ['extra.o'],
|
||||
'action': ['gcc', '-o', 'extra.o', '-c', 'extra.c'],
|
||||
'process_outputs_as_sources': 1,
|
||||
},
|
||||
],
|
||||
'sources': [
|
||||
'base.c',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue