Add App Compatibility Test Suite (C-Suite) to build

Test: make csuite
Change-Id: Id2a9c0acffef35e092485f598203fe335a24810c
This commit is contained in:
karenluo 2019-09-18 18:29:27 -07:00 committed by Kailin Luo
parent 53457b9953
commit af68e408ec
2 changed files with 25 additions and 0 deletions

View File

@ -77,6 +77,8 @@ $(shell mkdir -p $(EMPTY_DIRECTORY) && rm -rf $(EMPTY_DIRECTORY)/*)
-include test/mts/tools/build/config.mk
# VTS-Core-specific config.
-include test/vts/tools/vts-core-tradefed/build/config.mk
# CSUITE-specific config.
-include test/app_compat/csuite/tools/build/config.mk
# Clean rules
.PHONY: clean-dex-files

23
core/tasks/csuite.mk Normal file
View File

@ -0,0 +1,23 @@
# Copyright (C) 2019 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.
test_suite_name := csuite
test_suite_tradefed := csuite-tradefed
test_suite_readme := test/app_compat/csuite/README.md
include $(BUILD_SYSTEM)/tasks/tools/compatibility.mk
.PHONY: csuite
csuite: $(compatibility_zip)
$(call dist-for-goals, csuite, $(compatibility_zip))