Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Android.bp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
subdirs = [
"*"
]
hidl_package_root {
name: "vendor.lineage",
path: "hardware/pixys/interfaces",
}
4 changes: 0 additions & 4 deletions biometrics/Android.bp

This file was deleted.

5 changes: 0 additions & 5 deletions camera/Android.bp

This file was deleted.

4 changes: 0 additions & 4 deletions nfc/Android.bp

This file was deleted.

91 changes: 10 additions & 81 deletions power/1.0/Android.bp
Original file line number Diff line number Diff line change
@@ -1,89 +1,18 @@
// This file is autogenerated by hidl-gen. Do not edit manually.
// This file is autogenerated by hidl-gen -Landroidbp.

filegroup {
name: "[email protected]_hal",
hidl_interface {
name: "[email protected]",
root: "vendor.lineage",
srcs: [
"types.hal",
"ILineagePower.hal",
],
}

genrule {
name: "[email protected]_genc++",
tools: ["hidl-gen"],
cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hidl:system/libhidl/transport -rvendor.lineage:hardware/pixys/interfaces [email protected]",
srcs: [
":[email protected]_hal",
],
out: [
"vendor/lineage/power/1.0/types.cpp",
"vendor/lineage/power/1.0/LineagePowerAll.cpp",
],
}

genrule {
name: "[email protected]_genc++_headers",
tools: ["hidl-gen"],
cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hidl:system/libhidl/transport -rvendor.lineage:hardware/pixys/interfaces [email protected]",
srcs: [
":[email protected]_hal",
],
out: [
"vendor/lineage/power/1.0/types.h",
"vendor/lineage/power/1.0/hwtypes.h",
"vendor/lineage/power/1.0/ILineagePower.h",
"vendor/lineage/power/1.0/IHwLineagePower.h",
"vendor/lineage/power/1.0/BnHwLineagePower.h",
"vendor/lineage/power/1.0/BpHwLineagePower.h",
"vendor/lineage/power/1.0/BsLineagePower.h",
],
}

cc_library {
name: "[email protected]",
defaults: ["hidl-module-defaults"],
generated_sources: ["[email protected]_genc++"],
generated_headers: ["[email protected]_genc++_headers"],
export_generated_headers: ["[email protected]_genc++_headers"],
vendor_available: true,
vndk: {
enabled: true,
},
shared_libs: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"liblog",
"libutils",
"libcutils",
],
export_shared_lib_headers: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"libutils",
],
}

cc_library {
name: "[email protected]_vendor",
defaults: ["hidl-module-defaults"],
generated_sources: ["[email protected]_genc++"],
generated_headers: ["[email protected]_genc++_headers"],
export_generated_headers: ["[email protected]_genc++_headers"],
vendor: true,
shared_libs: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"liblog",
"libutils",
"libcutils",
interfaces: [
"[email protected]",
],
export_shared_lib_headers: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"libutils",
types: [
"LineageFeature",
"LineagePowerHint",
],
gen_java: true,
}
156 changes: 0 additions & 156 deletions power/1.0/Android.mk

This file was deleted.

4 changes: 0 additions & 4 deletions power/Android.bp

This file was deleted.

32 changes: 32 additions & 0 deletions usb/1.0-basic/Android.bp
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
//
// Copyright (C) 2017-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_binary {
name: "[email protected]",
relative_install_path: "hw",
init_rc: ["[email protected]"],
srcs: ["service.cpp", "Usb.cpp"],
shared_libs: [
"libbase",
"libcutils",
"libhidlbase",
"libhidltransport",
"libhwbinder",
"libutils",
"libhardware",
"[email protected]",
],
proprietary: true,
}
Loading