diff options
author | Jaewoong Jung <jungjw@google.com> | 2019-05-20 13:40:53 -0700 |
---|---|---|
committer | Jaewoong Jung <jungjw@google.com> | 2019-05-20 13:40:53 -0700 |
commit | bbcb87ffa282c0792b065180c044edc805884ece (patch) | |
tree | 799490512542fe2293161f7f9439f2d828028b43 | |
parent | 78e8ea47a8d68fbc30e598147aed06a332b47e20 (diff) |
Convert PrintRecommendationService to Android.bp.
See build/soong/README.md for more information.
Bug: 122332340
Test: Built and flashed to a Pixel device + TreeHugger
Change-Id: I4ff0577a0c27b8a451e6aca2c62c2437481c2a0c
-rw-r--r-- | packages/PrintRecommendationService/Android.bp | 23 | ||||
-rw-r--r-- | packages/PrintRecommendationService/Android.mk | 33 |
2 files changed, 23 insertions, 33 deletions
diff --git a/packages/PrintRecommendationService/Android.bp b/packages/PrintRecommendationService/Android.bp new file mode 100644 index 000000000000..6d28bdb7943b --- /dev/null +++ b/packages/PrintRecommendationService/Android.bp @@ -0,0 +1,23 @@ +// Copyright (C) 2016 The Android Open Source 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. + +android_app { + name: "PrintRecommendationService", + srcs: ["src/**/*.java"], + sdk_version: "system_current", + static_libs: [ + "androidx.annotation_annotation", + "androidx.core_core", + ], +} diff --git a/packages/PrintRecommendationService/Android.mk b/packages/PrintRecommendationService/Android.mk deleted file mode 100644 index d27a6efe58d6..000000000000 --- a/packages/PrintRecommendationService/Android.mk +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright (C) 2016 The Android Open Source 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. - -LOCAL_PATH:= $(call my-dir) - -include $(CLEAR_VARS) - -LOCAL_MODULE_TAGS := optional -LOCAL_USE_AAPT2 := true - -LOCAL_SRC_FILES := $(call all-java-files-under, src) - -LOCAL_PACKAGE_NAME := PrintRecommendationService - -LOCAL_SDK_VERSION := system_current - -LOCAL_STATIC_JAVA_LIBRARIES := androidx.annotation_annotation -LOCAL_STATIC_ANDROID_LIBRARIES := androidx.core_core - -include $(BUILD_PACKAGE) - -include $(call all-makefiles-under, $(LOCAL_PATH)) |