blob: d27a83b6dece8b31be30ea546743da8d2e91b880 [file] [log] [blame]
# Copyright (C) 2015 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# We define this in a subdir so that it won't pick up the parent's Android.xml by default.
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
# current api, in XML format.
# ============================================================
include $(CLEAR_VARS)
LOCAL_MODULE := cts-current-api
LOCAL_MODULE_STEM := current.api
LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_ETC)
# Tag this module as a cts test artifact
LOCAL_COMPATIBILITY_SUITE := cts
include $(BUILD_SYSTEM)/base_rules.mk
$(LOCAL_BUILT_MODULE) : frameworks/base/api/current.txt | $(APICHECK)
@echo "Convert API file $@"
@mkdir -p $(dir $@)
$(hide) $(APICHECK_COMMAND) -convert2xml $< $@
include $(CLEAR_VARS)
# current api, in XML format.
# ============================================================
include $(CLEAR_VARS)
LOCAL_MODULE := cts-system-current-api
LOCAL_MODULE_STEM := system-current.api
LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_ETC)
# Tag this module as a cts test artifact
LOCAL_COMPATIBILITY_SUITE := cts
include $(BUILD_SYSTEM)/base_rules.mk
$(LOCAL_BUILT_MODULE) : frameworks/base/api/system-current.txt | $(APICHECK)
@echo "Convert API file $@"
@mkdir -p $(dir $@)
$(hide) $(APICHECK_COMMAND) -convert2xml $< $@