diff --git a/bluetooth/audio/2.0/default/Android.bp b/bluetooth/audio/2.0/default/Android.bp index 0db0028879..8ed631e08f 100644 --- a/bluetooth/audio/2.0/default/Android.bp +++ b/bluetooth/audio/2.0/default/Android.bp @@ -23,24 +23,3 @@ cc_library_shared { "libutils", ], } - -cc_library_shared { - name: "libbluetooth_audio_session", - defaults: ["hidl_defaults"], - vendor: true, - srcs: [ - "session/BluetoothAudioSession.cpp", - "session/BluetoothAudioSupportedCodecsDB.cpp", - ], - export_include_dirs: ["session/"], - header_libs: ["libhardware_headers"], - shared_libs: [ - "android.hardware.bluetooth.audio@2.0", - "libbase", - "libcutils", - "libfmq", - "libhidlbase", - "liblog", - "libutils", - ], -} diff --git a/bluetooth/audio/utils/Android.bp b/bluetooth/audio/utils/Android.bp new file mode 100644 index 0000000000..add822e019 --- /dev/null +++ b/bluetooth/audio/utils/Android.bp @@ -0,0 +1,20 @@ +cc_library_shared { + name: "libbluetooth_audio_session", + defaults: ["hidl_defaults"], + vendor: true, + srcs: [ + "session/BluetoothAudioSession.cpp", + "session/BluetoothAudioSupportedCodecsDB.cpp", + ], + export_include_dirs: ["session/"], + header_libs: ["libhardware_headers"], + shared_libs: [ + "android.hardware.bluetooth.audio@2.0", + "libbase", + "libcutils", + "libfmq", + "libhidlbase", + "liblog", + "libutils", + ], +} diff --git a/bluetooth/audio/2.0/default/session/BluetoothAudioSession.cpp b/bluetooth/audio/utils/session/BluetoothAudioSession.cpp similarity index 100% rename from bluetooth/audio/2.0/default/session/BluetoothAudioSession.cpp rename to bluetooth/audio/utils/session/BluetoothAudioSession.cpp diff --git a/bluetooth/audio/2.0/default/session/BluetoothAudioSession.h b/bluetooth/audio/utils/session/BluetoothAudioSession.h similarity index 100% rename from bluetooth/audio/2.0/default/session/BluetoothAudioSession.h rename to bluetooth/audio/utils/session/BluetoothAudioSession.h diff --git a/bluetooth/audio/2.0/default/session/BluetoothAudioSessionControl.h b/bluetooth/audio/utils/session/BluetoothAudioSessionControl.h similarity index 100% rename from bluetooth/audio/2.0/default/session/BluetoothAudioSessionControl.h rename to bluetooth/audio/utils/session/BluetoothAudioSessionControl.h diff --git a/bluetooth/audio/2.0/default/session/BluetoothAudioSessionReport.h b/bluetooth/audio/utils/session/BluetoothAudioSessionReport.h similarity index 100% rename from bluetooth/audio/2.0/default/session/BluetoothAudioSessionReport.h rename to bluetooth/audio/utils/session/BluetoothAudioSessionReport.h diff --git a/bluetooth/audio/2.0/default/session/BluetoothAudioSupportedCodecsDB.cpp b/bluetooth/audio/utils/session/BluetoothAudioSupportedCodecsDB.cpp similarity index 100% rename from bluetooth/audio/2.0/default/session/BluetoothAudioSupportedCodecsDB.cpp rename to bluetooth/audio/utils/session/BluetoothAudioSupportedCodecsDB.cpp diff --git a/bluetooth/audio/2.0/default/session/BluetoothAudioSupportedCodecsDB.h b/bluetooth/audio/utils/session/BluetoothAudioSupportedCodecsDB.h similarity index 100% rename from bluetooth/audio/2.0/default/session/BluetoothAudioSupportedCodecsDB.h rename to bluetooth/audio/utils/session/BluetoothAudioSupportedCodecsDB.h