Clone of https://chromium.googlesource.com/chromium/src/build with Mozilla's local modifications
Перейти к файлу
Kevin Marshall 6ccfc9d7cf Fuchsia: Expose /dev/null and /dev/zero to packaged test processes.
Some tests make use of /dev/null and /dev/zero , which was removed
by default as a consequence of turning off the "shell" permission.

This change re-adds those devices to the process' namespaces
by specifying them in the sandbox policy.

Added GN arguments for specifying different sandbox policies in
test and production executables.


Bug: 836341
Change-Id: If9bf9109e855ec7aa7a07672352be93160252a0c
Reviewed-on: https://chromium-review.googlesource.com/1026394
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Reviewed-by: Wez <wez@chromium.org>
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#553402}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b9612d09b3d6879337d0795a8b82011d7cf4eee1
2018-04-25 00:55:18 +00:00
android Remove Valgrind bits from build/android/pylib/valgrind_tools.py. 2018-04-24 02:35:53 +00:00
args Enable WebRTC on Fuchsia by default. 2017-12-15 02:27:25 +00:00
chromeos Add KVM-related checks to chromeos vm test runner. 2018-04-24 23:18:16 +00:00
cipd [android] Move CIPD dependencies into DEPS. (RELAND) 2018-03-24 00:23:27 +00:00
config Fuchsia: Expose /dev/null and /dev/zero to packaged test processes. 2018-04-25 00:55:18 +00:00
docs build: Fix common misspellings 2017-08-01 09:03:13 +00:00
experimental Replace kochi-*.ttf with IPA Fonts 2017-08-28 23:01:11 +00:00
fuchsia Roll Fuchsia SDK from 304368135b8a to f76f6ad3d3f1 2018-04-24 23:09:00 +00:00
git-hooks Silence git-hooks/pre-commit in the absence of .gitmodules (take 2). 2014-04-05 00:29:14 +00:00
internal Remove GYP files in breakpad, build, and tools. 2016-09-12 19:55:25 +00:00
ios Set Python shebang in build to /usr/bin/env python 2017-07-05 14:42:43 +00:00
linux Reland "Revert "Add more unbundle packages to sysroots"" 2018-04-17 15:04:53 +00:00
mac [build] Detect Xcode license agreement acceptance 2017-11-09 19:48:53 +00:00
sanitizers Add another TSan suppression for issue 794920. 2018-04-24 15:59:45 +00:00
secondary [Feed] Import feed@ecef016cb494d6c9469a6f99d530634af054dec8 2018-04-13 23:11:36 +00:00
toolchain Revert "Add disable_goma for args.gn on win" 2018-04-18 07:04:17 +00:00
util Dump git output when failed to get hash 2018-03-27 21:19:21 +00:00
win [build] Move windows runtime-libs gn configs to src/build 2018-04-06 18:53:15 +00:00
.gitignore Add a DEPS hook that fetches simplechrome artifacts when targetting cros 2018-04-03 20:33:02 +00:00
BUILD.gn Add support for include_dirs to gn check. 2018-01-23 20:30:03 +00:00
OWNERS Add myself to build/OWNERS 2017-09-15 02:58:02 +00:00
OWNERS.status Add global status comments for owners 2017-04-07 07:03:46 +00:00
PRESUBMIT.py Add CQ_INCLUDE_TRYBOTS for GN header checkers 2017-06-12 22:52:46 +00:00
apply_locales.py Move apply_locales.py from src/chrome/tools/build/ to src/build/. 2010-03-09 02:00:21 +00:00
branding_value.sh Adding a general script to fetch values from the BRANDING files. 2009-05-19 14:10:09 +00:00
build-ctags.sh Change build-ctags.sh output file name from ".tags" to "tags" 2014-12-09 20:36:25 +00:00
build_config.h Add asm.js to build_config.h. 2018-01-24 17:14:12 +00:00
buildflag.h Tiny fix in buildflag.h comment 2016-03-31 21:02:11 +00:00
buildflag_header.gni Rename buildflag_header targets in base for consistency 2018-02-22 02:08:08 +00:00
check_gn_headers.py Make dirty checking in check_gn_headers.py more robust 2017-06-17 00:12:04 +00:00
check_gn_headers_unittest.py Print detailed info in check_gn_headers.py 2017-06-13 10:21:23 +00:00
check_gn_headers_whitelist.txt The Great Blink mv for source files, part 1. 2018-04-07 15:31:06 +00:00
check_return_value.py check_return_value.py should drop stderr of the command it runs. 2014-04-03 07:36:32 +00:00
ciopfs.sha1 Download ciopfs from a hook in win/cross builds. 2018-02-01 20:36:45 +00:00
clobber.py Fix src/build/clobber.py 2018-04-09 15:32:48 +00:00
common.croc Remove references to sconsbuild. 2013-10-12 02:38:29 +00:00
common.gypi Gut gyp_chromium, common.gypi. 2016-09-21 22:29:06 +00:00
compiled_action.gni compiled_action: Don't add host_executable to inputs. 2018-04-03 01:44:15 +00:00
copy_test_data_ios.py Fix handling of spaces with paths in copy_test_data.py 2012-11-09 18:04:50 +00:00
cp.py Normalize output path to cp.py 2013-04-30 01:57:11 +00:00
detect_host_arch.py Arm64: Fix host architecture detection 2017-11-07 14:26:17 +00:00
dir_exists.py gyp performance: don't invoke python to check dir existance 2014-04-16 21:52:49 +00:00
dotfile_settings.gni Use action pool for non-goma tasks 2018-02-09 00:21:48 +00:00
download_nacl_toolchains.py Propagate exit code in download_nacl_toolchains. 2017-11-20 20:18:55 +00:00
download_translation_unit_tool.py Package the translation_unit tool as part of building the clang package. 2017-05-25 05:58:00 +00:00
env_dump.py Set Python shebang in build to /usr/bin/env python 2017-07-05 14:42:43 +00:00
extract_from_cab.py Fix spelling: "supress" -> "suppress" 2013-11-02 02:05:53 +00:00
find_depot_tools.py find_depot_tools: put DEPS'd depot_tools first 2017-10-10 21:36:39 +00:00
find_isolated_tests.py Add a script that can discover *.isolated files in a directory. 2014-02-28 19:46:52 +00:00
fix_gn_headers.py Support checking and fixing non-existing header files in GN 2017-04-29 07:12:17 +00:00
gdb-add-index gdb-add-index now removes its temp directory 2016-06-01 20:21:54 +00:00
get_landmines.py The Great Blink mv for source files, part 2. 2018-04-07 15:32:37 +00:00
get_syzygy_binaries.py Fix get_syzygy_binaries.py on cygwin 2017-11-04 01:39:06 +00:00
gn_helpers.py build: Fix common misspellings 2017-08-01 09:03:13 +00:00
gn_helpers_unittest.py Add FromGNArgs() to gn_helpers. 2016-04-06 00:10:38 +00:00
gn_run_binary.py Print Windows crash codes in hex 2018-02-15 00:08:36 +00:00
gyp_chromium Revert of Remove the top-level GYP files (or stub them out). (patchset #2 id:20001 of https://codereview.chromium.org/2299543008/ ) 2016-09-07 16:43:47 +00:00
gyp_chromium.py Gut gyp_chromium, common.gypi. 2016-09-21 22:29:06 +00:00
gyp_environment.py Remove direct references to hermetic mac toolchain. 2016-10-13 21:38:05 +00:00
gyp_helper.py Expose CC.host_wrapper and CXX.host_wrapper. 2015-04-02 20:42:43 +00:00
gypi_to_gn.py Make gypi_to_gn skip target_defaults sections. 2017-12-15 20:19:18 +00:00
install-build-deps-android.sh [AFDO] Add support for xz profiles 2018-04-06 00:45:36 +00:00
install-build-deps.sh Adds wayland-egl to the list of required libraries 2018-04-12 01:11:26 +00:00
install-chroot.sh build: Fix common misspellings 2017-08-01 09:03:13 +00:00
landmine_utils.py [build] Remove gyp usage from landmines script 2018-02-20 23:27:59 +00:00
landmines.py [build] Remove gyp usage from landmines script 2018-02-20 23:27:59 +00:00
mac_toolchain.py [ios] Roll hermetic to Xcode 9.2. 2017-12-07 21:18:14 +00:00
nocompile.gni Unit tests for base/thread_annotations.h. 2018-02-16 02:29:07 +00:00
package_mac_toolchain.py Don't strip DNTDocumentationSupport for hermetic bundles. 2017-06-01 14:49:01 +00:00
precompile.cc Use precompiled headers for most large projects where the .gyp file 2011-09-07 14:14:54 +00:00
precompile.h Add base::stack, convert std::stack uses use it. 2017-10-02 18:55:28 +00:00
print_python_deps.py Switch //build/print_python_deps.py to vpython. (RELAND) 2018-02-10 00:53:10 +00:00
protoc_java.py [protobuf] Switch the default java protobuf generator from nano to lite 2018-04-09 08:52:16 +00:00
redirect_stdout.py [Mac/GN] Add targets to run dump_syms and create the dSYM archive. 2016-06-09 22:59:07 +00:00
rm.py Unbreak mac component build. 2016-09-23 22:48:01 +00:00
run_swarming_xcode_install.py run_swarming_xcode_install: Add --dimension and a name tag 2017-09-28 22:25:40 +00:00
sample_arg_file.gn Add support for customizing GN's args text. 2017-03-04 02:32:43 +00:00
sanitize-mac-build-log.sed Cleanup sanitize build sed and sh scripts. 2013-10-31 04:21:14 +00:00
sanitize-mac-build-log.sh Cleanup sanitize build sed and sh scripts. 2013-10-31 04:21:14 +00:00
sanitize-win-build-log.sed Remove removed (and outdated anyway) Perl IDL compiler line from sed script 2014-02-27 15:00:45 +00:00
sanitize-win-build-log.sh Cleanup sanitize build sed and sh scripts. 2013-10-31 04:21:14 +00:00
shim_headers.gni Unbundle openh264 2017-05-22 12:52:46 +00:00
split_static_library.gni Enable header checking for chrome/browser/ui 2016-09-23 19:57:38 +00:00
swarming_xcode_install.py Install Xcode via swarming. 2017-09-15 13:17:50 +00:00
symlink.gni [android] Tweak data deps to include two chromium tool binaries. (RELAND) 2016-11-11 19:19:23 +00:00
symlink.py Revert of Add work-around to symlink.gni to avoid "not up-to-date" ninja errors (patchset #1 id:1 of https://codereview.chromium.org/2344243002/ ) 2016-09-20 22:16:30 +00:00
tree_truth.sh Print project path in build/tree_truth.sh (fix typo) 2014-11-11 16:53:33 +00:00
update-linux-sandbox.sh Report better error message on update sandbox for gn builds 2015-08-20 22:39:59 +00:00
vs_toolchain.py GN: Fix bootstrap call to setup_toolchain 2018-04-17 15:26:29 +00:00
whitespace_file.txt This CL tests if blink-reformat@ is still a committer. 2018-03-07 08:06:48 +00:00
win_is_xtree_patched.py Fix xtree patch check, and in turn C4702 disabling 2015-01-07 23:42:34 +00:00
write_build_date_header.py Fix regression in 1c9b02233631b0ba9b096d79bf5b8d71a370dbb0. 2016-04-05 00:18:55 +00:00
write_buildflag_header.py New build flag system, convert Google Now flag 2015-11-26 09:22:27 +00:00