sdm660-common: switch to blueprints where it's possible

Change-Id: I7d691f054b3744e52cb6d30b236e0a11de9923d3
This commit is contained in:
Stylogey 2020-05-04 21:16:13 +02:00 committed by OdSazib
parent 23b70a785a
commit 8376ecf831
No known key found for this signature in database
GPG key ID: CB336514F9F5CF69
4 changed files with 45 additions and 45 deletions

21
folio_daemon/Android.bp Executable file
View file

@ -0,0 +1,21 @@
cc_binary {
name: "folio_daemon",
shared_libs: [
"libandroid",
"libcutils",
"liblog",
],
srcs: ["main.cpp"],
cflags: [
"-DLOG_TAG=\"folio_daemon\"",
"-DLOG_NDEBUG=0",
"-Wall",
"-Werror",
],
owner: "google",
}

View file

@ -1,22 +0,0 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SHARED_LIBRARIES := \
libandroid \
libcutils \
liblog
LOCAL_SRC_FILES := \
main.cpp
LOCAL_C_INCLUDES :=
LOCAL_CFLAGS := $(common_flags) -DLOG_TAG=\"folio_daemon\" -DLOG_NDEBUG=0
LOCAL_CFLAGS += -Wall -Werror
LOCAL_MODULE := folio_daemon
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_OWNER := google
include $(BUILD_EXECUTABLE)

24
libshims/Android.bp Normal file
View file

@ -0,0 +1,24 @@
// Copyright (C) 2018 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.
cc_library_shared {
name: "camera.sdm660_shim",
srcs: ["camera_sdm660_shim.cpp"],
shared_libs: [
"libui",
"libutils",
],
proprietary: true,
}

View file

@ -1,23 +0,0 @@
# Copyright (C) 2018 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.
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := camera_sdm660_shim.cpp
LOCAL_SHARED_LIBRARIES := libui libutils
LOCAL_MODULE := camera.sdm660_shim
LOCAL_MODULE_TAGS := optional
LOCAL_PROPRIETARY_MODULE := true
include $(BUILD_SHARED_LIBRARY)