matisse-common: libinit: Convert libinit_s3ve3g to blueprint

Change-Id: I990a4d2c68cd51f0043390408c3b128c4bb20900
This commit is contained in:
dianlujitao 2019-09-11 11:33:08 +08:00 committed by Francescodario Cuzzocrea
parent fe23a93de0
commit b81b2b20ad
2 changed files with 27 additions and 31 deletions

27
init/Android.bp Normal file
View File

@ -0,0 +1,27 @@
//
// 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.
//
cc_library_static {
name: "libinit_matisse",
recovery_available: true,
srcs: ["init_matisse.cpp"],
include_dirs: [
"device/samsung/msm8226-common/init",
"system/core/base/include",
"system/core/init",
],
whole_static_libs: ["libinit_helpers_sam8226"]
}

View File

@ -1,31 +0,0 @@
#
# Copyright (C) 2020 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_MODULE_TAGS := optional
LOCAL_C_INCLUDES := \
device/samsung/msm8226-common/init \
system/core/base/include \
system/core/init
LOCAL_CFLAGS := -Wall
LOCAL_SRC_FILES := init_matisse.cpp
LOCAL_MODULE := libinit_matisse
LOCAL_WHOLE_STATIC_LIBRARIES := libinit_helpers_sam8226
include $(BUILD_STATIC_LIBRARY)