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,23 @@
# Copyright (c) 2010 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': 'hello',
'type': 'executable',
'sources': [
'hello.c',
'bogus.c',
'also/not/real.c',
'also/not/real2.c',
],
'sources!': [
'bogus.c',
'also/not/real.c',
'also/not/real2.c',
],
},
],
}

View file

@ -0,0 +1,22 @@
#!/usr/bin/env python
# Copyright (c) 2010 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.
"""
Verifies that exclusions (e.g. sources!) are respected. Excluded sources
that do not exist should not prevent the build from succeeding.
"""
import TestGyp
test = TestGyp.TestGyp()
test.run_gyp('exclusion.gyp')
test.build('exclusion.gyp')
# executables
test.built_file_must_exist('hello' + test._exe, test.EXECUTABLE, bare=True)
test.pass_test()

View file

@ -0,0 +1,15 @@
/* Copyright (c) 2010 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. */
#include <stdio.h>
int func1(void) {
return 42;
}
int main(void) {
printf("Hello, world!\n");
printf("%d\n", func1());
return 0;
}