Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ac352aab authored by Colin Cross's avatar Colin Cross
Browse files

Convert libradio to Android.bp

See build/soong/README.md for more information.

Test: m -j checkbuild
Change-Id: If9daee8fea744a5d70cf0ea6efb2a806b6cffa36
parent 6991be5c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -17,5 +17,6 @@ ndk_headers {
subdirs = [
    "camera/ndk",
    "media/*",
    "radio",
    "soundtrigger",
]

radio/Android.bp

0 → 100644
+37 −0
Original line number Diff line number Diff line
// Copyright 2014 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.

cc_library_shared {
    name: "libradio",

    srcs: [
        "Radio.cpp",
        "IRadio.cpp",
        "IRadioClient.cpp",
        "IRadioService.cpp",
    ],

    shared_libs: [
        "libcutils",
        "libutils",
        "liblog",
        "libbinder",
        "libradio_metadata",
    ],

    cflags: [
        "-Werror",
        "-Wall",
    ],
}

radio/Android.mk

deleted100644 → 0
+0 −40
Original line number Diff line number Diff line
# Copyright 2014 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_SRC_FILES:= \
	Radio.cpp \
	IRadio.cpp \
	IRadioClient.cpp \
	IRadioService.cpp

LOCAL_SHARED_LIBRARIES := \
	libcutils \
	libutils \
	liblog \
	libbinder \
	libradio_metadata

#LOCAL_C_INCLUDES += \
	system/media/camera/include \
	system/media/private/camera/include

LOCAL_MODULE:= libradio

LOCAL_CFLAGS := -Werror -Wall

include $(BUILD_SHARED_LIBRARY)