From 1a01e83725cabcef13941d3cc2216a32bd9ce851 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Fri, 13 Jan 2017 18:00:19 -0800 Subject: [PATCH] Document examples of conditionals in go Test: None Change-Id: Ie2ad921974dc4ff82a3c6308736830cacfebf806 --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 8b086dfda..bc019ae63 100644 --- a/README.md +++ b/README.md @@ -163,6 +163,10 @@ cc_library { } ``` +See [art/build/art.go](https://android.googlesource.com/platform/art/+/master/build/art.go) +or [external/llvm/soong/llvm.go](https://android.googlesource.com/platform/external/llvm/+/master/soong/llvm.go) +for examples of more complex conditionals on product variables or environment variables. + ## Contact Email android-building@googlegroups.com (external) for any questions, or see