Loading system/gd/cert/bluetooth_packets_python3_setup.py +1 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ PYBIND11_INCLUDE_DIR = os.path.join(ANDROID_BUILD_TOP, "external/python/pybind11 GD_DIR = os.path.join(ANDROID_BUILD_TOP, "packages/modules/Bluetooth/system/gd") BT_PACKETS_GEN_DIR = os.path.join( ANDROID_BUILD_TOP, "out/soong/.intermediates/packages/modules/Bluetooth/system/gd/BluetoothGeneratedPackets_h/gen") "out/soong/.intermediates/packages/modules/Bluetooth/system/pdl/l2cap/BluetoothGeneratedPacketsL2cap_h/gen") BT_PACKETS_PY3_GEN_DIR = os.path.join( ANDROID_BUILD_TOP, "out/soong/.intermediates/packages/modules/Bluetooth/system/gd/BluetoothGeneratedPackets_python3_cc/gen") Loading system/main/Android.bp +1 −3 Original line number Diff line number Diff line Loading @@ -48,7 +48,6 @@ cc_library_static { generated_headers: [ "BluetoothGeneratedBundlerSchema_h_bfbs", "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], apex_available: [ "com.android.btservices", Loading Loading @@ -143,7 +142,6 @@ cc_library_static { generated_headers: [ "BluetoothGeneratedBundlerSchema_h_bfbs", "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], cflags: [ "-DBUILDCFG", Loading Loading @@ -216,6 +214,7 @@ cc_test { "libbluetooth-dumpsys", "libbluetooth-types", "libbluetooth_gd", "libbluetooth_hci_pdl", "libbt-common", "libbt-platform-protos-lite", "libbt_shim_bridge", Loading Loading @@ -244,7 +243,6 @@ cc_test { generated_headers: [ "BluetoothGeneratedBundlerSchema_h_bfbs", "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], min_sdk_version: "Tiramisu", header_libs: ["libbluetooth_headers"], Loading system/pdl/Android.bp +0 −20 Original line number Diff line number Diff line Loading @@ -29,23 +29,3 @@ genrule { "l2cap/l2cap_packets_python3_shard_9.cc", ], } // TODO replace progressivly by the appropriate static libs genrule { name: "BluetoothGeneratedPackets_h", tools: [ "bluetooth_packetgen", ], cmd: "$(location bluetooth_packetgen) --fuzzing --testing --include=packages/modules/Bluetooth/system/pdl --out=$(genDir) $(in)", srcs: [ "hci/hci_packets.pdl", "l2cap/l2cap_packets.pdl", "security/smp_packets.pdl", ], out: [ "hci/hci_packets.h", "l2cap/l2cap_packets.h", "security/smp_packets.h", ], visibility: ["//visibility:public"], } system/rust/Android.bp +1 −2 Original line number Diff line number Diff line Loading @@ -125,9 +125,9 @@ cc_library_static { ], export_include_dirs: ["."], static_libs: [ "libbluetooth_hci_pdl", "libbt_shim_bridge", "libbt_shim_ffi", "libchrome", "libflatbuffers-cpp", ], Loading @@ -137,7 +137,6 @@ cc_library_static { "BluetoothGeneratedBundlerSchema_h_bfbs", "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], export_generated_headers: [ "libbluetooth_core_rs_bridge_codegen_header", Loading system/stack/Android.bp +23 −14 Original line number Diff line number Diff line Loading @@ -74,7 +74,6 @@ cc_library_static { ], generated_headers: [ "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], srcs: crypto_toolbox_srcs + [ "a2dp/a2dp_aac.cc", Loading Loading @@ -136,6 +135,7 @@ cc_library_static { "pan/pan_utils.cc", ], static_libs: [ "libbluetooth_hci_pdl", "libbt-hci", "libbt-platform-protos-lite", "libbt-stack-core", Loading Loading @@ -283,7 +283,6 @@ cc_library_static { ], generated_headers: [ "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], cflags: [ "-Wno-unused-parameter", Loading @@ -293,6 +292,7 @@ cc_library_static { static_libs: [ "libbluetooth_core_rs", "libbluetooth_gd", "libbluetooth_hci_pdl", "libbt-hci", "libbt-platform-protos-lite", "libbt_shim_bridge", Loading Loading @@ -420,7 +420,6 @@ cc_fuzz { ], generated_headers: [ "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], srcs: crypto_toolbox_srcs + [ ":TestCommonLogMsg", Loading @@ -446,6 +445,9 @@ cc_fuzz { ], static_libs: [ "libbluetooth-types", "libbluetooth_hci_pdl", "libbluetooth_l2cap_pdl", "libbluetooth_smp_pdl", "libbt-platform-protos-lite", "libbt_shim_bridge", "libbt_shim_ffi", Loading @@ -466,7 +468,6 @@ cc_fuzz { ], generated_headers: [ "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], srcs: crypto_toolbox_srcs + [ ":TestCommonLogMsg", Loading @@ -487,6 +488,9 @@ cc_fuzz { ], static_libs: [ "libbluetooth-types", "libbluetooth_hci_pdl", "libbluetooth_l2cap_pdl", "libbluetooth_smp_pdl", "libbt-platform-protos-lite", "libbt_shim_bridge", "libbt_shim_ffi", Loading @@ -507,7 +511,6 @@ cc_fuzz { ], generated_headers: [ "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], srcs: [ ":TestCommonLogMsg", Loading @@ -528,6 +531,9 @@ cc_fuzz { ], static_libs: [ "libbluetooth-types", "libbluetooth_hci_pdl", "libbluetooth_l2cap_pdl", "libbluetooth_smp_pdl", "libbt-platform-protos-lite", "libbt_shim_bridge", "libbt_shim_ffi", Loading @@ -548,7 +554,6 @@ cc_fuzz { ], generated_headers: [ "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], srcs: [ ":TestCommonLogMsg", Loading @@ -571,6 +576,9 @@ cc_fuzz { ], static_libs: [ "libbluetooth-types", "libbluetooth_hci_pdl", "libbluetooth_l2cap_pdl", "libbluetooth_smp_pdl", "libbt-platform-protos-lite", "libbt_shim_bridge", "libbt_shim_ffi", Loading Loading @@ -599,7 +607,6 @@ cc_fuzz { ], generated_headers: [ "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], srcs: [ ":TestCommonLogMsg", Loading @@ -619,6 +626,9 @@ cc_fuzz { ], static_libs: [ "libbluetooth-types", "libbluetooth_hci_pdl", "libbluetooth_l2cap_pdl", "libbluetooth_smp_pdl", "libbt-platform-protos-lite", "libbt_shim_bridge", "libbt_shim_ffi", Loading Loading @@ -763,7 +773,6 @@ cc_test { ], generated_headers: [ "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], shared_libs: [ "libcrypto", Loading @@ -772,6 +781,9 @@ cc_test { static_libs: [ "libbluetooth-types", "libbluetooth_gd", "libbluetooth_hci_pdl", "libbluetooth_l2cap_pdl", "libbluetooth_smp_pdl", "libbt-common", "libbt-platform-protos-lite", "libbt_shim_bridge", Loading Loading @@ -847,7 +859,6 @@ cc_test { ], generated_headers: [ "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], shared_libs: [ "libcrypto", Loading @@ -856,6 +867,9 @@ cc_test { static_libs: [ "libbluetooth-types", "libbluetooth_gd", "libbluetooth_hci_pdl", "libbluetooth_l2cap_pdl", "libbluetooth_smp_pdl", "libbt-platform-protos-lite", "libbt_shim_bridge", "libbt_shim_ffi", Loading Loading @@ -1442,7 +1456,6 @@ cc_test { ], generated_headers: [ "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], srcs: crypto_toolbox_srcs + [ ":BluetoothHalSources_hci_host", Loading Loading @@ -1683,7 +1696,6 @@ cc_test { ], generated_headers: [ "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], srcs: [ ":TestCommonLogMsg", Loading Loading @@ -1755,7 +1767,6 @@ cc_test { ], generated_headers: [ "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], srcs: [ ":OsiCompatSources", Loading Loading @@ -1850,7 +1861,6 @@ cc_test { ], generated_headers: [ "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], srcs: [ ":OsiCompatSources", Loading Loading @@ -1941,7 +1951,6 @@ cc_test { ], generated_headers: [ "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], srcs: [ ":OsiCompatSources", Loading Loading
system/gd/cert/bluetooth_packets_python3_setup.py +1 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ PYBIND11_INCLUDE_DIR = os.path.join(ANDROID_BUILD_TOP, "external/python/pybind11 GD_DIR = os.path.join(ANDROID_BUILD_TOP, "packages/modules/Bluetooth/system/gd") BT_PACKETS_GEN_DIR = os.path.join( ANDROID_BUILD_TOP, "out/soong/.intermediates/packages/modules/Bluetooth/system/gd/BluetoothGeneratedPackets_h/gen") "out/soong/.intermediates/packages/modules/Bluetooth/system/pdl/l2cap/BluetoothGeneratedPacketsL2cap_h/gen") BT_PACKETS_PY3_GEN_DIR = os.path.join( ANDROID_BUILD_TOP, "out/soong/.intermediates/packages/modules/Bluetooth/system/gd/BluetoothGeneratedPackets_python3_cc/gen") Loading
system/main/Android.bp +1 −3 Original line number Diff line number Diff line Loading @@ -48,7 +48,6 @@ cc_library_static { generated_headers: [ "BluetoothGeneratedBundlerSchema_h_bfbs", "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], apex_available: [ "com.android.btservices", Loading Loading @@ -143,7 +142,6 @@ cc_library_static { generated_headers: [ "BluetoothGeneratedBundlerSchema_h_bfbs", "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], cflags: [ "-DBUILDCFG", Loading Loading @@ -216,6 +214,7 @@ cc_test { "libbluetooth-dumpsys", "libbluetooth-types", "libbluetooth_gd", "libbluetooth_hci_pdl", "libbt-common", "libbt-platform-protos-lite", "libbt_shim_bridge", Loading Loading @@ -244,7 +243,6 @@ cc_test { generated_headers: [ "BluetoothGeneratedBundlerSchema_h_bfbs", "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], min_sdk_version: "Tiramisu", header_libs: ["libbluetooth_headers"], Loading
system/pdl/Android.bp +0 −20 Original line number Diff line number Diff line Loading @@ -29,23 +29,3 @@ genrule { "l2cap/l2cap_packets_python3_shard_9.cc", ], } // TODO replace progressivly by the appropriate static libs genrule { name: "BluetoothGeneratedPackets_h", tools: [ "bluetooth_packetgen", ], cmd: "$(location bluetooth_packetgen) --fuzzing --testing --include=packages/modules/Bluetooth/system/pdl --out=$(genDir) $(in)", srcs: [ "hci/hci_packets.pdl", "l2cap/l2cap_packets.pdl", "security/smp_packets.pdl", ], out: [ "hci/hci_packets.h", "l2cap/l2cap_packets.h", "security/smp_packets.h", ], visibility: ["//visibility:public"], }
system/rust/Android.bp +1 −2 Original line number Diff line number Diff line Loading @@ -125,9 +125,9 @@ cc_library_static { ], export_include_dirs: ["."], static_libs: [ "libbluetooth_hci_pdl", "libbt_shim_bridge", "libbt_shim_ffi", "libchrome", "libflatbuffers-cpp", ], Loading @@ -137,7 +137,6 @@ cc_library_static { "BluetoothGeneratedBundlerSchema_h_bfbs", "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], export_generated_headers: [ "libbluetooth_core_rs_bridge_codegen_header", Loading
system/stack/Android.bp +23 −14 Original line number Diff line number Diff line Loading @@ -74,7 +74,6 @@ cc_library_static { ], generated_headers: [ "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], srcs: crypto_toolbox_srcs + [ "a2dp/a2dp_aac.cc", Loading Loading @@ -136,6 +135,7 @@ cc_library_static { "pan/pan_utils.cc", ], static_libs: [ "libbluetooth_hci_pdl", "libbt-hci", "libbt-platform-protos-lite", "libbt-stack-core", Loading Loading @@ -283,7 +283,6 @@ cc_library_static { ], generated_headers: [ "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], cflags: [ "-Wno-unused-parameter", Loading @@ -293,6 +292,7 @@ cc_library_static { static_libs: [ "libbluetooth_core_rs", "libbluetooth_gd", "libbluetooth_hci_pdl", "libbt-hci", "libbt-platform-protos-lite", "libbt_shim_bridge", Loading Loading @@ -420,7 +420,6 @@ cc_fuzz { ], generated_headers: [ "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], srcs: crypto_toolbox_srcs + [ ":TestCommonLogMsg", Loading @@ -446,6 +445,9 @@ cc_fuzz { ], static_libs: [ "libbluetooth-types", "libbluetooth_hci_pdl", "libbluetooth_l2cap_pdl", "libbluetooth_smp_pdl", "libbt-platform-protos-lite", "libbt_shim_bridge", "libbt_shim_ffi", Loading @@ -466,7 +468,6 @@ cc_fuzz { ], generated_headers: [ "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], srcs: crypto_toolbox_srcs + [ ":TestCommonLogMsg", Loading @@ -487,6 +488,9 @@ cc_fuzz { ], static_libs: [ "libbluetooth-types", "libbluetooth_hci_pdl", "libbluetooth_l2cap_pdl", "libbluetooth_smp_pdl", "libbt-platform-protos-lite", "libbt_shim_bridge", "libbt_shim_ffi", Loading @@ -507,7 +511,6 @@ cc_fuzz { ], generated_headers: [ "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], srcs: [ ":TestCommonLogMsg", Loading @@ -528,6 +531,9 @@ cc_fuzz { ], static_libs: [ "libbluetooth-types", "libbluetooth_hci_pdl", "libbluetooth_l2cap_pdl", "libbluetooth_smp_pdl", "libbt-platform-protos-lite", "libbt_shim_bridge", "libbt_shim_ffi", Loading @@ -548,7 +554,6 @@ cc_fuzz { ], generated_headers: [ "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], srcs: [ ":TestCommonLogMsg", Loading @@ -571,6 +576,9 @@ cc_fuzz { ], static_libs: [ "libbluetooth-types", "libbluetooth_hci_pdl", "libbluetooth_l2cap_pdl", "libbluetooth_smp_pdl", "libbt-platform-protos-lite", "libbt_shim_bridge", "libbt_shim_ffi", Loading Loading @@ -599,7 +607,6 @@ cc_fuzz { ], generated_headers: [ "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], srcs: [ ":TestCommonLogMsg", Loading @@ -619,6 +626,9 @@ cc_fuzz { ], static_libs: [ "libbluetooth-types", "libbluetooth_hci_pdl", "libbluetooth_l2cap_pdl", "libbluetooth_smp_pdl", "libbt-platform-protos-lite", "libbt_shim_bridge", "libbt_shim_ffi", Loading Loading @@ -763,7 +773,6 @@ cc_test { ], generated_headers: [ "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], shared_libs: [ "libcrypto", Loading @@ -772,6 +781,9 @@ cc_test { static_libs: [ "libbluetooth-types", "libbluetooth_gd", "libbluetooth_hci_pdl", "libbluetooth_l2cap_pdl", "libbluetooth_smp_pdl", "libbt-common", "libbt-platform-protos-lite", "libbt_shim_bridge", Loading Loading @@ -847,7 +859,6 @@ cc_test { ], generated_headers: [ "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], shared_libs: [ "libcrypto", Loading @@ -856,6 +867,9 @@ cc_test { static_libs: [ "libbluetooth-types", "libbluetooth_gd", "libbluetooth_hci_pdl", "libbluetooth_l2cap_pdl", "libbluetooth_smp_pdl", "libbt-platform-protos-lite", "libbt_shim_bridge", "libbt_shim_ffi", Loading Loading @@ -1442,7 +1456,6 @@ cc_test { ], generated_headers: [ "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], srcs: crypto_toolbox_srcs + [ ":BluetoothHalSources_hci_host", Loading Loading @@ -1683,7 +1696,6 @@ cc_test { ], generated_headers: [ "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], srcs: [ ":TestCommonLogMsg", Loading Loading @@ -1755,7 +1767,6 @@ cc_test { ], generated_headers: [ "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], srcs: [ ":OsiCompatSources", Loading Loading @@ -1850,7 +1861,6 @@ cc_test { ], generated_headers: [ "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], srcs: [ ":OsiCompatSources", Loading Loading @@ -1941,7 +1951,6 @@ cc_test { ], generated_headers: [ "BluetoothGeneratedDumpsysDataSchema_h", "BluetoothGeneratedPackets_h", ], srcs: [ ":OsiCompatSources", Loading