blob: ae79d32bfd3e91748497d456267e918fb95de3a8 [file] [log] [blame]
Sasha Smundak5c8b09b2020-11-03 23:44:14 -08001
2# Copyright 2021 Google LLC
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# https://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16# Part configuration
17# Converted from
18### PRODUCT_COPY_FILES += part_from:part_to
19### PRODUCT_PRODUCT_PROPERTIES += part_properties
20
21load("//build/make/core:product_config.rbc", "rblf")
22
23def init(g, handle):
24 cfg = rblf.cfg(handle)
25 rblf.setdefault(handle, "PRODUCT_COPY_FILES")
26 cfg["PRODUCT_COPY_FILES"] += ["part_from:part_to"]
27 rblf.setdefault(handle, "PRODUCT_PRODUCT_PROPERTIES")
28 cfg["PRODUCT_PRODUCT_PROPERTIES"] += ["part_properties"]
Sasha Smundakdc154162021-09-17 15:27:37 -070029 rblf.soong_config_namespace(g, "NS1")
30 rblf.soong_config_append(g, "NS1", "v1", "abc_part1")