| # Copyright 2019 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/board.gni") |
| |
| group("drivers") { |
| testonly = true |
| |
| local_board_name = board_name |
| if (local_board_name != "sherlock" && local_board_name != "luis") { |
| local_board_name = "sherlock" |
| } |
| |
| deps = [ |
| "bus", |
| "controller/$local_board_name", |
| "hw_accel", |
| "sensors", |
| "test_utils", |
| "usb_video", |
| "usb_video:tests", |
| ] |
| } |
| |
| group("bind_tests") { |
| testonly = true |
| deps = [ |
| "bus:bind_test", |
| "controller:bind_test", |
| "hw_accel:bind_test", |
| "sensors:bind_test", |
| "usb_video:bind_test", |
| ] |
| } |
| |
| # Use this target to include actual drivers and tests, |
| # but not supporting libraries. |
| group("all") { |
| testonly = true |
| deps = [ |
| "bus", |
| "controller/luis", |
| "controller/sherlock", |
| "hw_accel", |
| "sensors", |
| "usb_video", |
| "usb_video:tests", |
| ] |
| } |
| |
| group("sherlock") { |
| deps = [ |
| "bus", |
| "controller/sherlock", |
| "hw_accel", |
| "sensors", |
| ] |
| } |
| |
| group("luis") { |
| testonly = true |
| deps = [ |
| "bus", |
| "controller/luis", |
| "hw_accel", |
| "sensors", |
| ] |
| } |