1# Copyright 2018 The Chromium Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5assert(is_fuchsia) 6 7import("//build/buildflag_header.gni") 8import("//fuchsia/release_channel.gni") 9import("//third_party/fuchsia-sdk/sdk/build/fidl_library.gni") 10 11fidl_library("cast_fidl") { 12 library_name = "chromium.cast" 13 14 sources = [ 15 "fidl/cast/api_bindings.fidl", 16 "fidl/cast/application_config.fidl", 17 "fidl/cast/application_context.fidl", 18 "fidl/cast/application_controller.fidl", 19 "fidl/cast/url_request_rewriter.fidl", 20 ] 21 22 public_deps = [ 23 "//third_party/fuchsia-sdk/sdk/fidl/fuchsia.ui.gfx", 24 "//third_party/fuchsia-sdk/sdk/fidl/fuchsia.web", 25 ] 26} 27 28# Used by the top-level "gn_all" target to discover Fuchsia build targets. 29group("gn_all") { 30 testonly = true 31 deps = [ 32 "base:cr_fuchsia_base_unittests", 33 "cast_streaming:receiver", 34 "engine:web_engine", 35 "engine:web_engine_browsertests", 36 "engine:web_engine_shell", 37 "engine:web_engine_unittests", 38 "http:http_service_tests", 39 "mojom:fuchsia_mojo_unittests", 40 "runners:cast_runner", 41 "runners:cast_runner_browsertests", 42 "runners:cast_runner_integration_tests", 43 "runners:cast_runner_unittests", 44 "runners:web_runner", 45 "//chromecast/bindings:bindings_manager_fuchsia", 46 ] 47 48 if (is_official_build) { 49 deps += [ "cipd" ] 50 } 51} 52