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

Commit 6991be5c authored by Colin Cross's avatar Colin Cross
Browse files

Convert libsoundtrigger to Android.bp

See build/soong/README.md

Test: m -j checkbuild
Change-Id: I09ab3bfc8649bda8bad66c0898e342865f8b4a92
parent a8f0f311
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -17,4 +17,5 @@ ndk_headers {
subdirs = [
    "camera/ndk",
    "media/*",
    "soundtrigger",
]
+36 −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: "libsoundtrigger",

    srcs: [
        "SoundTrigger.cpp",
        "ISoundTrigger.cpp",
        "ISoundTriggerClient.cpp",
        "ISoundTriggerHwService.cpp",
    ],

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

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

soundtrigger/Android.mk

deleted100644 → 0
+0 −39
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:= \
	SoundTrigger.cpp \
	ISoundTrigger.cpp \
	ISoundTriggerClient.cpp \
	ISoundTriggerHwService.cpp

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

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

LOCAL_MODULE:= libsoundtrigger

LOCAL_CFLAGS := -Werror -Wall

include $(BUILD_SHARED_LIBRARY)