Commit Graph

4 Commits

Author SHA1 Message Date
Zhomart Mukhamejanov
ecf644f2d6 Add Automotive OS API 29 stubs to platform SDK optionals.
Android Automotive OS stubs (android.car-stubs.jar) is used
to compile apps against Car API.

NOTE: We tried using
${OUT_DIR}/target/common/obj/JAVA_LIBRARIES/android.car-stubs_intermediates/classes.jar,
but it doesn't work because car-stubs are not generated when building
regular Android SDK for phones.

Bug: 154653660
Test: m -j
Test: m -j dist
Test: 1. $ ./build/soong/soong_ui.bash --make-mode TARGET_PRODUCT=sdk_phone_armv7 \
             TARGET_BUILD_VARIANT=userdebug win_sdk dist DIST_DIR=dist-mine sdk_repo
      2. Copy and unzip dist-mine/android-sdk_eng.zhomart_windows.zip to
         $HOME/Android/Sdk (replaced the existing Sdk forlder)
      3. Created a sample app, used "android.car.Car" and verified it
         compiles, runs and connects to the car service.
Change-Id: I1913fd89cf1cd702b3b5b3f386cf3693a5042eea
2020-07-23 22:24:13 +00:00
Paul Duffin
33b4ede5a5 Add stubs for android.test.base
Adds android.test.base.jar to the optional directory of the SDK.

Bug: 30188076
Test: build SDK and check optional directory

Change-Id: Idef6358ea435053ee08831cefa8be5d07c9c6f74
2017-11-29 10:48:30 +00:00
Paul Duffin
317f8c8372 Add stubs for android.test.mock, android.test.runner
Adds android.test.mock.jar and android.test.runner.jar to
the optional directory of the SDK.

Bug: 30188076
Test: build SDK and check optional directory
Change-Id: I6fb0d8757c4b157ff2167f8fc4e50ff019449beb
2017-10-31 13:48:21 +00:00
Xavier Ducrohet
83f4d2a1c9 Optional library listing file.
Also update some files for MNC.

Change-Id: I3901b07d72831cdb6557da1696ae4845e4d15be5
2015-04-24 13:17:36 -07:00