Sasha Smundak | 5c8b09b | 2020-11-03 23:44:14 -0800 | [diff] [blame] | 1 | |
| 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 | |
| 21 | load("//build/make/core:product_config.rbc", "rblf") |
| 22 | |
| 23 | def 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 Smundak | dc15416 | 2021-09-17 15:27:37 -0700 | [diff] [blame] | 29 | rblf.soong_config_namespace(g, "NS1") |
| 30 | rblf.soong_config_append(g, "NS1", "v1", "abc_part1") |