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

Commit e00fff24 authored by Chris Manton's avatar Chris Manton
Browse files

headless: break out modules from headless infra

Bug: 257972065
Test: gd/cert/run
Tag: #refactor
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines

Change-Id: I64b024a053259e68e51a7281f970e1aec7802251
parent 242f995c
Loading
Loading
Loading
Loading
+17 −10
Original line number Diff line number Diff line
@@ -24,6 +24,22 @@ genrule {
  ],
}

filegroup {
    name: "TestHeadlessModules",
    srcs: [
          "connect/connect.cc",
          "discovery/discovery.cc",
          "dumpsys/dumpsys.cc",
          "nop/nop.cc",
          "pairing/pairing.cc",
          "read/name.cc",
          "read/read.cc",
          "scan/scan.cc",
          "sdp/sdp.cc",
          "sdp/sdp_db.cc",
     ],
}

cc_binary {
    name: "bt_headless",
    defaults: [
@@ -39,23 +55,14 @@ cc_binary {
        "HeadlessBuildTimestamp",
    ],
    srcs: [
        ":TestHeadlessModules",
        "bt_property.cc",
        "connect/connect.cc",
        "get_options.cc",
        "headless.cc",
        "log.cc",
        "main.cc",
        "messenger.cc",
        "pairing/pairing.cc",
        "util.cc",
        "discovery/discovery.cc",
        "dumpsys/dumpsys.cc",
        "scan/scan.cc",
        "sdp/sdp.cc",
        "sdp/sdp_db.cc",
        "nop/nop.cc",
        "read/read.cc",
        "read/name.cc",
    ],
    include_dirs: [
        "packages/modules/Bluetooth/system",