From 73bde95f54a27944e7fa70b951cefad639af321b Mon Sep 17 00:00:00 2001 From: jhenrique09 Date: Sat, 7 Sep 2019 04:57:50 -0300 Subject: [PATCH] sanders: Move WfdCommon to soong Change-Id: I66d138e6f8aa04bd1823050e041f8ec9c58457ba Signed-off-by: ashwatthama --- Android.bp | 22 ++++++++++++++++++++++ Android.mk | 10 ---------- sanders-vendor.mk | 2 ++ 3 files changed, 24 insertions(+), 10 deletions(-) create mode 100644 Android.bp diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..78df7d2 --- /dev/null +++ b/Android.bp @@ -0,0 +1,22 @@ +// Copyright (C) 2019 The LineageOS Project +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +soong_namespace { +} + +dex_import { + name: "WfdCommon", + owner: "motorola", + jars: ["proprietary/framework/WfdCommon.jar"], +} diff --git a/Android.mk b/Android.mk index d70412f..3cc1731 100644 --- a/Android.mk +++ b/Android.mk @@ -307,16 +307,6 @@ LOCAL_MODULE_SUFFIX := .apk LOCAL_PRIVILEGED_MODULE := true include $(BUILD_PREBUILT) -include $(CLEAR_VARS) -LOCAL_MODULE := WfdCommon -LOCAL_MODULE_OWNER := motorola -LOCAL_SRC_FILES := proprietary/framework/WfdCommon.jar -LOCAL_CERTIFICATE := platform -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := JAVA_LIBRARIES -LOCAL_MODULE_SUFFIX := .jar -include $(BUILD_PREBUILT) - include $(CLEAR_VARS) LOCAL_MODULE := libtinycompress_vendor LOCAL_MODULE_OWNER := motorola diff --git a/sanders-vendor.mk b/sanders-vendor.mk index c1481ae..919bb7c 100644 --- a/sanders-vendor.mk +++ b/sanders-vendor.mk @@ -1462,3 +1462,5 @@ PRODUCT_PACKAGES += \ WfdService \ WfdCommon \ com.fingerprints.extension + +PRODUCT_SOONG_NAMESPACES += vendor/motorola/sanders