diff options
Diffstat (limited to 'android/prebuilt.go')
| -rw-r--r-- | android/prebuilt.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/android/prebuilt.go b/android/prebuilt.go index 3be10f72..3d9804ce 100644 --- a/android/prebuilt.go +++ b/android/prebuilt.go @@ -50,6 +50,11 @@ func (p *Prebuilt) Name(name string) string { return "prebuilt_" + name } +// The below source-related functions and the srcs, src fields are based on an assumption that +// prebuilt modules have a static source property at the moment. Currently there is only one +// exception, android_app_import, which chooses a source file depending on the product's DPI +// preference configs. We'll want to add native support for dynamic source cases if we end up having +// more modules like this. func (p *Prebuilt) SingleSourcePath(ctx ModuleContext) Path { if p.srcs != nil { if len(*p.srcs) == 0 { |
