diff options
-rw-r--r-- | cast/standalone_sender/BUILD.gn | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/cast/standalone_sender/BUILD.gn b/cast/standalone_sender/BUILD.gn index 0143163a..a59d2449 100644 --- a/cast/standalone_sender/BUILD.gn +++ b/cast/standalone_sender/BUILD.gn @@ -20,7 +20,7 @@ if (!build_with_chromium) { } } - source_set("standalone_sender") { + executable("cast_sender") { deps = [ "../../platform", "../../third_party/jsoncpp", @@ -28,10 +28,11 @@ if (!build_with_chromium) { "../common:public", "../common/channel/proto:channel_proto", "../sender:channel", + "../streaming:common", "../streaming:sender", ] - sources = [] + sources = [ "main.cc" ] include_dirs = [] lib_dirs = [] libs = [] @@ -58,22 +59,11 @@ if (!build_with_chromium) { libs += ffmpeg_libs + libopus_libs + libvpx_libs } + configs += [ "../common:certificate_config" ] + public_configs = [ "../../build:openscreen_include_dirs", ":standalone_external_libs", ] } - - executable("cast_sender") { - sources = [ "main.cc" ] - - configs += [ "../common:certificate_config" ] - - deps = [ - ":standalone_sender", - "../../third_party/jsoncpp", - "../common/channel/proto:channel_proto", - "../streaming:common", - ] - } } |