xref: /aosp_15_r20/build/make/tests/conversion_error.rbc (revision 9e94795a3d4ef5c1d47486f9a02bb378756cea8a)
1*9e94795aSAndroid Build Coastguard Worker# Copyright 2021 Google LLC
2*9e94795aSAndroid Build Coastguard Worker#
3*9e94795aSAndroid Build Coastguard Worker# Licensed under the Apache License, Version 2.0 (the "License");
4*9e94795aSAndroid Build Coastguard Worker# you may not use this file except in compliance with the License.
5*9e94795aSAndroid Build Coastguard Worker# You may obtain a copy of the License at
6*9e94795aSAndroid Build Coastguard Worker#
7*9e94795aSAndroid Build Coastguard Worker#      https://www.apache.org/licenses/LICENSE-2.0
8*9e94795aSAndroid Build Coastguard Worker#
9*9e94795aSAndroid Build Coastguard Worker# Unless required by applicable law or agreed to in writing, software
10*9e94795aSAndroid Build Coastguard Worker# distributed under the License is distributed on an "AS IS" BASIS,
11*9e94795aSAndroid Build Coastguard Worker# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*9e94795aSAndroid Build Coastguard Worker# See the License for the specific language governing permissions and
13*9e94795aSAndroid Build Coastguard Worker# limitations under the License.
14*9e94795aSAndroid Build Coastguard Worker
15*9e94795aSAndroid Build Coastguard Worker
16*9e94795aSAndroid Build Coastguard Worker# Run test configuration and verify its result.
17*9e94795aSAndroid Build Coastguard Worker# The main configuration file is device.rbc.
18*9e94795aSAndroid Build Coastguard Worker# It inherits part1.rbc and also includes include1.rbc
19*9e94795aSAndroid Build Coastguard Worker# TODO(asmundak): more tests are needed to verify that:
20*9e94795aSAndroid Build Coastguard Worker#  * multi-level inheritance works as expected
21*9e94795aSAndroid Build Coastguard Worker#  * all runtime functions (wildcard, regex, etc.) work
22*9e94795aSAndroid Build Coastguard Worker
23*9e94795aSAndroid Build Coastguard Workerload("//build/make/core:product_config.rbc", "rblf")
24*9e94795aSAndroid Build Coastguard Workerload(":version_defaults.rbc", "version_defaults")
25*9e94795aSAndroid Build Coastguard Workerload(":device.rbc", "init")
26*9e94795aSAndroid Build Coastguard Worker
27*9e94795aSAndroid Build Coastguard Workerrblf.mk2rbc_error("file.mk:123", "cannot convert")
28