| # Copyright 2020 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. |
| |
| # DO NOT MANUALLY EDIT! |
| # Generated by //scripts/sdk/gn/generate.py. |
| |
| |
| assert(current_os == "fuchsia") |
| |
| import("fuchsia_sdk_pkg.gni") |
| |
| # These template is used to create build targets |
| # that test the generated build targets. It does not |
| # have any practical use outside testing. |
| |
| # All vulkan targets |
| template("fuchsia_sdk_test_loadable_module_targets") { |
| not_needed(["invoker"]) |
| group(target_name){ |
| deps = [ |
| "${fuchsia_sdk}/pkg/vulkan_layers:all", |
| ] |
| } |
| } |
| |
| # All FIDL targets |
| template("fuchsia_sdk_test_fidl_targets") { |
| not_needed(["invoker"]) |
| group(target_name){ |
| deps = [ |
| "${fuchsia_sdk}/fidl/fuchsia.process:all", |
| ] |
| } |
| } |
| |
| # All CC source targets |
| template("fuchsia_sdk_test_cc_source_targets") { |
| not_needed(["invoker"]) |
| group(target_name){ |
| deps = [ |
| "${fuchsia_sdk}/pkg/media_cpp:all", |
| ] |
| } |
| } |
| |
| # All CC prebuilt targets |
| template("fuchsia_sdk_test_cc_prebuilt_targets") { |
| not_needed(["invoker"]) |
| group(target_name){ |
| deps = [ |
| "${fuchsia_sdk}/pkg/svc:all", |
| "${fuchsia_sdk}/pkg/sync:all", |
| ] |
| } |
| } |
| |
| # All test targets |
| template("fuchsia_sdk_test_targets"){ |
| not_needed(["invoker"]) |
| fuchsia_sdk_test_loadable_module_targets("loadable_module_targets"){ |
| } |
| fuchsia_sdk_test_fidl_targets("fidl_targets"){ |
| } |
| fuchsia_sdk_test_cc_source_targets("cc_source_targets"){ |
| } |
| fuchsia_sdk_test_cc_prebuilt_targets("cc_prebuilt_targets"){ |
| } |
| group(target_name){ |
| deps = [ |
| ":loadable_module_targets", |
| ":fidl_targets", |
| ":cc_source_targets", |
| ":cc_prebuilt_targets", |
| ] |
| } |
| } |