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 /tools/cddl/sema.cc | |
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 'tools/cddl/sema.cc')
-rw-r--r-- | tools/cddl/sema.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/cddl/sema.cc b/tools/cddl/sema.cc index 1b938482..61632c1f 100644 --- a/tools/cddl/sema.cc +++ b/tools/cddl/sema.cc @@ -14,9 +14,9 @@ #include <string> #include <vector> -#include "third_party/abseil/src/absl/strings/numbers.h" -#include "third_party/abseil/src/absl/strings/string_view.h" -#include "third_party/abseil/src/absl/types/optional.h" +#include "absl/strings/numbers.h" +#include "absl/strings/string_view.h" +#include "absl/types/optional.h" CddlType::CddlType() : map(nullptr), op(CddlType::Op::kNone), constraint_type(nullptr) {} |