Convert sysui to bp

Test: builds gonna build, tests gonna test
Change-Id: Ib31d88d0b1ce9ed61d401756d4b85f7e3ce884cd
Merged-In: Ib31d88d0b1ce9ed61d401756d4b85f7e3ce884cd
(cherry picked from commit 76aff98b2c3b77001c5e075ad9aa5408fb9e0963)
diff --git a/car_product/overlay/frameworks/base/packages/SettingsLib/res/values/dimens.xml b/car_product/overlay/frameworks/base/packages/SettingsLib/res/values/dimens.xml
index f295e6c..70d19e0 100644
--- a/car_product/overlay/frameworks/base/packages/SettingsLib/res/values/dimens.xml
+++ b/car_product/overlay/frameworks/base/packages/SettingsLib/res/values/dimens.xml
@@ -15,12 +15,8 @@
   ~ limitations under the License
   -->
 <resources>
+    <add-resource type="dimen" name="small_text_size" />
     <dimen name="small_text_size">24sp</dimen>
+    <add-resource type="dimen" name="medium_text_size" />
     <dimen name="medium_text_size">28sp</dimen>
-    <dimen name="drawer_icon_size">54dp</dimen>
-    <dimen name="normal_icon_size">54dp</dimen>
-    <dimen name="drawer_icon_margin">44dp</dimen>
-    <dimen name="drawer_width">600dp</dimen>
-    <dimen name="drawer_item_top_bottom_margin">8dp</dimen>
-    <dimen name="drawer_spacer_height">70dp</dimen>
 </resources>
diff --git a/service/Android.mk b/service/Android.mk
index 9ab7df3..e961fbb 100644
--- a/service/Android.mk
+++ b/service/Android.mk
@@ -49,7 +49,7 @@
         car-systemtest \
         com.android.car.procfsinspector-client \
 
-include frameworks/base/packages/SettingsLib/common.mk
+LOCAL_STATIC_ANDROID_LIBRARIES := SettingsLib androidx.preference_preference
 
 include $(BUILD_PACKAGE)
 
@@ -78,7 +78,7 @@
 
 LOCAL_MIN_SDK_VERSION := 25
 
-include frameworks/base/packages/SettingsLib/common.mk
+LOCAL_STATIC_ANDROID_LIBRARIES := SettingsLib androidx.preference_preference
 
 include $(BUILD_STATIC_JAVA_LIBRARY)