This commit adds the `--pick` command line option so that users can
choose the git command for the non-merge commits.
Test: repo_pull.py pull -g GERRIT QUERY -p merge-ff-only
Change-Id: Ib8bdaa1418dc2fb48d0f0e3c4eb995a23c007563
This commit allows users to omit `--branch` from command line options.
`repo_pull.py` will not call `repo start` if `--branch` is unspecified.
Test: repo_pull.py bash -g GERRIT QUERY
Change-Id: I62380485f057bd35ab8ae4d5e70372ff5d05fcc5
This commit adds `-m checkout` for merge commits. If `-m checkout` is
specified, `repo_pull.py` will pull the merge commits with
`git checkout FETCH_HEAD`.
Test: repo_pull.py bash -g GERRIT QUERY -m checkout -b local_branch_name
Change-Id: I6cbedbd2941c63c8bb0591b6033a136829ffda47
Change logic that handles the manifest file so that the manifest
is not added to the prebuilts/ directory but remains in a
temporary dir for GPL checking. At the end of the update.py script,
the manifest file is deleted when the temporary dir is deleted.
Also modify how check_gpl_license.py is run independently since
the manifest file has to be fetched first.
Test: python update.py -b oc-mr1-treble-dev --build 4728343 -vv 27
Bug: 77546642
Change-Id: I7749e2998cd12325b9c6275da5e697e328137b73
* changes:
vndk-def: Automate the process to update list
vndk-def: Add special cases for libclang_rt libs
sourcedr: Extract load_manifest_from_args()
sourcedr: Move run_tests.sh
sourcedr: Reorganize ninja.py code
This commit fully automates the process to update the eligible list.
`update_dataset_auto.py` reads the environment variables and calls
`update_dataset.py` and `list_vndk_module.py` automatically.
Bug: 77781837
Test: lunch aosp_arm64_ab-userdebug && make -j8 && \
./development/vndk/tools/definition-tool/tools/update_dataset_auto.py \
./development/vndk/tools/definition-tool/datasets/eligible-list-${ver}.csv
Change-Id: I960c33e7ae74e84162297b65ac75f263dd5d2110
This commit add special cases for `libclang_rt-asan-$arch-android.so`
and `libclang_rt-ubsan_standalone-$arch-android.so` because their lib
names may vary between architectures.
This commit also removes `--delete-removed-entries`. It is enabled by
default now.
Bug: 77781837
Test: update_dataset.py --make-vars ... --module-info ... [in] -o [out]
Change-Id: I256be1ee628b5143ba10441fb501655721b85d37
This commit extracts `load_manifest_from_args()` from several commands
into `ninja.py`.
Test: ./sourcedr/ninja/tests/run_tests.sh
Change-Id: I56cd01acbdb7cd33bd90d01e6b265e97601e7ede
This commit collects all ninja.py files into one directory.
Test: ./sourcedr/ninja/tests/run_tests.sh
Change-Id: Ic8204f04136b3ff0d91b9c687ff050f0fe425f1a
Add alphabetic shortcuts to the menu in ActionBarUsage. This mirrors
what is already present in a similar support lib demo.
Bug: 31045453
Test: run com.example.android.apis.app.ActionBarUsage on a device
with keyboard shortcuts enabled (such as Chromebook). Action menu
items should display keyboard shortcuts.
Change-Id: I9e6b04df8e2a6cbc728cb60b3706d054521da7cb
This commit adds `list_ninja_build_dep.py` to list the transitive ninja
build rules of a given target.
Test: ./list_ninja_build_dep.py graph.pickle systemimage > out.txt
Change-Id: I423247d83f9bccad8db98c29b88f8c9ba72cc671
* changes:
header-abi-dumper: Add omp.h workaround
header-abi-dumper: Refactor argv fixes
Add information to denote whether a function parameter is 'this'.