aboutsummaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authormark a. foltz <mfoltz@chromium.org>2019-05-02 14:17:16 -0700
committerCommit Bot <commit-bot@chromium.org>2019-05-02 21:23:43 +0000
commit115345fc83735bde2470d9cd33b9aca92c4b9819 (patch)
tree96170caa36412ee0ad15220e4eb1f9a82c0d5e83 /BUILD.gn
parent513b5595a8c07d9814db163aaf869d9404413cda (diff)
downloadopenscreen-115345fc83735bde2470d9cd33b9aca92c4b9819.tar.gz
[Open Screen Protocol] Move OSP code to osp/
Also converts some relative target references to absolute references. Still TODO: - Add/update osp/ DEPS - Move demo build rule - Move cddl codegen to osp/tools - Move third_party code around Change-Id: Ifb385f9d45ef7fe6e9c56036d95f75abef6c95ea Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1592041 Commit-Queue: mark a. foltz <mfoltz@chromium.org> Reviewed-by: Max Yakimakha <yakimakha@google.com>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn24
1 files changed, 12 insertions, 12 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 5a9d5a2c..aa17de35 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -3,7 +3,7 @@
# found in the LICENSE file.
import("//build_overrides/build.gni")
-import("build/config/services.gni")
+import("osp/build/config/services.gni")
config("root_config_overrides") {
if (build_with_chromium) {
@@ -15,8 +15,8 @@ config("root_config_overrides") {
# source_sets).
group("gn_all") {
deps = [
- "api",
- "msgs",
+ "osp",
+ "osp/msgs",
"osp_base",
"platform",
"third_party/abseil",
@@ -25,7 +25,7 @@ group("gn_all") {
]
if (use_mdns_responder) {
- deps += [ "discovery/mdns:embedder_demo" ]
+ deps += [ "osp/impl/discovery/mdns:embedder_demo" ]
}
if (use_chromium_quic) {
@@ -40,9 +40,9 @@ group("gn_all") {
executable("openscreen_unittests") {
testonly = true
deps = [
- "api:api_unittests",
- "discovery/mdns:mdns_unittests",
- "msgs:unittests",
+ "osp:osp_unittests",
+ "osp/impl/discovery/mdns:mdns_unittests",
+ "osp/msgs:unittests",
"osp_base:osp_base_unittests",
"platform:platform_unittests",
"streaming/cast:cast_unittests",
@@ -54,14 +54,14 @@ executable("openscreen_unittests") {
if (use_chromium_quic && use_mdns_responder) {
executable("demo") {
sources = [
- "demo/demo.cc",
+ "osp/demo/demo.cc",
]
deps = [
- "api:api_with_chromium_quic",
- "discovery/mdns",
- "osp_base",
- "platform",
+ "//osp:osp_with_chromium_quic",
+ "//osp/impl/discovery/mdns",
+ "//osp_base",
+ "//platform",
]
}
}