aboutsummaryrefslogtreecommitdiff
path: root/json_module_graph
AgeCommit message (Collapse)Author
2023-03-01remove README information that is provided by the commandSam Delmerico
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
2023-03-01pass multiple args to transitiveDeps jq querySam Delmerico
Change-Id: Iad3ed848b0ebbf25315f0c5e8da6ed3586a87a47
2022-06-28Fix name of method - forgot to repo upload again, whoops.MarkDacek
Test: query.sh reverseDeps out/soong/module-graph.json external_icu_license Change-Id: Idb82be18d954a9677262d1242792463e08e93a7d
2022-06-24Add reverse deps operation.MarkDacek
Test: query.sh reverseDeps out/soong/module-graph.json external_icu_license PAIR=usta Change-Id: I0015514b03f3b8706fb3b29bb268ee26f84dc9fe
2022-06-07Allow comma separated value for fullTransitiveDepsLiz Kammer
Test: query locally Change-Id: I7a8c0c5915d853503b515c080ac3479d046eb6a9
2022-05-26Create a shared jq script to help find modules with test_suites property and ↵kgui
the property contains the input argument. Test: no Change-Id: I7a57ff3ec136440d4693d6549a39489e872fa53d
2022-05-05Add information about module-action.json to READMELiz Kammer
Change-Id: Ia726b7f4e60eb5fc38a177d70d7e8eef0b604ea6
2022-03-15README.md: Note jq installationAlex Márquez Pérez Muñíz Díaz Púras Thaureaux
"`jq` may be installed through your distribution's repository." Test: N/A Change-Id: I92e3209f9553c87aff29fd67056b8400fc99f471
2022-02-25Add a .jq query to obtain the transitive closure of a whole module type.Romain Jobredeaux
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
2022-02-22Merge "add jq query for modules with specific property"Sam Delmerico
2022-02-18Merge "json-module-graph: fullTransitiveDepsProperites"Treehugger Robot
2022-02-17add jq query for modules with specific propertySam Delmerico
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
2022-02-16json-module-graph: fullTransitiveDepsProperitesLiz Kammer
Add query to get properties of the full transitive deps. Test: ./query fullTransitiveDepsProperites <json-module-graph> libc Change-Id: I45bb6ab32a3b2d0e043542d7e92d363e239ab9a1
2022-02-11Merge "Update json module graph README"Treehugger Robot
2022-02-11Update json module graph READMELiz Kammer
Test: n/a Change-Id: I16de458866f36ef15df20c8ef235d623493471d1
2022-02-11The jq scripts to find:kgui
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
2022-01-10Add json query to get set properties for a moduleLiz Kammer
Test: query.sh properties com.android.runtime Change-Id: I67a4615a67468e4bc46a20f64f37b26521f48068
2021-09-14Add bp2build-progress report and graph generator.Jingwen Chen
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
2021-06-09Add help and a command for module type statistics.Lukacs T. Berki
Test: Presubmits (but none, really) Change-Id: I12ef891cbb7b2ffadaf98a6da8bdc80e7005beee
2021-06-09Make it possible to list modules of a given type.Lukacs T. Berki
Test: Presubmits (but none, really) Change-Id: I2f9ac8153c9e4e81ac8a4ae07f7aafed7c970433
2021-04-22Fix JSON module graph documentation.Lukacs T. Berki
The name of the environment variable was wrong. Test: None (only documentation change) Change-Id: I59a0f5cdfb0f2edb997a9a8654e3cd0a76f5e1fc
2021-04-06Improvements to JSON queries:Lukacs T. Berki
- 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
2021-04-06Add .jq files for querying the JSON module graph.Lukacs T. Berki
Test: None. Change-Id: Ia9a888d4ec4cfeb4872a16272789c84ae3114720