mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-06 07:17:30 +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
3
media/webrtc/trunk/tools/gyp/test/mac/postbuilds/copy.sh
Normal file
3
media/webrtc/trunk/tools/gyp/test/mac/postbuilds/copy.sh
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
cp "$@"
|
||||
4
media/webrtc/trunk/tools/gyp/test/mac/postbuilds/file.c
Normal file
4
media/webrtc/trunk/tools/gyp/test/mac/postbuilds/file.c
Normal 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() {}
|
||||
|
|
@ -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() {}
|
||||
|
|
@ -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() {}
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -0,0 +1 @@
|
|||
This file should be copied to the products dir.
|
||||
|
|
@ -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',
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
93
media/webrtc/trunk/tools/gyp/test/mac/postbuilds/test.gyp
Normal file
93
media/webrtc/trunk/tools/gyp/test/mac/postbuilds/test.gyp
Normal 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,
|
||||
},
|
||||
],
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue