android-soong

What is art.go? And why is it considered a way to write conditionals in bp files?

放肆的年华 提交于 2019-12-11 02:32:36
问题 I am trying to find a way to write a conditional inside a .bp file. I found a documentation here: https://android.googlesource.com/platform/build/soong/+/HEAD/README.md It has a "How do I write conditionals?" part, which points to the art.go: https://android.googlesource.com/platform/art/+/master/build/art.go Which is hardly an answer to the aforementioned question. It needs a lot more clarification than a simple link. I have cc_binary in my Android.bp for the module (HAL) I develop. cc