Loading tools/rootcanal/Android.bp +0 −12 Original line number Diff line number Diff line Loading @@ -139,18 +139,6 @@ cc_library_static { include_dirs: ["packages/modules/Bluetooth/system/gd"], } // This library contains the generated headers for the // RootCanal configuration file / parameter. cc_library_static { name: "librootcanal_config", host_supported: true, vendor_available: true, proto: { export_proto_headers: true, }, srcs: ["config.proto"], } // This library implements a foreigh function interface over DualModeController // compatible with Python or Rust. cc_library_host_shared { Loading tools/rootcanal/CMakeLists.txt +3 −3 Original line number Diff line number Diff line Loading @@ -188,14 +188,14 @@ android_add_library( protobuf_generate_with_plugin( TARGET librootcanal_config PROTOS ${ROOTCANAL_ROOT}/config.proto PROTOS ${ROOTCANAL_ROOT}/proto/rootcanal/configuration.proto APPEND_PATH PROTOPATH -I${AOSP_ROOT}/external/protobuf/src PROTOC_OUT_DIR ${CMAKE_CURRENT_BINARY_DIR}/config) PROTOC_OUT_DIR ${CMAKE_CURRENT_BINARY_DIR}/proto/rootcanal) target_include_directories( librootcanal_config PUBLIC ${CMAKE_CURRENT_BINARY_DIR}/config ${AOSP_ROOT}/external/protobuf/src) PUBLIC ${CMAKE_CURRENT_BINARY_DIR}/proto ${AOSP_ROOT}/external/protobuf/src) target_link_libraries(librootcanal_config PRIVATE protobuf::libprotobuf) Loading tools/rootcanal/model/controller/controller_properties.h +1 −1 Original line number Diff line number Diff line Loading @@ -22,9 +22,9 @@ #include <string> #include <vector> #include "config.pb.h" #include "hci/address.h" #include "hci/hci_packets.h" #include "rootcanal/configuration.pb.h" namespace rootcanal { using bluetooth::hci::HciVersion; Loading tools/rootcanal/proto/Android.bp 0 → 100644 +25 −0 Original line number Diff line number Diff line filegroup { name: "rootcanal-protos", srcs: [ "rootcanal/configuration.proto", ], } // This library contains the generated headers for the // RootCanal configuration file / parameter. cc_library_static { name: "librootcanal_config", host_supported: true, vendor_available: true, proto: { export_proto_headers: true, canonical_path_from_root: false, include_dirs: [ "packages/modules/Bluetooth/tools/rootcanal/proto", ], }, shared_libs: [ "libprotobuf-cpp-full", ], srcs: [":rootcanal-protos"], } tools/rootcanal/config.proto→tools/rootcanal/proto/rootcanal/configuration.proto +0 −0 File moved. View file Loading
tools/rootcanal/Android.bp +0 −12 Original line number Diff line number Diff line Loading @@ -139,18 +139,6 @@ cc_library_static { include_dirs: ["packages/modules/Bluetooth/system/gd"], } // This library contains the generated headers for the // RootCanal configuration file / parameter. cc_library_static { name: "librootcanal_config", host_supported: true, vendor_available: true, proto: { export_proto_headers: true, }, srcs: ["config.proto"], } // This library implements a foreigh function interface over DualModeController // compatible with Python or Rust. cc_library_host_shared { Loading
tools/rootcanal/CMakeLists.txt +3 −3 Original line number Diff line number Diff line Loading @@ -188,14 +188,14 @@ android_add_library( protobuf_generate_with_plugin( TARGET librootcanal_config PROTOS ${ROOTCANAL_ROOT}/config.proto PROTOS ${ROOTCANAL_ROOT}/proto/rootcanal/configuration.proto APPEND_PATH PROTOPATH -I${AOSP_ROOT}/external/protobuf/src PROTOC_OUT_DIR ${CMAKE_CURRENT_BINARY_DIR}/config) PROTOC_OUT_DIR ${CMAKE_CURRENT_BINARY_DIR}/proto/rootcanal) target_include_directories( librootcanal_config PUBLIC ${CMAKE_CURRENT_BINARY_DIR}/config ${AOSP_ROOT}/external/protobuf/src) PUBLIC ${CMAKE_CURRENT_BINARY_DIR}/proto ${AOSP_ROOT}/external/protobuf/src) target_link_libraries(librootcanal_config PRIVATE protobuf::libprotobuf) Loading
tools/rootcanal/model/controller/controller_properties.h +1 −1 Original line number Diff line number Diff line Loading @@ -22,9 +22,9 @@ #include <string> #include <vector> #include "config.pb.h" #include "hci/address.h" #include "hci/hci_packets.h" #include "rootcanal/configuration.pb.h" namespace rootcanal { using bluetooth::hci::HciVersion; Loading
tools/rootcanal/proto/Android.bp 0 → 100644 +25 −0 Original line number Diff line number Diff line filegroup { name: "rootcanal-protos", srcs: [ "rootcanal/configuration.proto", ], } // This library contains the generated headers for the // RootCanal configuration file / parameter. cc_library_static { name: "librootcanal_config", host_supported: true, vendor_available: true, proto: { export_proto_headers: true, canonical_path_from_root: false, include_dirs: [ "packages/modules/Bluetooth/tools/rootcanal/proto", ], }, shared_libs: [ "libprotobuf-cpp-full", ], srcs: [":rootcanal-protos"], }
tools/rootcanal/config.proto→tools/rootcanal/proto/rootcanal/configuration.proto +0 −0 File moved. View file