import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo

This commit is contained in:
Roy Tam 2018-01-19 03:59:58 +08:00
commit dcd9973243
150858 changed files with 23884658 additions and 0 deletions

View file

@ -0,0 +1,6 @@
void extra();
int main(void) {
extra();
return 0;
}

View file

@ -0,0 +1,5 @@
#include <stdio.h>
void extra() {
printf("PASS\n");
}

View file

@ -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()

View file

@ -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',
],
},
],
}