diff options
author | Dan Willemsen <dwillemsen@google.com> | 2017-01-20 14:10:01 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2017-02-06 14:05:07 -0800 |
commit | c2af0bedc1701ee043f61d95d6b7b160f388a3cb (patch) | |
tree | 9fe0c18053cc2d937613b96c64e1ad7e4ed127ff /cmd/soong_ui | |
parent | 0043c0e767499838f27e19f2b3872b49e6b54b8c (diff) | |
download | build_soong-c2af0bedc1701ee043f61d95d6b7b160f388a3cb.tar.gz build_soong-c2af0bedc1701ee043f61d95d6b7b160f388a3cb.tar.bz2 build_soong-c2af0bedc1701ee043f61d95d6b7b160f388a3cb.zip |
Add multiproduct_kati
This is a replacement for build/tools/kati_all_products.sh using the new
Soong ui/build package. It doesn't even attempt to run ninja, and it can
be configured to run only the product config, or only the product config
and Soong.
For AOSP on my machine:
-only-config 1.4s
-only-soong 1m20s
<none> 13m
Test: multiproduct_kati
Change-Id: Ie3e6e7bdf692e46a8b8eb828f437190f8003500b
Diffstat (limited to 'cmd/soong_ui')
-rw-r--r-- | cmd/soong_ui/main.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/cmd/soong_ui/main.go b/cmd/soong_ui/main.go index 994c54dc..34739b75 100644 --- a/cmd/soong_ui/main.go +++ b/cmd/soong_ui/main.go @@ -48,14 +48,6 @@ func main() { log.Fatalln("The `soong` native UI is not yet available.") } - // Precondition: the current directory is the top of the source tree - if _, err := os.Stat("build/soong/root.bp"); err != nil { - if os.IsNotExist(err) { - log.Fatalln("soong_ui should run from the root of the source directory: build/soong/root.bp not found") - } - log.Fatalln("Error verifying tree state:", err) - } - ctx, cancel := context.WithCancel(context.Background()) defer cancel() |