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 Original line Diff line number Diff line
@@ -23,9 +23,9 @@
group("all") {
group("all") {
  deps = [ ":bluetooth" ]
  deps = [ ":bluetooth" ]


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


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


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

      #"//bt/types:net_test_types",
      #"//bt/packet:net_test_btpackets",

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


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


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