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,30 @@
#!/usr/bin/env python
# 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.
import TestGyp
test = TestGyp.TestGyp()
test.run_gyp('multiple.gyp', chdir='src')
test.relocate('src', 'relocate/src')
test.build('multiple.gyp', test.ALL, chdir='relocate/src', stderr=None)
expect1 = """\
hello from prog1.c
hello from common.c
"""
expect2 = """\
hello from prog2.c
hello from common.c
"""
test.run_built_executable('prog1', stdout=expect1, chdir='relocate/src')
test.run_built_executable('prog2', stdout=expect2, chdir='relocate/src')
test.pass_test()

View file

@ -0,0 +1,30 @@
#!/usr/bin/env python
# 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.
import TestGyp
test = TestGyp.TestGyp()
test.run_gyp('multiple.gyp', chdir='src')
test.relocate('src', 'relocate/src')
test.build('multiple.gyp', chdir='relocate/src')
expect1 = """\
hello from prog1.c
hello from common.c
"""
expect2 = """\
hello from prog2.c
hello from common.c
"""
test.run_built_executable('prog1', stdout=expect1, chdir='relocate/src')
test.run_built_executable('prog2', stdout=expect2, chdir='relocate/src')
test.pass_test()

View file

@ -0,0 +1,7 @@
#include <stdio.h>
void common(void)
{
printf("hello from common.c\n");
return;
}

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': 'prog1',
'type': 'executable',
'sources': [
'prog1.c',
'common.c',
],
},
{
'target_name': 'prog2',
'type': 'executable',
'sources': [
'prog2.c',
'common.c',
],
},
],
}

View file

@ -0,0 +1,10 @@
#include <stdio.h>
extern void common(void);
int main(void)
{
printf("hello from prog1.c\n");
common();
return 0;
}

View file

@ -0,0 +1,10 @@
#include <stdio.h>
extern void common(void);
int main(void)
{
printf("hello from prog2.c\n");
common();
return 0;
}