aboutsummaryrefslogtreecommitdiffstats
path: root/ui/build
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-05-16 19:45:06 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-05-16 19:45:08 +0000
commite121bbbb3bc6088dd7a965cf391cdd646dc6634c (patch)
tree8e0c7a72c324dd227c293350be47bd68e39f0f15 /ui/build
parent63b599a7a0b3b4aa93fb7752cf347459d07e3a79 (diff)
parent0df151725907caa6d04cdd7e0ec3a9ddbdffe60c (diff)
downloadbuild_soong-e121bbbb3bc6088dd7a965cf391cdd646dc6634c.tar.gz
build_soong-e121bbbb3bc6088dd7a965cf391cdd646dc6634c.tar.bz2
build_soong-e121bbbb3bc6088dd7a965cf391cdd646dc6634c.zip
Merge changes I9512642d,I6548889c,I8db5198f
* changes: Add build_test.sh, split common parts of soong_ui.bash Allow specifying a build variant Improve multiproduct_kati output
Diffstat (limited to 'ui/build')
-rw-r--r--ui/build/context.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/build/context.go b/ui/build/context.go
index f85bb6c0..52a337d4 100644
--- a/ui/build/context.go
+++ b/ui/build/context.go
@@ -102,3 +102,7 @@ func (c ContextImpl) IsTerminal() bool {
}
return false
}
+
+func (c ContextImpl) TermWidth() (int, bool) {
+ return termWidth(c.Stdout())
+}