summaryrefslogtreecommitdiff
path: root/libs/vibrator/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/vibrator/Android.bp')
-rw-r--r--libs/vibrator/Android.bp20
1 files changed, 19 insertions, 1 deletions
diff --git a/libs/vibrator/Android.bp b/libs/vibrator/Android.bp
index e95a080957..83c250a24f 100644
--- a/libs/vibrator/Android.bp
+++ b/libs/vibrator/Android.bp
@@ -12,8 +12,19 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-cc_library_shared {
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "frameworks_native_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["frameworks_native_license"],
+}
+
+cc_library {
name: "libvibrator",
+ vendor_available: true,
+ double_loadable: true,
shared_libs: [
"libbinder",
@@ -45,4 +56,11 @@ cc_library_shared {
],
export_include_dirs: ["include"],
+
+ host_supported: true,
+ target: {
+ darwin: {
+ enabled: false,
+ },
+ },
}