audio: clean up makefiles
* Restructure to remove dependencies elsewhere in the AOSP tree, move APEX definition from subdirectory, 'bpfmt -s -w Andoid.bp', etc. * Remove package license definitions that are not visible in this context.
This commit is contained in:
@@ -1,27 +1,10 @@
|
||||
// Copyright (C) 2015 The Android Open Source Project
|
||||
// Copyright (C) 2025 KonstaKANG
|
||||
//
|
||||
// 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.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package {
|
||||
// http://go/android-license-faq
|
||||
// A large-scale-change added 'default_applicable_licenses' to import
|
||||
// the below license kinds from "system_media_license":
|
||||
// SPDX-license-identifier-Apache-2.0
|
||||
default_applicable_licenses: ["system_media_license"],
|
||||
}
|
||||
|
||||
cc_defaults {
|
||||
name: "libalsautils_rpi_defaults",
|
||||
cc_library {
|
||||
name: "libalsautilsv2-rpi",
|
||||
vendor_available: true,
|
||||
srcs: [
|
||||
"alsa_device_profile.c",
|
||||
@@ -40,6 +23,7 @@ cc_defaults {
|
||||
"libaudioutils",
|
||||
"libcutils",
|
||||
"liblog",
|
||||
"libtinyalsav2",
|
||||
],
|
||||
cflags: [
|
||||
"-Wall",
|
||||
@@ -47,19 +31,3 @@ cc_defaults {
|
||||
"-Wno-unused-parameter",
|
||||
],
|
||||
}
|
||||
|
||||
cc_library {
|
||||
name: "libalsautils-rpi",
|
||||
defaults: ["libalsautils_rpi_defaults"],
|
||||
shared_libs: [
|
||||
"libtinyalsa",
|
||||
],
|
||||
}
|
||||
|
||||
cc_library {
|
||||
name: "libalsautilsv2-rpi",
|
||||
defaults: ["libalsautils_rpi_defaults"],
|
||||
shared_libs: [
|
||||
"libtinyalsav2",
|
||||
],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user