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

Commit dbfd00a2 authored by Abhishek Pandit-Subedi's avatar Abhishek Pandit-Subedi Committed by Automerger Merge Worker
Browse files

Disable building C++ tests for Linux am: 70e43040

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1734296

Change-Id: Ieca4a4af11ed7c06e7fef5763ff11082e2b16a4d
parents ef2042a7 70e43040
Loading
Loading
Loading
Loading
+18 −17
Original line number Diff line number Diff line
@@ -23,9 +23,9 @@
group("all") {
  deps = [ ":bluetooth" ]

  if (use.test) {
    deps += [ ":bluetooth_tests" ]
  }
  #if (use.test) {
    #deps += [ ":bluetooth_tests" ]
  #}
}

# This pulls in main/BUILD.gn and all of its dependencies.
@@ -37,20 +37,21 @@ group("bluetooth") {
  ]
}

if (use.test) {
  group("bluetooth_tests") {
    deps = [
      "//bt/btcore:net_test_btcore",
      "//bt/common:bluetooth_test_common",
      "//bt/profile/avrcp:net_test_avrcp",
      "//bt/service:bluetoothtbd_test",
      "//bt/stack:net_test_btm_iso",
      "//bt/types:net_test_types",

      #"//bt/packet:net_test_btpackets",
    ]
  }
}
# TODO(b/190750167) - Re-enable once we're fully Bazel build
#if (use.test) {
  #group("bluetooth_tests") {
    #deps = [
      #"//bt/btcore:net_test_btcore",
      #"//bt/common:bluetooth_test_common",
      #"//bt/profile/avrcp:net_test_avrcp",
      #"//bt/service:bluetoothtbd_test",
      #"//bt/stack:net_test_btm_iso",
      #"//bt/types:net_test_types",

      ##"//bt/packet:net_test_btpackets",
    #]
  #}
#}

if (host_cpu == target_cpu && host_os == target_os) {
  group("tools") {
+8 −7
Original line number Diff line number Diff line
@@ -66,14 +66,15 @@ VALID_TARGETS = [
    'all',  # All targets except test and clean
]

# TODO(b/190750167) - Host tests are disabled until we are full bazel build
HOST_TESTS = [
    'bluetooth_test_common',
    'bluetoothtbd_test',
    'net_test_avrcp',
    'net_test_btcore',
    'net_test_types',
    'net_test_btm_iso',
    'net_test_btpackets',
    # 'bluetooth_test_common',
    # 'bluetoothtbd_test',
    # 'net_test_avrcp',
    # 'net_test_btcore',
    # 'net_test_types',
    # 'net_test_btm_iso',
    # 'net_test_btpackets',
]