| # 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/python/python_host_test.gni") |
| |
| if (is_host) { |
| python_host_test("cipd_utils_test") { |
| main_source = "cipd_utils_test.py" |
| sources = [ "cipd_utils.py" ] |
| } |
| |
| python_host_test("android_boot_image_test") { |
| main_source = "android_boot_image_test.py" |
| sources = [ |
| "android_boot_image.py", |
| "test_data/android_boot_image/test_boot_image_v2.bin", |
| "test_data/android_boot_image/test_boot_image_v4.bin", |
| "test_data/android_boot_image/test_vendor_boot_image_v4.bin", |
| ] |
| } |
| } |
| |
| group("tests") { |
| testonly = true |
| public_deps = [ |
| ":android_boot_image_test($host_toolchain)", |
| ":cipd_utils_test($host_toolchain)", |
| ] |
| } |