fixup! Upload upstream chromium 85.0.4183.93
[platform/framework/web/chromium-efl.git] / fuchsia / BUILD.gn
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
5 assert(is_fuchsia)
6
7 import("//third_party/fuchsia-sdk/sdk/build/fidl_library.gni")
8
9 fidl_library("cast_fidl") {
10   library_name = "chromium.cast"
11
12   sources = [
13     "fidl/cast/api_bindings.fidl",
14     "fidl/cast/application_config.fidl",
15     "fidl/cast/application_context.fidl",
16     "fidl/cast/application_controller.fidl",
17     "fidl/cast/cors_exempt_headers.fidl",
18     "fidl/cast/url_request_rewriter.fidl",
19   ]
20
21   public_deps = [
22     "//third_party/fuchsia-sdk/sdk/fidl/fuchsia.media.sessions2",
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.
29 group("gn_all") {
30   testonly = true
31   deps = [
32     "base:cr_fuchsia_base_unittests",
33     "engine:web_engine",
34     "engine:web_engine_browsertests",
35     "engine:web_engine_shell",
36     "engine:web_engine_unittests",
37     "http:http_service_tests",
38     "mojom:fuchsia_mojo_unittests",
39     "runners:cast_runner",
40     "runners:cast_runner_browsertests",
41     "runners:cast_runner_integration_tests",
42     "runners:cast_runner_unittests",
43     "runners:web_runner",
44     "//chromecast/bindings:bindings_manager_fuchsia",
45   ]
46
47   if (is_official_build) {
48     deps += [ "cipd" ]
49   }
50 }