CRAS: Fix undefined reference in hfp_ag_profile_unittest [chromiumos/third_party/adhd : master]

2 views
Skip to first unread message

Commit Bot (Gerrit)

unread,
Apr 8, 2020, 9:30:26 AM4/8/20
to Chih-Yang Hsia, Hsinyu Chao, Cheng-Yi Chiang

Commit Bot submitted this change.

View Change

Approvals: Hsinyu Chao: Looks good to me, approved Chih-Yang Hsia: Commit; Verified
CRAS: Fix undefined reference in hfp_ag_profile_unittest

Build fails from commit:
52e2d8861ab53045f8d760de0ba33b0f7fc5369a

BUG=None
TEST=Run commands under adhd/cras
CC=clang CXX=clang++ ./configure
make -j$(nproc) check

Change-Id: I2e60be8bd05210bec197ab22741b8ea543037047
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/2141573
Reviewed-by: Hsinyu Chao <hyc...@chromium.org>
Commit-Queue: Chih-Yang Hsia <paul...@chromium.org>
Tested-by: Chih-Yang Hsia <paul...@chromium.org>
---
M cras/src/tests/hfp_ag_profile_unittest.cc
1 file changed, 19 insertions(+), 0 deletions(-)

diff --git a/cras/src/tests/hfp_ag_profile_unittest.cc b/cras/src/tests/hfp_ag_profile_unittest.cc
index 3d3f3ed..2baea4f 100644
--- a/cras/src/tests/hfp_ag_profile_unittest.cc
+++ b/cras/src/tests/hfp_ag_profile_unittest.cc
@@ -167,6 +167,25 @@
return 0;
}

+int cras_bt_rm_profile(DBusConnection* conn, struct cras_bt_profile* profile) {
+ internal_bt_profile = NULL;
+ return 0;
+}
+
+int cras_bt_register_profile(DBusConnection* conn,
+ struct cras_bt_profile* profile) {
+ return 0;
+}
+
+int cras_bt_register_profiles(DBusConnection* conn) {
+ return 0;
+}
+
+int cras_bt_unregister_profile(DBusConnection* conn,
+ struct cras_bt_profile* profile) {
+ return 0;
+}
+
struct hfp_info* hfp_info_create() {
return NULL;
}

To view, visit change 2141573. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromiumos/third_party/adhd
Gerrit-Branch: master
Gerrit-Change-Id: I2e60be8bd05210bec197ab22741b8ea543037047
Gerrit-Change-Number: 2141573
Gerrit-PatchSet: 3
Gerrit-Owner: Chih-Yang Hsia <paul...@chromium.org>
Gerrit-Reviewer: Cheng-Yi Chiang <cych...@chromium.org>
Gerrit-Reviewer: Chih-Yang Hsia <paul...@chromium.org>
Gerrit-Reviewer: Commit Bot <commi...@chromium.org>
Gerrit-Reviewer: Hsinyu Chao <hyc...@chromium.org>
Gerrit-MessageType: merged
Reply all
Reply to author
Forward
0 new messages