Clone of https://chromium.googlesource.com/chromium/src/build with Mozilla's local modifications
Перейти к файлу
Kevin Marshall 7c87e0ecbc Fuchsia: modify scripts to run non-test executables
Fuchsia: modify scripts to run non-test executables
* Move most test runner functionality to "runner_common.py", with
  the exception of gtest-specific logic.
* Move the test-specific "main()" portions into "test_runner.py".
* Add "exe_runner.py", a very thin wrapper around the test_common
  functionality.
* Use stripped executables for building the bootfs file, which results
  in a substantially smaller file size (10x difference!)
  It's necessary for running larger executables like "headless_shell",
  which are enormous when unstripped, resulting in long mkbootfs times
  and higher RAM requirements for in-memory tmpfs disks. The unstripped
  executable remains intact alongside the stripped executable, for
  backtrace symbolization.
* Add a GN template "fuchsia_executable_runner", which generates
  executable runner scripts on non-test targets.


Bug: 746674,752364
Change-Id: Ia39c3d7fdf9bb574049f0112df84951c2e048f41
Reviewed-on: https://chromium-review.googlesource.com/602410
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Reviewed-by: Sami Kyöstilä <skyostil@chromium.org>
Reviewed-by: Scott Graham <scottmg@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#493524}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 143e53fb43b6dfbee260273daaa4b033c3edf1ec
2017-08-10 20:33:25 +00:00
android Delete a bunch of GYP-only Android build scripts 2017-08-10 19:09:02 +00:00
args Revert "Modify GN feature args for Fuchsia." 2017-08-08 17:40:53 +00:00
config Fuchsia: modify scripts to run non-test executables 2017-08-10 20:33:25 +00:00
docs build: Fix common misspellings 2017-08-01 09:03:13 +00:00
experimental Remove support for Ubuntu/Precise sysroot 2017-04-07 16:20:20 +00:00
fuchsia Fuchsia: modify scripts to run non-test executables 2017-08-10 20:33:25 +00:00
git-hooks
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 Build and upload Debian Stretch sysroots 2017-08-02 22:09:06 +00:00
mac build: Fix common misspellings 2017-08-01 09:03:13 +00:00
sanitizers Expand TSAN suppression related to debug code. 2017-07-24 15:14:45 +00:00
secondary Update Crashpad to 7f038ebbd2df4c05192d2870f8924e34d3ae6383 2017-08-01 05:15:21 +00:00
slave
toolchain build: Fix common misspellings 2017-08-01 09:03:13 +00:00
util Make chrome_test_server_spawner usable on Fuchsia 2017-08-08 01:41:26 +00:00
win win: Let linker convert .manifest file to an embedded resource instead of calling rc.exe. 2017-07-26 19:46:08 +00:00
.gitignore Add patched eu-strip in third_party 2017-06-22 23:13:51 +00:00
OWNERS Anyone can edit check_gn_headers_whitelist.txt 2017-06-06 18:02:15 +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
branding_value.sh
build-ctags.sh
build_config.h Add information on the requirements for a new Chromium port. 2017-05-30 16:33:38 +00:00
buildflag.h
buildflag_header.gni Remove som GYP annotations, remove unused manifest. 2016-09-27 21:20:37 +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 Move UseCounter WebFeature definition into mojom 2017-07-04 23:19:53 +00:00
check_return_value.py
clobber.py Don't clobber symlinks to build directories 2017-01-19 17:42:58 +00:00
common.croc
common.gypi Gut gyp_chromium, common.gypi. 2016-09-21 22:29:06 +00:00
compiled_action.gni GN: forward_variables_from shouldn't clobber vars. 2016-05-03 01:09:10 +00:00
copy_test_data_ios.py
cp.py
detect_host_arch.py PPC/s390: [sysroot installer] Disable for host arch PPC/s390 2016-09-30 02:15:07 +00:00
dir_exists.py
dotfile_settings.gni For building v8 using gn on aix_ppc64, linux_s390x and linux_ppc64(both LE and BE). 2017-05-10 04:55:56 +00:00
download_nacl_toolchains.py
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
find_depot_tools.py Add "depot_tools" to DEPS. 2017-06-06 21:34:30 +00:00
find_isolated_tests.py
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 Add comment warning about modifying landmines 2017-06-30 01:25:11 +00:00
get_syzygy_binaries.py Automatically copy the DIA DLL in the Syzygy binaries directory. 2016-10-04 18:25:11 +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 build: Fix common misspellings 2017-08-01 09:03:13 +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
gypi_to_gn.py Add documentation for exec_script and gypi_to_gn 2016-04-19 22:55:02 +00:00
install-build-deps-android.sh Remove support for Ubuntu/Precise sysroot 2017-04-07 16:20:20 +00:00
install-build-deps.sh Add x11-utils to install-build-deps.sh 2017-08-08 00:23:23 +00:00
install-chroot.sh build: Fix common misspellings 2017-08-01 09:03:13 +00:00
landmine_utils.py build: Fix common misspellings 2017-08-01 09:03:13 +00:00
landmines.py Add comment warning about modifying landmines 2017-06-27 16:04:46 +00:00
mac_toolchain.py Temporary workaround for macOS hermetic toolchain not being used. 2017-08-02 21:11:18 +00:00
nocompile.gni Switch nocompile_driver.py to libc++ and C++14 2017-08-01 00:23:32 +00:00
package_mac_toolchain.py Don't strip DNTDocumentationSupport for hermetic bundles. 2017-06-01 14:49:01 +00:00
precompile.cc
precompile.h
print_python_deps.py [Android] Fix stack symbolization when packed relocations are on. 2017-04-29 01:34:58 +00:00
protoc_java.py Fix android depfiles to always list GN's outputs[0] 2016-09-14 02:06:20 +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
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
sanitize-mac-build-log.sh
sanitize-win-build-log.sed
sanitize-win-build-log.sh
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
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
update-linux-sandbox.sh
vs_toolchain.py win: Let vs_toolchain.py work on non-Win hosts again. 2017-07-24 22:23:12 +00:00
whitespace_file.txt Added a secret ending (which is not-so-secret now) 2017-05-26 17:41:47 +00:00
win_is_xtree_patched.py
write_build_date_header.py Fix regression in 1c9b02233631b0ba9b096d79bf5b8d71a370dbb0. 2016-04-05 00:18:55 +00:00
write_buildflag_header.py