blob: 945ba3cef6f0b4c99cf95b008215c2e212a784a5 [file] [log] [blame]
# Copyright 2023 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
load(
"@fuchsia_sdk//fuchsia:assembly.bzl",
"BUILD_TYPES",
"INPUT_DEVICE_TYPE",
"fuchsia_product_configuration",
)
package(default_visibility = ["//visibility:public"])
exports_files(
glob(
["*"],
),
)
_PRODUCT_CONFIG_BASE_JSON = {
"platform": {
"build_type": BUILD_TYPES.ENG,
"fonts": {
"enabled": False,
},
"icu": {
"revision": "default",
},
"ui": {
"supported_input_devices": [
INPUT_DEVICE_TYPE.BUTTON,
INPUT_DEVICE_TYPE.TOUCHSCREEN,
],
},
},
"product": {
"build_info": {
"name": "test_product",
"version": "LABEL(@//product:version_file.txt)",
"jiri_snapshot": "LABEL(jiri_snapshot.xml)",
"latest_commit_date": "LABEL(@//product:version_file.txt)",
"minimum_utc_stamp": "LABEL(@//product:version_file.txt)",
},
},
}
fuchsia_product_configuration(
name = "product_config",
base_driver_packages = [
"//src/drivers/pcf8563:pkg",
],
product_config_json = _PRODUCT_CONFIG_BASE_JSON,
)