diff options
author | Rob Seymour <rseymour@google.com> | 2022-06-22 22:48:10 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2022-06-22 22:48:10 +0000 |
commit | 0daee08cd589f53ba98a5c40ec0a06e9bbc5113f (patch) | |
tree | 950b8291e7775580d531bf2773c9c403c4589a9b | |
parent | 54176d5cbbfe9e850e09db1b7615df28242d3587 (diff) | |
parent | 23719d629f9b126aacc17bd4348950dff16fa22f (diff) | |
download | treble-0daee08cd589f53ba98a5c40ec0a06e9bbc5113f.tar.gz |
Change top level directory from report to treble_build am: 23719d629f
Original change: https://android-review.googlesource.com/c/platform/tools/treble/+/2132558
Change-Id: I8819148236d9c87210d567cf04d35fbcf35d3016
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | build/report/README.md | 22 | ||||
-rw-r--r-- | build/treble_build/README.md | 38 | ||||
-rw-r--r-- | build/treble_build/app/Android.bp (renamed from build/report/app/Android.bp) | 0 | ||||
-rw-r--r-- | build/treble_build/app/build.go (renamed from build/report/app/build.go) | 0 | ||||
-rw-r--r-- | build/treble_build/app/git.go (renamed from build/report/app/git.go) | 0 | ||||
-rw-r--r-- | build/treble_build/app/repo.go (renamed from build/report/app/repo.go) | 0 | ||||
-rw-r--r-- | build/treble_build/app/report.go (renamed from build/report/app/report.go) | 0 | ||||
-rw-r--r-- | build/treble_build/cmd/Android.bp (renamed from build/report/cmd/Android.bp) | 0 | ||||
-rw-r--r-- | build/treble_build/cmd/host.go (renamed from build/report/cmd/host.go) | 0 | ||||
-rw-r--r-- | build/treble_build/cmd/main.go (renamed from build/report/cmd/main.go) | 0 | ||||
-rw-r--r-- | build/treble_build/cmd/paths.go (renamed from build/report/cmd/paths.go) | 0 | ||||
-rw-r--r-- | build/treble_build/cmd/query.go (renamed from build/report/cmd/query.go) | 0 | ||||
-rw-r--r-- | build/treble_build/local/Android.bp (renamed from build/report/local/Android.bp) | 0 | ||||
-rw-r--r-- | build/treble_build/local/cmd.go (renamed from build/report/local/cmd.go) | 0 | ||||
-rw-r--r-- | build/treble_build/local/defaults.go (renamed from build/report/local/defaults.go) | 0 | ||||
-rw-r--r-- | build/treble_build/local/git.go (renamed from build/report/local/git.go) | 0 | ||||
-rw-r--r-- | build/treble_build/local/git_test.go (renamed from build/report/local/git_test.go) | 0 | ||||
-rw-r--r-- | build/treble_build/local/ninja.go (renamed from build/report/local/ninja.go) | 0 | ||||
-rw-r--r-- | build/treble_build/local/ninja_test.go (renamed from build/report/local/ninja_test.go) | 0 | ||||
-rw-r--r-- | build/treble_build/report/Android.bp (renamed from build/report/report/Android.bp) | 0 | ||||
-rw-r--r-- | build/treble_build/report/build.go (renamed from build/report/report/build.go) | 0 | ||||
-rw-r--r-- | build/treble_build/report/dependencies.go (renamed from build/report/report/dependencies.go) | 0 | ||||
-rw-r--r-- | build/treble_build/report/projects.go (renamed from build/report/report/projects.go) | 0 | ||||
-rw-r--r-- | build/treble_build/report/report_test.go (renamed from build/report/report/report_test.go) | 0 | ||||
-rw-r--r-- | build/treble_build/report/run.go (renamed from build/report/report/run.go) | 0 | ||||
-rw-r--r-- | build/treble_build/report/types.go (renamed from build/report/report/types.go) | 0 |
26 files changed, 38 insertions, 22 deletions
diff --git a/build/report/README.md b/build/report/README.md deleted file mode 100644 index 43ee967..0000000 --- a/build/report/README.md +++ /dev/null @@ -1,22 +0,0 @@ -# report - -## Description - -Set of tools to run against the Android build graph. - -## Basic Commands -- treble_build [report, outputs] - - -### treble report -treble_build report target... -Report the projects and source files used to build the given targets. - -### treble_outputs -treble_build outputs [-build] -repo project:sha [-repo project:sha...] - -For a given set of commits (project:sha), get the corresponding source -files. Translate the source files into a set of outputs and optionally -build outputs. - - diff --git a/build/treble_build/README.md b/build/treble_build/README.md new file mode 100644 index 0000000..1e36bf2 --- /dev/null +++ b/build/treble_build/README.md @@ -0,0 +1,38 @@ +# treble_build + +## Description +Set of tools to run against the Android source tree and build graph. +In order to run the application it must be built via **m treble_build** +this will also create the needed build graph that the tool uses. + +## Basic Commands +- treble_build -h +- treble_build [host, paths, query] [target...] + + +### host +treble_build host + +Report the projects required to build the host tools. + +### paths +treble_build [-build] paths [-1] -repo project:sha [-repo project:sha...] + +For a given set of commits (project:sha), get the corresponding source +files. Translate the source files into a set of build outputs using the +path (-1) or paths command. If the build flag is given build the build +target closest to the source files. + +### query +treble_build query -repo project:sha [-repo project:sha...] + +For a given set of commits (project:sha), get the corresponding source +files. Translate the source files into a set of inputs and outputs. + +### report +By default a report is generated for all above commands, extra targets can +be included in the report by adding to the end of the command line. + +See treble_build -h for options controlling report data. + + diff --git a/build/report/app/Android.bp b/build/treble_build/app/Android.bp index 4906202..4906202 100644 --- a/build/report/app/Android.bp +++ b/build/treble_build/app/Android.bp diff --git a/build/report/app/build.go b/build/treble_build/app/build.go index 8b78e23..8b78e23 100644 --- a/build/report/app/build.go +++ b/build/treble_build/app/build.go diff --git a/build/report/app/git.go b/build/treble_build/app/git.go index 7cd21a4..7cd21a4 100644 --- a/build/report/app/git.go +++ b/build/treble_build/app/git.go diff --git a/build/report/app/repo.go b/build/treble_build/app/repo.go index f1903f2..f1903f2 100644 --- a/build/report/app/repo.go +++ b/build/treble_build/app/repo.go diff --git a/build/report/app/report.go b/build/treble_build/app/report.go index bc9c7ab..bc9c7ab 100644 --- a/build/report/app/report.go +++ b/build/treble_build/app/report.go diff --git a/build/report/cmd/Android.bp b/build/treble_build/cmd/Android.bp index ec83692..ec83692 100644 --- a/build/report/cmd/Android.bp +++ b/build/treble_build/cmd/Android.bp diff --git a/build/report/cmd/host.go b/build/treble_build/cmd/host.go index 0b8e65f..0b8e65f 100644 --- a/build/report/cmd/host.go +++ b/build/treble_build/cmd/host.go diff --git a/build/report/cmd/main.go b/build/treble_build/cmd/main.go index 0264ff3..0264ff3 100644 --- a/build/report/cmd/main.go +++ b/build/treble_build/cmd/main.go diff --git a/build/report/cmd/paths.go b/build/treble_build/cmd/paths.go index 4c28d4f..4c28d4f 100644 --- a/build/report/cmd/paths.go +++ b/build/treble_build/cmd/paths.go diff --git a/build/report/cmd/query.go b/build/treble_build/cmd/query.go index e4c7f0f..e4c7f0f 100644 --- a/build/report/cmd/query.go +++ b/build/treble_build/cmd/query.go diff --git a/build/report/local/Android.bp b/build/treble_build/local/Android.bp index 685f885..685f885 100644 --- a/build/report/local/Android.bp +++ b/build/treble_build/local/Android.bp diff --git a/build/report/local/cmd.go b/build/treble_build/local/cmd.go index 3fc24c8..3fc24c8 100644 --- a/build/report/local/cmd.go +++ b/build/treble_build/local/cmd.go diff --git a/build/report/local/defaults.go b/build/treble_build/local/defaults.go index 53befe4..53befe4 100644 --- a/build/report/local/defaults.go +++ b/build/treble_build/local/defaults.go diff --git a/build/report/local/git.go b/build/treble_build/local/git.go index 2793042..2793042 100644 --- a/build/report/local/git.go +++ b/build/treble_build/local/git.go diff --git a/build/report/local/git_test.go b/build/treble_build/local/git_test.go index d5345ae..d5345ae 100644 --- a/build/report/local/git_test.go +++ b/build/treble_build/local/git_test.go diff --git a/build/report/local/ninja.go b/build/treble_build/local/ninja.go index 012bcc7..012bcc7 100644 --- a/build/report/local/ninja.go +++ b/build/treble_build/local/ninja.go diff --git a/build/report/local/ninja_test.go b/build/treble_build/local/ninja_test.go index 40e2043..40e2043 100644 --- a/build/report/local/ninja_test.go +++ b/build/treble_build/local/ninja_test.go diff --git a/build/report/report/Android.bp b/build/treble_build/report/Android.bp index 32ffea4..32ffea4 100644 --- a/build/report/report/Android.bp +++ b/build/treble_build/report/Android.bp diff --git a/build/report/report/build.go b/build/treble_build/report/build.go index cc0c9bf..cc0c9bf 100644 --- a/build/report/report/build.go +++ b/build/treble_build/report/build.go diff --git a/build/report/report/dependencies.go b/build/treble_build/report/dependencies.go index f2b21b5..f2b21b5 100644 --- a/build/report/report/dependencies.go +++ b/build/treble_build/report/dependencies.go diff --git a/build/report/report/projects.go b/build/treble_build/report/projects.go index eaec5bf..eaec5bf 100644 --- a/build/report/report/projects.go +++ b/build/treble_build/report/projects.go diff --git a/build/report/report/report_test.go b/build/treble_build/report/report_test.go index 7aa3891..7aa3891 100644 --- a/build/report/report/report_test.go +++ b/build/treble_build/report/report_test.go diff --git a/build/report/report/run.go b/build/treble_build/report/run.go index fd03088..fd03088 100644 --- a/build/report/report/run.go +++ b/build/treble_build/report/run.go diff --git a/build/report/report/types.go b/build/treble_build/report/types.go index 8610d43..8610d43 100644 --- a/build/report/report/types.go +++ b/build/treble_build/report/types.go |