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
VNDK snapshot updater reads license text files. To avoid unexpected
text files to be read, explicitly set the encoding type and ignore
if failed to read.
Bug: 288846788
Test: add binary to read and see if it is ignored
Change-Id: I7e3d0bbdc6c692ef7dbc6d8bf9d53c67003d0f90
So we have a way to play with the android.net.http APIs.
This is essentially copied from
https://source.chromium.org/chromium/chromium/src/+/main:components/cronet/android/sample/
with minor modifications to support android.net.http APIs (mainly,
renaming APIs and working around the fact that apihelpers are not
available to apps).
Test: adb install -r $OUT/system/app/Development/Development.apk
Change-Id: I8fdb2f64f110551edd39fab074abaf84e76b010f
This commit fixes the bug that causes the ABI tools to produce invalid
output but return success.
Bug: 288168134
Test: development/vndk/tools/header-checker/tests/test.py
Change-Id: Ifa94667e9d38eff65e943a1d277dd2c7b5493fe5
Add the Injection use case of Aconfig flag.
Add corresponding tests.
Test: atest AconfigDemo_ContentLibs_Test
Bug: 287644619
Change-Id: I47cea59764b2956644ad0c159945d3cdb3231c09
Add a simple app uses aconfig.
This app can demonstrate
1. declare aconfig flag
2. build aconfig flag in building system
3. generate aconfig java flag
4. use aconfig java flag in java code
Test: atest AconfigDemo_ContentProvide_Test
Bug: 280833426
Change-Id: Ieacbe4b2368a00872254dab1c87dc66c569fc30a
The current cargo2android.py doesn't work well w/ `--cargo_bin`. It would use the full path rustc(/<HOME>/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc) instead of basename(`rustc`). The `RUSTC_PAT` and `RUSTC_VV_CMD_ARGS` regex doesn't match the full path.
This CL uses `(.*\/)?` to match the path if it exists.
Change-Id: If5e4060410c1cd45ad6c9612ebe856552aa14d08