summaryrefslogtreecommitdiff
path: root/android/module.go
diff options
context:
space:
mode:
Diffstat (limited to 'android/module.go')
-rw-r--r--android/module.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/android/module.go b/android/module.go
index b98201906..0120a544e 100644
--- a/android/module.go
+++ b/android/module.go
@@ -1021,6 +1021,11 @@ type CommonAttributes struct {
Applicable_licenses bazel.LabelListAttribute
Testonly *bool
+
+ // Dir is neither a Soong nor Bazel target attribute
+ // If set, the bazel target will be created in this directory
+ // If unset, the bazel target will default to be created in the directory of the visited soong module
+ Dir *string
}
// constraintAttributes represents Bazel attributes pertaining to build constraints,