diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2017-05-16 19:45:06 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-05-16 19:45:08 +0000 |
commit | e121bbbb3bc6088dd7a965cf391cdd646dc6634c (patch) | |
tree | 8e0c7a72c324dd227c293350be47bd68e39f0f15 /ui/build | |
parent | 63b599a7a0b3b4aa93fb7752cf347459d07e3a79 (diff) | |
parent | 0df151725907caa6d04cdd7e0ec3a9ddbdffe60c (diff) | |
download | build_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.go | 4 |
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()) +} |