Fix CarServicesTest.

- Moves services library from dynamic to static.

Bug: 172457085
Test: atest CarServicesTest
Change-Id: I4aa08b93252f4b494f4fdee1049847c0bb7ec779
(cherry picked from commit 9e308ae59546bd212e737f21217767da0969656f)
Merged-In: I4aa08b93252f4b494f4fdee1049847c0bb7ec779
diff --git a/tests/Android.mk b/tests/Android.mk
index 1b60c4f..2b04da8 100644
--- a/tests/Android.mk
+++ b/tests/Android.mk
@@ -23,8 +23,7 @@
 LOCAL_JAVA_LIBRARIES += \
     android.test.runner \
     android.test.base \
-    android.hardware.automotive.vehicle-V2.0-java \
-    services
+    android.hardware.automotive.vehicle-V2.0-java
 
 LOCAL_STATIC_JAVA_LIBRARIES := \
     android.car.internal.event-log-tags \
@@ -34,6 +33,7 @@
     androidx.test.ext.junit \
     androidx.test.rules \
     mockito-target-extended-minus-junit4 \
+    services.core \
     truth-prebuilt
 
 # mockito-target-extended dependencies