Update API (RS_VERSION) to 18.
Doing version numbering based on the platform build is unstable and still
prone to breakage. This way, we can always update the tests immediately,
instead of just seeing them fail some random day when someone bumps the
platform version.
Change-Id: Ifde36eb63cbb546c0fed691ea573f2360b1dff40
diff --git a/Android.mk b/Android.mk
index dd9109a..00de4be 100644
--- a/Android.mk
+++ b/Android.mk
@@ -27,14 +27,7 @@
endif
local_cflags_for_slang += -DTARGET_BUILD_VARIANT=$(TARGET_BUILD_VARIANT)
-ifeq "REL" "$(PLATFORM_VERSION_CODENAME)"
- RS_VERSION := $(PLATFORM_SDK_VERSION)
-else
- # Increment by 1 whenever this is not a final release build, since we want to
- # be able to see the RS version number change during development.
- # See build/core/version_defaults.mk for more information about this.
- RS_VERSION := "(1 + $(PLATFORM_SDK_VERSION))"
-endif
+RS_VERSION := 18
local_cflags_for_slang += -DRS_VERSION=$(RS_VERSION)
static_libraries_needed_by_slang := \