summaryrefslogtreecommitdiff
path: root/chromium/fuchsia/BUILD.gn
blob: e031712428ab1f9c8d9163924e02cdb420b54915 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Copyright 2018 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

assert(is_fuchsia)

import("//third_party/fuchsia-sdk/sdk/build/fidl_library.gni")

fidl_library("cast_fidl") {
  library_name = "chromium.cast"

  sources = [
    "fidl/cast/api_bindings.fidl",
    "fidl/cast/application_config.fidl",
    "fidl/cast/application_context.fidl",
    "fidl/cast/application_controller.fidl",
    "fidl/cast/cors_exempt_headers.fidl",
    "fidl/cast/data_reset.fidl",
    "fidl/cast/url_request_rewriter.fidl",
  ]

  public_deps = [
    "//third_party/fuchsia-sdk/sdk/fidl/fuchsia.media.sessions2",
    "//third_party/fuchsia-sdk/sdk/fidl/fuchsia.ui.gfx",
    "//third_party/fuchsia-sdk/sdk/fidl/fuchsia.web",
  ]
}

# Used by the top-level "gn_all" target to discover Fuchsia build targets.
group("gn_all") {
  testonly = true
  deps = [
    "base:cr_fuchsia_base_unittests",
    "engine:web_engine",
    "engine:web_engine_browsertests",
    "engine:web_engine_shell",
    "engine:web_engine_unittests",
    "http:http_service_tests",
    "mojom:fuchsia_mojo_unittests",
    "runners:cast_runner",
    "runners:cast_runner_browsertests",
    "runners:cast_runner_integration_tests",
    "runners:cast_runner_unittests",
    "runners:web_runner",
    "//chromecast/bindings:bindings_manager_fuchsia",
  ]

  if (is_official_build) {
    deps += [ "cipd" ]
  }
}