blob: 76dd3efc3be1240e28009875fb3512d036a1ed4e [file] [log] [blame]
btolsch762c4da2018-03-19 12:27:00 -07001# 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
btolsch2f2e7fa2019-03-29 16:48:49 -07005import("//build_overrides/build.gni")
mark a. foltz115345f2019-05-02 14:17:16 -07006import("osp/build/config/services.gni")
btolsch2f2e7fa2019-03-29 16:48:49 -07007
mark a. foltzc28ca402018-07-19 16:11:32 -07008# All compilable non-test targets in the repository (both executables and
9# source_sets).
btolsch9d6900c2018-05-30 18:22:53 -070010group("gn_all") {
mark a. foltzc28ca402018-07-19 16:11:32 -070011 deps = [
mark a. foltz3fe46172019-09-18 05:50:30 -070012 "cast/common/certificate",
13 "cast/sender/channel",
Ryan Keanebd5d0f02019-10-21 16:46:56 -070014 "discovery:dnssd",
mark a. foltzc2291e52019-11-05 15:59:33 -080015 "discovery:mdns",
mark a. foltz115345f2019-05-02 14:17:16 -070016 "osp",
17 "osp/msgs",
btolsch2f2e7fa2019-03-29 16:48:49 -070018 "platform",
mark a. foltz3fe46172019-09-18 05:50:30 -070019 "platform:default_logger",
20 "streaming/cast:receiver",
21 "streaming/cast:sender",
btolsch2f2e7fa2019-03-29 16:48:49 -070022 "third_party/abseil",
mark a. foltz3fe46172019-09-18 05:50:30 -070023 "third_party/boringssl",
24 "third_party/jsoncpp",
btolsch22fa1842019-07-16 21:40:28 -070025 "third_party/protobuf:protoc",
btolsch2f2e7fa2019-03-29 16:48:49 -070026 "third_party/tinycbor",
btolsch22fa1842019-07-16 21:40:28 -070027 "third_party/zlib",
btolsch2f2e7fa2019-03-29 16:48:49 -070028 "tools/cddl",
Jordan Baylesa26582d2019-07-10 14:44:58 -070029 "util",
mark a. foltzc28ca402018-07-19 16:11:32 -070030 ]
btolsch2f2e7fa2019-03-29 16:48:49 -070031
32 if (use_mdns_responder) {
mark a. foltz3fe46172019-09-18 05:50:30 -070033 deps += [ "osp/impl/discovery/mdns:mdns_demo" ]
btolsch2f2e7fa2019-03-29 16:48:49 -070034 }
35
36 if (use_chromium_quic) {
37 deps += [
38 "third_party/chromium_quic",
mark a. foltz3fe46172019-09-18 05:50:30 -070039 "third_party/chromium_quic:quic_demo_client",
40 "third_party/chromium_quic:quic_demo_server",
btolsch2f2e7fa2019-03-29 16:48:49 -070041 ]
42 }
mark a. foltz3fe46172019-09-18 05:50:30 -070043
44 if (use_chromium_quic && use_mdns_responder) {
45 deps += [ "osp:osp_demo" ]
46 }
mark a. foltzc28ca402018-07-19 16:11:32 -070047}
btolschb4893e62018-05-28 22:03:07 -070048
btolsch2f2e7fa2019-03-29 16:48:49 -070049executable("openscreen_unittests") {
mark a. foltzc28ca402018-07-19 16:11:32 -070050 testonly = true
btolschb4893e62018-05-28 22:03:07 -070051 deps = [
btolschaaad6a52019-08-05 14:05:39 -070052 "cast/common/certificate:unittests",
btolsch9dd4cf82019-10-01 11:39:33 -070053 "cast/common/channel:unittests",
btolsch06a86592019-09-10 10:42:56 -070054 "cast/sender/channel:unittests",
Ryan Keanebd5d0f02019-10-21 16:46:56 -070055 "discovery:unittests",
mark a. foltz3fe46172019-09-18 05:50:30 -070056 "osp:unittests",
57 "osp/impl/discovery/mdns:unittests",
mark a. foltz0895ee22019-09-19 06:40:14 -070058 "osp/impl/testing:unittests",
mark a. foltz115345f2019-05-02 14:17:16 -070059 "osp/msgs:unittests",
mark a. foltz3fe46172019-09-18 05:50:30 -070060 "platform:unittests",
61 "streaming/cast:unittests",
btolsch2f2e7fa2019-03-29 16:48:49 -070062 "third_party/abseil",
btolsch4666ed22019-04-25 15:58:07 -070063 "third_party/googletest:gtest_main",
mark a. foltz3fe46172019-09-18 05:50:30 -070064 "util:unittests",
btolsch762c4da2018-03-19 12:27:00 -070065 ]
66}