chromium-src-build/android
Peter Collingbourne 9f00b2f2ee Set $UBSAN_OPTIONS in the LibraryLoader.
We cannot rely on an instrumentation extra to pass the
value of $UBSAN_OPTIONS to Java because some tests, such as
webview_instrumentation_test_apk, do not use "am instrument" to launch
APKs containing native code. The solution is to move the code that
sets $UBSAN_OPTIONS into LibraryLoader and arrange for it to be run
by all clients of LibraryLoader.

There doesn't seem to be a simple way to deduplicate the value of
$UBSAN_OPTIONS between the Java code and the Python code so I've
duplicated it with a comment for now.

Bug: 469376
Change-Id: Iefb225601d5e963efbcd6cb4db8d158bb35afd19
Reviewed-on: https://chromium-review.googlesource.com/826106
Reviewed-by: agrieve <agrieve@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: John Budorick <jbudorick@chromium.org>
Commit-Queue: Peter Collingbourne <pcc@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524845}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: fd089e85bde7973f62edddc417abadc7cf69f95d
2017-12-18 22:59:26 +00:00
..
binary_size Android: Update reference apks for M64. 2017-12-14 17:40:31 +00:00
buildhooks Android: Add bytecode rewriting for Resources.getIdentifier(). 2017-12-14 17:05:39 +00:00
bytecode Android: Add bytecode rewriting for Resources.getIdentifier(). 2017-12-14 17:05:39 +00:00
docs Update EMMA code coverage documentation. 2016-10-18 09:02:32 +00:00
empty Reland: Android: Remove last remnants of ANT (part 1) 2017-10-19 20:31:40 +00:00
gn [android] Stop using isolate.py for data dependency management. (RELAND) 2016-11-18 22:55:16 +00:00
gradle Android: Better support for Annotation Processors. 2017-12-11 16:33:04 +00:00
gyp Revert "Reland Use Aapt2 for final apk resource packaging" 2017-12-14 22:40:55 +00:00
incremental_install Android: Disable findbugs 2017-11-06 18:29:02 +00:00
lint Roll android SDK to O MR1. (RELAND) 2017-11-28 21:08:21 +00:00
play_services 📱 Script to update the support lib using Maven 2017-11-09 21:40:40 +00:00
pylib Set $UBSAN_OPTIONS in the LibraryLoader. 2017-12-18 22:59:26 +00:00
stacktrace java_deobfuscate: Update regex for logcat with space before PID 2017-10-24 14:29:49 +00:00
test_wrapper Remove --target-devices-file option from android test runner. 2017-10-06 18:41:01 +00:00
tests/symbolize
update_deps [android] Propagate exit codes from update_third_party_deps. 2017-11-03 23:42:51 +00:00
AndroidManifest.xml Change dummy package name so it doesn't include a reserved word. 2017-04-19 15:55:54 +00:00
BUILD.gn Android: Refactor GN templates to unify prebuilt & non-prebuilt logic 2017-12-06 22:06:19 +00:00
CheckInstallApk-debug.apk
OWNERS Add COMPONENT: Test>Android to several OWNERS files. 2017-02-02 16:41:24 +00:00
PRESUBMIT.py [android] Add local results details pages. (RELAND) 2017-10-17 20:39:46 +00:00
adb_chrome_public_command_line [build/android] Update adb_command_line.py to use flag_changer 2017-01-20 07:42:28 +00:00
adb_command_line.py Set Python shebang in build to /usr/bin/env python 2017-07-05 14:42:43 +00:00
adb_gdb Check for run-as failure in adb_gdb script. 2017-11-20 18:58:54 +00:00
adb_install_apk.py [build/android] Fix error messages in adb_install_apk 2017-07-03 12:42:21 +00:00
adb_logcat_monitor.py
adb_logcat_printer.py
adb_profile_chrome
adb_profile_chrome_startup
adb_reverse_forwarder.py [Android] Switch adb_reverse_forwarder to argparse. 2016-09-23 02:43:03 +00:00
adb_system_webview_command_line [build/android] Update adb_command_line.py to use flag_changer 2017-01-20 07:42:28 +00:00
android_only_explicit_jni_exports.lst Reland of Android: Use linker script to hide all non-JNI symbols 2017-02-15 17:20:56 +00:00
android_only_jni_exports.lst Reland of Android: Use linker script to hide all non-JNI symbols 2017-02-15 17:20:56 +00:00
apk_operations.py apk_operations.py: Fix command-line setting for non-rooted devices 2017-12-05 18:15:16 +00:00
asan_symbolize.py
avd.py
chromium-debug.keystore Reland: Android: Remove last remnants of ANT (part 1) 2017-10-19 20:31:40 +00:00
devil_chromium.json Roll Android SDK to N-MR1 2017-03-30 23:46:11 +00:00
devil_chromium.py [Android] Use local build of chromium_commands.dex.jar in chromium tests. 2016-12-19 20:21:14 +00:00
diff_resource_sizes.py Fix appending to wrong var in diff_resource_sizes.py 2017-09-26 00:00:40 +00:00
download_doclava.py
emma_coverage_stats.py Set Python shebang in build to /usr/bin/env python 2017-07-05 14:42:43 +00:00
emma_coverage_stats_test.py Set Python shebang in build to /usr/bin/env python 2017-07-05 14:42:43 +00:00
empty_proguard.flags
envsetup.sh Android: Remove mentions of envsetup.sh from docs 2017-11-23 16:58:31 +00:00
generate_emma_html.py Output coverage reports in UTF8. 2016-10-17 16:56:09 +00:00
host_heartbeat.py
install_emulator_deps.py [android] Raise emulator deps installation timeout to 5 min each. 2017-05-19 15:34:19 +00:00
lighttpd_server.py build: Fix common misspellings 2017-08-01 09:03:13 +00:00
main_dex_classes.flags [android] Keep Services in the main dex. 2017-05-23 17:00:20 +00:00
method_count.py Reland #2 of Add dex info and static initializers to resource_sizes.py 2016-09-01 18:47:24 +00:00
multidex.flags [Android] Enable multidex for release builds of chrome_public_test_apk. (RELAND) 2017-04-26 21:24:22 +00:00
provision_devices.py [devil refactor] Prepare clients for DeviceUnreachableError 2017-04-13 12:19:51 +00:00
pylintrc
resource_sizes.py tools/grit: Remove obsolete DataPack class. 2017-11-03 20:33:43 +00:00
screenshot.py
test_runner.py Use test-launcher-filter-file instead of gtest-filter-file. 2017-12-14 21:13:34 +00:00
test_runner.pydeps [android] Add local results details pages. (RELAND) 2017-10-17 20:39:46 +00:00
tombstones.py Close and join pool after resolving tombstones. 2017-11-17 19:21:10 +00:00
update_verification.py
video_recorder.py