OSDN Git Service

Revert "btif: Simplify dependencies for btif_storage_test"
authorMyles Watson <mylesgw@google.com>
Thu, 2 Nov 2017 21:47:20 +0000 (21:47 +0000)
committerMyles Watson <mylesgw@google.com>
Thu, 2 Nov 2017 21:48:00 +0000 (21:48 +0000)
This reverts commit c9026a03f4bf225ade0cb79e51385acb1201ba07.

Change-Id: Ie7527e8042d13cabd692a6929d902bc1efe009b6

btif/Android.bp
btif/test/bogus_stack_dependency_btif_storage_test.cc [deleted file]

index 326ef5c..be85d88 100644 (file)
@@ -106,17 +106,16 @@ cc_test {
     name: "net_test_btif",
     defaults: ["fluoride_defaults"],
     include_dirs: btifCommonIncludes,
-    srcs: [
-        "test/btif_storage_test.cc",
-        "test/bogus_stack_dependency_btif_storage_test.cc",
-        ],
+    srcs: ["test/btif_storage_test.cc"],
     header_libs: ["libbluetooth_headers"],
     shared_libs: [
         "liblog",
         "libcutils",
     ],
     static_libs: [
+        "libbtcore",
         "libbtif",
+        "libbt-stack",
         "libbluetooth-types",
         "libosi",
     ],
diff --git a/btif/test/bogus_stack_dependency_btif_storage_test.cc b/btif/test/bogus_stack_dependency_btif_storage_test.cc
deleted file mode 100644 (file)
index 2fc8259..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-//
-// Copyright 2017 The Android Open Source Project
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-
-// b/68350333 dependency
-#include "stack/include/a2dp_codec_api.h"
-
-A2dpCodecs::~A2dpCodecs() {}