blob: b99b15bafc28678442596c60f14ffbe03389f94a [file] [log] [blame]
# Copyright 2022 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("//build/components.gni")
import("//build/rust/rustc_binary.gni")
group("test-driver") {
testonly = true
deps = [ ":package" ]
}
resource("test_driver_file_under_64KB") {
sources = [ "resources/foo.txt" ]
outputs = [ "resources/foo.txt" ]
}
resource("test_driver_file_over_64KB") {
sources = [ "resources/flower.jpeg" ]
outputs = [ "resources/flower.jpeg" ]
}
fuchsia_component("component") {
component_name = "test-driver"
manifest = "meta/test_driver.cml"
deps = [
":test_driver_file_over_64KB",
":test_driver_file_under_64KB",
]
}
fuchsia_package("package") {
package_name = "test-driver"
deps = [ ":component" ]
}