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,3 @@
#!/bin/bash
cp "$@"

View file

@ -0,0 +1,4 @@
// 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.
void f() {}

View file

@ -0,0 +1,4 @@
// Copyright (c) 2012 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.
void g() {}

View file

@ -0,0 +1,4 @@
// Copyright (c) 2012 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.
void h() {}

View file

@ -0,0 +1,23 @@
#!/bin/bash
# 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.
set -e
lib="${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}"
nm ${lib} > /dev/null # Just make sure this works.
pattern="${1}"
if [ $pattern != "a|b" ]; then
echo "Parameter quoting is broken"
exit 1
fi
if [ "${2}" != "arg with spaces" ]; then
echo "Parameter space escaping is broken"
exit 1
fi
touch "${lib}"_touch

View file

@ -0,0 +1,23 @@
#!/bin/bash
# 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.
set -e
lib="${BUILT_PRODUCTS_DIR}/${FULL_PRODUCT_NAME}"
nm ${lib} > /dev/null # Just make sure this works.
pattern="${1}"
if [ $pattern != "a|b" ]; then
echo "Parameter quote escaping is broken"
exit 1
fi
if [ "${2}" != "arg with spaces" ]; then
echo "Parameter space escaping is broken"
exit 1
fi
touch "${lib}"_touch.a

View file

@ -0,0 +1 @@
This file should be copied to the products dir.

View file

@ -0,0 +1,53 @@
# 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.
{
'targets': [
{
'target_name': 'nest_el',
'type': 'static_library',
'sources': [ '../file_g.c', ],
'postbuilds': [
{
'postbuild_name': 'Static library postbuild',
'variables': {
'some_regex': 'a|b',
},
'action': [
'../script/static_library_postbuild.sh',
'<(some_regex)',
'arg with spaces',
],
},
],
},
{
'target_name': 'nest_dyna',
'type': 'shared_library',
'mac_bundle': 1,
'sources': [ '../file_h.c', ],
'postbuilds': [
{
'postbuild_name': 'Dynamic library postbuild',
'variables': {
'some_regex': 'a|b',
},
'action': [
'../script/shared_library_postbuild.sh',
'<(some_regex)',
'arg with spaces',
],
},
{
'postbuild_name': 'Test paths relative to gyp file',
'action': [
'../copy.sh',
'./copied_file.txt',
'${BUILT_PRODUCTS_DIR}/copied_file_2.txt',
],
},
],
},
],
}

View file

@ -0,0 +1,93 @@
# 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.
{
'targets': [
{
'target_name': 'el',
'type': 'static_library',
'sources': [ 'file.c', ],
'postbuilds': [
{
'postbuild_name': 'Static library postbuild',
'variables': {
'some_regex': 'a|b',
},
'action': [
'script/static_library_postbuild.sh',
'<(some_regex)',
'arg with spaces',
],
},
{
'postbuild_name': 'Test variable in gyp file',
'action': [
'cp',
'${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}',
'${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}_gyp_touch.a',
],
},
],
},
{
'target_name': 'dyna',
'type': 'shared_library',
'mac_bundle': 1,
'sources': [ 'file.c', ],
'dependencies': [
'subdirectory/nested_target.gyp:nest_dyna',
'subdirectory/nested_target.gyp:nest_el',
],
'postbuilds': [
{
'postbuild_name': 'Dynamic library postbuild',
'variables': {
'some_regex': 'a|b',
},
'action': [
'script/shared_library_postbuild.sh',
'<(some_regex)',
'arg with spaces',
],
},
{
'postbuild_name': 'Test variable in gyp file',
'action': [
'cp',
'${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}',
'${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}_gyp_touch',
],
},
{
'postbuild_name': 'Test paths relative to gyp file',
'action': [
'./copy.sh',
'subdirectory/copied_file.txt',
'${BUILT_PRODUCTS_DIR}',
],
},
],
},
{
'target_name': 'dyna_standalone',
'type': 'shared_library',
'sources': [ 'file.c', ],
'postbuilds': [
{
'postbuild_name': 'Test variable in gyp file',
'action': [
'cp',
'${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}',
'${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}_gyp_touch.dylib',
],
},
],
},
{
'target_name': 'EmptyBundle',
'product_extension': 'bundle',
'type': 'executable',
'mac_bundle': 1,
},
],
}