btolsch | 762c4da | 2018-03-19 12:27:00 -0700 | [diff] [blame] | 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 | |
btolsch | 2f2e7fa | 2019-03-29 16:48:49 -0700 | [diff] [blame] | 5 | import("//build_overrides/build.gni") |
mark a. foltz | 115345f | 2019-05-02 14:17:16 -0700 | [diff] [blame] | 6 | import("osp/build/config/services.gni") |
btolsch | 2f2e7fa | 2019-03-29 16:48:49 -0700 | [diff] [blame] | 7 | |
mark a. foltz | c28ca40 | 2018-07-19 16:11:32 -0700 | [diff] [blame] | 8 | # All compilable non-test targets in the repository (both executables and |
| 9 | # source_sets). |
btolsch | 9d6900c | 2018-05-30 18:22:53 -0700 | [diff] [blame] | 10 | group("gn_all") { |
mark a. foltz | c28ca40 | 2018-07-19 16:11:32 -0700 | [diff] [blame] | 11 | deps = [ |
mark a. foltz | 3fe4617 | 2019-09-18 05:50:30 -0700 | [diff] [blame] | 12 | "cast/common/certificate", |
| 13 | "cast/sender/channel", |
Ryan Keane | bd5d0f0 | 2019-10-21 16:46:56 -0700 | [diff] [blame] | 14 | "discovery:dnssd", |
mark a. foltz | c2291e5 | 2019-11-05 15:59:33 -0800 | [diff] [blame^] | 15 | "discovery:mdns", |
mark a. foltz | 115345f | 2019-05-02 14:17:16 -0700 | [diff] [blame] | 16 | "osp", |
| 17 | "osp/msgs", |
btolsch | 2f2e7fa | 2019-03-29 16:48:49 -0700 | [diff] [blame] | 18 | "platform", |
mark a. foltz | 3fe4617 | 2019-09-18 05:50:30 -0700 | [diff] [blame] | 19 | "platform:default_logger", |
| 20 | "streaming/cast:receiver", |
| 21 | "streaming/cast:sender", |
btolsch | 2f2e7fa | 2019-03-29 16:48:49 -0700 | [diff] [blame] | 22 | "third_party/abseil", |
mark a. foltz | 3fe4617 | 2019-09-18 05:50:30 -0700 | [diff] [blame] | 23 | "third_party/boringssl", |
| 24 | "third_party/jsoncpp", |
btolsch | 22fa184 | 2019-07-16 21:40:28 -0700 | [diff] [blame] | 25 | "third_party/protobuf:protoc", |
btolsch | 2f2e7fa | 2019-03-29 16:48:49 -0700 | [diff] [blame] | 26 | "third_party/tinycbor", |
btolsch | 22fa184 | 2019-07-16 21:40:28 -0700 | [diff] [blame] | 27 | "third_party/zlib", |
btolsch | 2f2e7fa | 2019-03-29 16:48:49 -0700 | [diff] [blame] | 28 | "tools/cddl", |
Jordan Bayles | a26582d | 2019-07-10 14:44:58 -0700 | [diff] [blame] | 29 | "util", |
mark a. foltz | c28ca40 | 2018-07-19 16:11:32 -0700 | [diff] [blame] | 30 | ] |
btolsch | 2f2e7fa | 2019-03-29 16:48:49 -0700 | [diff] [blame] | 31 | |
| 32 | if (use_mdns_responder) { |
mark a. foltz | 3fe4617 | 2019-09-18 05:50:30 -0700 | [diff] [blame] | 33 | deps += [ "osp/impl/discovery/mdns:mdns_demo" ] |
btolsch | 2f2e7fa | 2019-03-29 16:48:49 -0700 | [diff] [blame] | 34 | } |
| 35 | |
| 36 | if (use_chromium_quic) { |
| 37 | deps += [ |
| 38 | "third_party/chromium_quic", |
mark a. foltz | 3fe4617 | 2019-09-18 05:50:30 -0700 | [diff] [blame] | 39 | "third_party/chromium_quic:quic_demo_client", |
| 40 | "third_party/chromium_quic:quic_demo_server", |
btolsch | 2f2e7fa | 2019-03-29 16:48:49 -0700 | [diff] [blame] | 41 | ] |
| 42 | } |
mark a. foltz | 3fe4617 | 2019-09-18 05:50:30 -0700 | [diff] [blame] | 43 | |
| 44 | if (use_chromium_quic && use_mdns_responder) { |
| 45 | deps += [ "osp:osp_demo" ] |
| 46 | } |
mark a. foltz | c28ca40 | 2018-07-19 16:11:32 -0700 | [diff] [blame] | 47 | } |
btolsch | b4893e6 | 2018-05-28 22:03:07 -0700 | [diff] [blame] | 48 | |
btolsch | 2f2e7fa | 2019-03-29 16:48:49 -0700 | [diff] [blame] | 49 | executable("openscreen_unittests") { |
mark a. foltz | c28ca40 | 2018-07-19 16:11:32 -0700 | [diff] [blame] | 50 | testonly = true |
btolsch | b4893e6 | 2018-05-28 22:03:07 -0700 | [diff] [blame] | 51 | deps = [ |
btolsch | aaad6a5 | 2019-08-05 14:05:39 -0700 | [diff] [blame] | 52 | "cast/common/certificate:unittests", |
btolsch | 9dd4cf8 | 2019-10-01 11:39:33 -0700 | [diff] [blame] | 53 | "cast/common/channel:unittests", |
btolsch | 06a8659 | 2019-09-10 10:42:56 -0700 | [diff] [blame] | 54 | "cast/sender/channel:unittests", |
Ryan Keane | bd5d0f0 | 2019-10-21 16:46:56 -0700 | [diff] [blame] | 55 | "discovery:unittests", |
mark a. foltz | 3fe4617 | 2019-09-18 05:50:30 -0700 | [diff] [blame] | 56 | "osp:unittests", |
| 57 | "osp/impl/discovery/mdns:unittests", |
mark a. foltz | 0895ee2 | 2019-09-19 06:40:14 -0700 | [diff] [blame] | 58 | "osp/impl/testing:unittests", |
mark a. foltz | 115345f | 2019-05-02 14:17:16 -0700 | [diff] [blame] | 59 | "osp/msgs:unittests", |
mark a. foltz | 3fe4617 | 2019-09-18 05:50:30 -0700 | [diff] [blame] | 60 | "platform:unittests", |
| 61 | "streaming/cast:unittests", |
btolsch | 2f2e7fa | 2019-03-29 16:48:49 -0700 | [diff] [blame] | 62 | "third_party/abseil", |
btolsch | 4666ed2 | 2019-04-25 15:58:07 -0700 | [diff] [blame] | 63 | "third_party/googletest:gtest_main", |
mark a. foltz | 3fe4617 | 2019-09-18 05:50:30 -0700 | [diff] [blame] | 64 | "util:unittests", |
btolsch | 762c4da | 2018-03-19 12:27:00 -0700 | [diff] [blame] | 65 | ] |
| 66 | } |