Age | Commit message (Collapse) | Author |
|
Running query.sh without any arugments already provides usage
information that is sometimes more details than the README. We should
just pick one place for documentation and leave the other empty. The
query scripts are automatically read for documentation, so they're more
likely to be up-to-date than the README.
Change-Id: I355273bcd37c4186771c99e0e407ba9041552964
|
|
Change-Id: Iad3ed848b0ebbf25315f0c5e8da6ed3586a87a47
|
|
Test: query.sh reverseDeps out/soong/module-graph.json external_icu_license
Change-Id: Idb82be18d954a9677262d1242792463e08e93a7d
|
|
Test: query.sh reverseDeps out/soong/module-graph.json external_icu_license
PAIR=usta
Change-Id: I0015514b03f3b8706fb3b29bb268ee26f84dc9fe
|
|
Test: query locally
Change-Id: I7a8c0c5915d853503b515c080ac3479d046eb6a9
|
|
the property contains the input argument.
Test: no
Change-Id: I7a57ff3ec136440d4693d6549a39489e872fa53d
|
|
Change-Id: Ia726b7f4e60eb5fc38a177d70d7e8eef0b604ea6
|
|
"`jq` may be installed through your distribution's repository."
Test: N/A
Change-Id: I92e3209f9553c87aff29fd67056b8400fc99f471
|
|
Minor refactor for code reuse.
Change-Id: Id6c736a2937ac24319a8dd53086965f5505eb364
Test: ./build/bazel/json_module_graph/query.sh fullTransitiveModuleTypeDeps out/soong/module-graph.json android_app
Test: ./build/bazel/json_module_graph/query.sh fullTransitiveDeps out/soong/module-graph.json Music
Test: ./build/bazel/json_module_graph/query.sh modulesOfType out/soong/module-graph.json android_app
Bug: 198224074
|
|
|
|
|
|
Sometimes it is helpful to find a module with that uses a specific
property.
Test: json_module_graph/query.sh modulesWithProperty
../../out/soong/module-graph.json "java_library" "Target.Android.Srcs"
Change-Id: I4f604b196364b82bf4ad0517fcc44b690074b81d
|
|
Add query to get properties of the full transitive deps.
Test: ./query fullTransitiveDepsProperites <json-module-graph> libc
Change-Id: I45bb6ab32a3b2d0e043542d7e92d363e239ab9a1
|
|
|
|
Test: n/a
Change-Id: I16de458866f36ef15df20c8ef235d623493471d1
|
|
1. modules whose inputs cross package boundaries.
2. modules whose name is equal to the file name of one of its input files.
3. modules input files contain the specific file type.
Examples are in this gist https://gist.github.com/gky2009514/7ee32e8af3b1a541a84c97cdd7d5bc53..
Test: local
Change-Id: I28edc66eedd58fad7d7aceda5ef6b57656921428
|
|
Test: query.sh properties com.android.runtime
Change-Id: I67a4615a67468e4bc46a20f64f37b26521f48068
|
|
This CL adds a post processor on the JSON module graph for some set of
modules to track its conversion progress.
Design doc with examples of graph and report: https://docs.google.com/document/d/16Wez-UbGAqlmmKDjOudDMJkHR-QqMTO-5b4MN-fuJOQ/edit?resourcekey=0-XyJCv3E7T9SAd3Vl_5rULg#heading=h.myt16rshp4f
Test: ./bp2build-progress report adbd
Test: ./bp2build-progress graph adbd > graph.in && dot -Tpng -o graph.png graph.in
Change-Id: I02febe5a96c158026a7bd6ddc40acfe9461e7cc5
|
|
Test: Presubmits (but none, really)
Change-Id: I12ef891cbb7b2ffadaf98a6da8bdc80e7005beee
|
|
Test: Presubmits (but none, really)
Change-Id: I2f9ac8153c9e4e81ac8a4ae07f7aafed7c970433
|
|
The name of the environment variable was wrong.
Test: None (only documentation change)
Change-Id: I59a0f5cdfb0f2edb997a9a8654e3cd0a76f5e1fc
|
|
- Add a way to return all the modules in the transitive closure of a
given rule (instead of only their names)
- Add a way to dump all the variations that appear on the input
- Add a way to print the direct deps of a module
- Add a way to force-colorize the output
This pleasantly makes it possible to chain multiple query.sh
invocations (maybe this means that this should simply be a library, but
that's not easy to do since jq doesn't allow one to specify a file to
read and then a command to run)
Test: Manual.
Change-Id: If0d9635716cffc8411762f9fbbd7687d20bf6e32
|
|
Test: None.
Change-Id: Ia9a888d4ec4cfeb4872a16272789c84ae3114720
|