Updating platform SDK version for R

  * Update theme tests
  * Fix a bug in makefiles
  * Update current SDK
  * Update SDK test

Test: build + boot

bug:150281259

Change-Id: Icfb69d695a05f56de41968e8a4b71a9f0cb394df
Merged-In: Icfb69d695a05f56de41968e8a4b71a9f0cb394df
diff --git a/tests/signature/api-check/system-api/Android.mk b/tests/signature/api-check/system-api/Android.mk
index d6afb39..2c577ca 100644
--- a/tests/signature/api-check/system-api/Android.mk
+++ b/tests/signature/api-check/system-api/Android.mk
@@ -17,7 +17,9 @@
 all_system_api_modules :=
 $(foreach ver,$(PLATFORM_SYSTEMSDK_VERSIONS),\
   $(if $(call math_is_number,$(ver)),\
-    $(eval all_system_api_modules += system-$(ver).txt)\
+    $(if $(wildcard prebuilts/sdk/$(ver)/system/api/android.txt),\
+      $(eval all_system_api_modules += system-$(ver).txt)\
+    )\
   )\
 )
 all_system_api_files := $(addprefix $(COMPATIBILITY_TESTCASES_OUT_cts)/,$(all_system_api_modules))