| # 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/fidl/fidl.gni") |
| |
| # Builds the FIDL library into a set of language specific bindings. Bindings for a given language |
| # may be imported by depending on this target, followed by a language-specific underscore: |
| # |
| # ":examples.canvas.baseline_rust" |
| # ":examples.canvas.baseline_cpp" |
| # ...and so on |
| # |
| fidl("examples.canvas.baseline") { |
| sources = [ "canvas.test.fidl" ] |
| excluded_checks = [ "wrong-prefix-for-platform-source-library" ] |
| enable_hlcpp = true |
| } |