blob: 52c866257eae1f15d1fcf92bf1bfe576a9f3d1e2 [file] [log] [blame]
# Copyright 2018 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.
import("//products/common/core.gni")
product_bootfs_labels += [
"//bundles/drivers:usb-peripheral-stack",
"//src/sys/component_manager:component_manager_bootfs_config",
]
core_realm_shards += [
"//src/sys/pkg/bin/system-update-checker:system-update-checker-core-shard",
]
legacy_base_package_labels += [
"//src/connectivity/network/netcfg:config-default",
"//src/connectivity/network:network-legacy-deprecated",
"//src/sys/pkg:system-update-checker",
]
legacy_base_package_labels += [
"//src/fonts",
"//src/intl/intl_services:pkg",
]
# Remove intl_services default shards that were added in core.gni.
core_realm_shards += [ "//src/intl/intl_services:intl_services_shard" ]
# TODO(fxbug.dev/102390): deprecate appmgr from terminal.
import("//src/sys/appmgr/appmgr.gni")
# TODO(fxbug.dev/108016, fxbug.dev/100732): Move to appmgr_base_packages once
# tiles is migrated.
legacy_base_package_labels += appmgr_with_sysmgr_base_packages
core_realm_shards += appmgr_core_shards
# Add build type config data
legacy_base_package_labels += [
"//src/cobalt/bin/app:build_type_eng",
"//src/fonts:build_type_eng",
]
# Add UI packages on terminal.
legacy_cache_package_labels += [
"//src/fonts/collections:small-open-fonts-collection",
"//src/ui/bin/terminal",
# Used to mock out display hardware in UI integration tests.
"//src/graphics/display/testing/coordinator-provider",
]
# End to end (E2E) The `fuchsia.fidl_microbenchmarks.dart` require the dart runner.
core_realm_shards += [ "//src/dart:dart_runner_core_shard" ]
# Build with both JIT and AOT non-product dart runners. JIT is used for debug
# builds, and AOT is used for release builds.
legacy_base_package_labels += [
"//src/dart:dart_jit",
"//src/dart:dart_aot",
]
# Used by Chromium tests, such as //src/chromium:tests.
# Although deps in the individual tests ensures these are available in Fuchsia
# infrastructure, Chromium infrastructure runs such tests run on this image,
# so they must be explicitly included in cached packages.
# TODO(crbug.com/1408597): Remove once the Chromium tests package the fake.
legacy_cache_package_labels += [
"//src/chromium:chromium_test_base_deps",
# Archivist for manual embedding in tests. Note that this archivist won't attribute logs by
# moniker and is unable to ingest Inspect. Used in Chromium tests.
"//src/diagnostics/archivist:archivist-without-attribution",
]
# Add SDK tools set to "cache" so these tools are automatically available in
# QEMU images generated for the SDK, but in cache, so they can be updated.
legacy_cache_package_labels += [ "//sdk/bundles:tools" ]
# These were previously included in "//sdk/bundles:tools".
# TODO(fxbug.dev/119075): Remove these.
legacy_cache_package_labels += [ "//src/chromium:web_engine" ]
core_realm_shards += [
"//src/media/codec:codec_factory_shard",
"//src/media/audio/audio_core:core_shard",
]
# Add cfv2 sl4f to base.
core_realm_shards += [ "//src/testing/sl4f:sl4f_terminal_core_shard" ]
legacy_base_package_labels += [
"//src/sys/bin/start_sl4f",
# TODO(https://fxbug.dev/107904) remove once tiles-session is used for e2e tests
"//src/ui/tools/tiles",
]
# Add Test UI Stack for use in tests.
# TODO(fxbug.dev/105105): Remove once we migrate client usage to subpackages.
legacy_cache_package_labels +=
[ "//src/ui/testing/test_ui_stack:test-ui-stack-flavors" ]
# Add validator package for use in tests.
# TODO(fxbug.dev/127138): Remove once we support packages in the SDK.
legacy_cache_package_labels +=
[ "//src/diagnostics/validator/logs/encoding:validator" ]
# Use the product assembly config target to specify the product configuration.
fuchsia_product_assembly_config_label = "//products/terminal"
fuchsia_structured_config_policy =
"//products/terminal/terminal_user_structured_config_policy.json5"