diff --git a/core/main.mk b/core/main.mk index 5ea95c8e6..2c78815f1 100644 --- a/core/main.mk +++ b/core/main.mk @@ -83,6 +83,8 @@ $(shell mkdir -p $(EMPTY_DIRECTORY) && rm -rf $(EMPTY_DIRECTORY)/*) -include test/vts/tools/vts-core-tradefed/build/config.mk # CSUITE-specific config. -include test/app_compat/csuite/tools/build/config.mk +# CTS-Root-specific config. +-include test/cts-root/tools/build/config.mk # Clean rules .PHONY: clean-dex-files diff --git a/core/tasks/cts_root.mk b/core/tasks/cts_root.mk new file mode 100644 index 000000000..b61812174 --- /dev/null +++ b/core/tasks/cts_root.mk @@ -0,0 +1,25 @@ +# Copyright (C) 2021 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. + +ifneq ($(wildcard test/cts-root/README.md),) +test_suite_name := cts_root +test_suite_tradefed := cts-root-tradefed +test_suite_readme := test/cts-root/README.md + +include $(BUILD_SYSTEM)/tasks/tools/compatibility.mk + +.PHONY: cts_root +cts_root: $(compatibility_zip) +$(call dist-for-goals, cts_root, $(compatibility_zip)) +endif