diff options
author | btolsch <btolsch@chromium.org> | 2019-03-29 16:48:49 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-03-29 23:54:46 +0000 |
commit | 2f2e7fa4e9e4fc1e0a95ee632171d49c30d51dba (patch) | |
tree | fc1e91e268efffe6ba903b1b3584a77031f86a04 /build | |
parent | 8774ef2c7eaa31e1fec2ee7faef529e7e1cc7b01 (diff) | |
download | openscreen-2f2e7fa4e9e4fc1e0a95ee632171d49c30d51dba.tar.gz |
Add initial chromium compile support
This change updates various BUILD.gn files to work in both standalone
builds and Chromium builds. There are several main changes that have to
take place:
1. Change abseil include paths so we can use any abseil location.
2. Change logging macros to use Chromium's //base/logging.h.
3. Separate out files with the GN variable build_with_chromium.
4. Add a new config to each target to maintain our include structure
and change over the logging macros.
Change-Id: I066698cd07b2315842c700b5adf01bdc656db9be
Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1534469
Commit-Queue: Brandon Tolsch <btolsch@chromium.org>
Reviewed-by: Peter Thatcher <pthatcher@google.com>
Reviewed-by: Jordan Bayles <jophba@chromium.org>
Reviewed-by: Yuri Wiitala <miu@chromium.org>
Diffstat (limited to 'build')
-rw-r--r-- | build/config/services.gni | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/build/config/services.gni b/build/config/services.gni new file mode 100644 index 00000000..1d3d3466 --- /dev/null +++ b/build/config/services.gni @@ -0,0 +1,13 @@ +# Copyright 2019 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +import("//build_overrides/build.gni") + +use_chromium_quic = true +use_mdns_responder = true + +if (build_with_chromium) { + use_chromium_quic = false + use_mdns_responder = false +} |