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
This commit is contained in:
Jaewoong Jung
2019-05-20 13:40:53 -07:00
parent 78e8ea47a8
commit bbcb87ffa2
2 changed files with 23 additions and 33 deletions

View File

@@ -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",
],
}

View File

@@ -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))