Add usage of test mode of java_aconfig_library.
Add local host unit test of contentlibs
Test: atest ContentLibs_test_host --host
Bug: 287644619
Change-Id: Ib99a3f2b692d3251d445a2e188325ee0b0b6b268
aconfig now requires that each flag is associated with exactly one bug.
Update aconfig_demo_flags.aconfig accordingly.
Also standardize use of whitespace.
Bug: 293156797
Test: presubmit
Change-Id: I3e10f7055ffb2776fbe825f0902b735ca4674b58
We turned this off for a bit because not all deps were mapped in to the
clang-tools build. Re-enabling now to produce a fresh prebuilt.
Bug: 251506715
Test: ABTD aosp-clang-tools
Change-Id: Ia843be55894946ff0803c43057e58899f99b580f
An arch variant directory may contain a soong host config subdirectory.
The ABI dump script extracts the last two directory names from an
intermediate lsdump path. It builds the lsdump if any of the directory
names matches the variant.
Test: ./create_reference_dumps.py -libs libmemtrack \
-products aosp_arm64
Bug: 291850413
Change-Id: I3dafc68b0dc7bb7faf708e3adfd24082a12a691b
The TestDiscoverService app covers the API for service discover. The
TestAdvertiseService app covers the APT for service advertisement.
Test: ./gradlew build
Change-Id: I6a8d94bbe88a9a20b1adcda8e0916898c68e7ea5
Right now the raised exception only shows the command and return code.
Printing the output should make the error more clear.
Test: adb root, then in adb shell touch the server and make immutable
touch /data/local/tmp/x86_64-lldb-server
chattr +i /data/local/tmp/x86_64-lldb-server
Then on host lldbclient.py -r test
Fails as expected with with "operation not permitted"
Change-Id: Ie22f41bb90809c2f9bafaee0be6a151d9b017502
Adding per-file line for cargo2rulesmk.py such that
it can be maintained by members of the platsec Rust
and Trusty teams.
Bug: 281857510
Change-Id: I9aedee5a76c4d463d4cf3d0851c60193d96a7696
Add script that generates rules.mk files from Rust crates.
Based on and inspired by cargo2android.py script to generate
blueprint files for the Android build system.
The script has only been tested on the vendored crates used to
build Trusty (see external/rust/crates) and does not support
the full range of crate types or cargo features.
Bug: 281857510
Change-Id: I1951f75476c36b9a1b794c4a51483f2c7387b1f5
Switch to using soong_zip instead of regular zip because soong_zip
doesn't add timestamps.
Also remove mk-sdk-repo-pkg-3 because it was unused.
Test: m sdk sdk_repo dist
Change-Id: Ic41fab8475ac22e43128af2b60017932ee2aee89
The new argument makes the generator write the VSCode launch.json config
into a file instead of stdout.
The generator uses marker lines to insert the config. This way the user
can control where in the file the launch config is written.
Test: atest gdbclient_test
Test: lldbclient.py --setup-forwarding vscode-lldb \
--vscode-launch-props= \
'{"internalConsoleOptions" : "openOnSessionStart"}' \
--vscode-launch-file=.vscode/launch.json -r test
Change-Id: I92b3f479b5ebcb722933938f52d0f23ff098beac
... also fixed missing copyright headers in 2 existing test files
... also made the instrumentation against the demo activity for real
Bug: 277819423
Test: atest FlagStateComboTests
adb shell device_config put test \
com.example.android.aconfig.demo.flags.awesome_flag_1 <true|false>
adb shell device_config put test \
com.example.android.aconfig.demo.flags.awesome_flag_2 <true|false>
Change-Id: I6083f11ee743a8b4f0f9bc23ac6945b5d072ab5e
The command must be in quotations. Use eval to run commands.
Bug: 284915566
Test: combined_build_test.sh -t cf_x86_64_phone -v userdebug \
-d out/dist -a cf_x86_64_foldable -o -c droid
Change-Id: I41881527434a05736224de502ff6b09dcc45a55c
Bindgen has been updated in platform, but additional repos need to be
mapped into this build to work properly. Since changing manifests
requires special permissions, this unbreaks the build until we can get
the manifest fixed to re-add bindgen.
Test: TH
Change-Id: Idd7bf289212a2570e267eaab0e94d332ed8a44b2
The script must fail and be excluded from the build stats if any
build run fails.
Bug: 284915566
Test: run_command with fault command
Change-Id: I0bc8d14286ebce52036f45ba4dee675f333a3ff0
verbose.log.gz includes the logs for the ninja explain.
The logs will be automatically cached to verbose.log.gz,
verbose.log.2.gz, and verbose.log.4.gz.
Bug: 284915566
Test: combined_build_test.sh -t cf_x86_64_phone -v userdebug \
-d out/dist -a cf_x86_64_foldable -o -c -r droid
Change-Id: Ib722a7c331cfe6b034ab4812b85504d2f5161881