Remove ART hack to create hiddenapi-flags.csv

An empty file will be created by the Soong hiddenapi singleton rules
if frameworks/base is not present.

Bug: 123645297
Test: forrest master-art-host
Change-Id: I8fde13a76fc12830e60dca4db9c7b2f6ce32ea7a
diff --git a/Android.mk b/Android.mk
index 1a7ed43..a98bedc 100644
--- a/Android.mk
+++ b/Android.mk
@@ -463,19 +463,6 @@
 include $(BUILD_PHONY_PACKAGE)
 endif
 
-# Create dummy hidden API lists which are normally generated by the framework
-# but which we do not have in the master-art manifest.
-# We need to execute this now to ensure Makefile rules depending on these files can
-# be constructed.
-define build-art-hiddenapi
-$(shell if [ ! -d frameworks/base ]; then \
-  mkdir -p ${TARGET_OUT_COMMON_INTERMEDIATES}/PACKAGING; \
-	touch ${TARGET_OUT_COMMON_INTERMEDIATES}/PACKAGING/hiddenapi-flags.csv; \
-  fi;)
-endef
-
-$(eval $(call build-art-hiddenapi))
-
 ########################################################################
 # "m build-art" for quick minimal build
 .PHONY: build-art