[fuchsia] fidl_dart - Use the tools from the proper directory (flutter/engine#34503)

This commit is contained in:
omerlevran46
2022-07-07 09:58:04 -07:00
committed by GitHub
parent bf3d747018
commit ae6cc0adce

View File

@@ -2,12 +2,12 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/fuchsia/sdk.gni")
import("//flutter/tools/executable_action.gni")
import("//flutter/tools/fuchsia/dart/dart_library.gni")
import("//flutter/tools/fuchsia/dart/toolchain.gni")
import("//flutter/tools/fuchsia/fidl/fidl.gni")
import("//flutter/tools/fuchsia/fidl/toolchain.gni")
import("//flutter/tools/fuchsia/gn-sdk/config/config.gni")
# Generates some Dart bindings for a FIDL library.
#
@@ -41,7 +41,7 @@ template("fidl_dart") {
executable_action(generation_target_name) {
visibility = [ ":*" ]
tool = "${fuchsia_sdk_path}/tools/fidlgen_dart"
tool = "${fuchsia_tool_dir}/fidlgen_dart"
inputs = [ json_representation ]