diff options
author | Jordan Bayles <jophba@chromium.org> | 2019-05-02 17:17:26 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-05-08 21:59:01 +0000 |
commit | a80724b1457abf3ffb39656cf407903c40f77681 (patch) | |
tree | d91b05f61689daa9d53c2d899451d86934ab3d99 /build | |
parent | 852f70c3a23f2a79173296ef66a63e401ff8b02d (diff) | |
download | openscreen-a80724b1457abf3ffb39656cf407903c40f77681.tar.gz |
Fix compilation in Chromium
Currently, due to some minor bugs in the includes of the streaming
cast BUILD.gn, and the platform/chromium code, building in Chromium
doesn't work. We have some additional patches to land before it will
be functional completely, but this unblocks some development.
Change-Id: I98bc9e8d9785d20efc8ed88eb19c4bf09dfe3ef4
Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1593946
Reviewed-by: mark a. foltz <mfoltz@chromium.org>
Commit-Queue: Jordan Bayles <jophba@chromium.org>
Diffstat (limited to 'build')
-rw-r--r-- | build/BUILD.gn | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/build/BUILD.gn b/build/BUILD.gn index 82d9e294..3a3fae17 100644 --- a/build/BUILD.gn +++ b/build/BUILD.gn @@ -2,6 +2,16 @@ # 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") + config("default_include_dirs") { include_dirs = [ "//" ] } + +# Embedders like Chromium skip all of our configs, which can break +# include resolution, among other things +config("allow_build_from_embedder") { + if (build_with_chromium) { + include_dirs = [ "//third_party/openscreen/src" ] + } +} |