aboutsummaryrefslogtreecommitdiff
path: root/third_party
AgeCommit message (Collapse)Author
2021-04-01Upgrade openscreen to 207f3b2b5814bbbe2530b3d0f8fb4da1665a02ceandroid-s-beta-2android-s-beta-1Elliott Hughes
Test: make Change-Id: I82665b4db5d30e87c87582b483f1404a5fcabe7e
2021-03-04Update BoringSSLDavid Benjamin
Open Screen is currently reaching into and even mutating BoringSSL's private X509 structures. This will break in the future, and mutating the private structure is *especially* unsupported and already broken. Before I can upload CLs to fix those, I need to update BoringSSL. This updates to the revision currently used in Chromium. Change-Id: If9260ca69a407c3e191b3c2178f7f85984cadda5 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2737064 Reviewed-by: Brandon Tolsch <btolsch@chromium.org> Commit-Queue: Brandon Tolsch <btolsch@chromium.org>
2021-02-12[LSC] Add LOCAL_LICENSE_KINDS to external/openscreenandroid-s-preview-1Bob Badour
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD SPDX-license-identifier-ISC SPDX-license-identifier-MIT SPDX-license-identifier-NCSA SPDX-license-identifier-OpenSSL SPDX-license-identifier-Zlib legacy_unencumbered to: Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD legacy_unencumbered to: third_party/abseil/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I793d059d1592fc3242590ec7e5f5d9d4a5c48a6f
2021-01-22Android: Add Android.bp files to compile openscreen for host.Joshua Duong
This only compiles the openscreen discovery code, which does not rely on boringssl/jsoncpp. The library uses a local copy of abseil. Test: mmm external/openscreen Change-Id: Idf8abbc00144f251677c922c4e4a6c517b9b2276
2021-01-22Android: add local copy of abseil-cpp.Joshua Duong
Checkout @ e19260fd7dbef881492fd73891e0be5bd4a09b95. Change-Id: I19ee86beaa6323a2cf3727d9075052424868cdfa
2020-12-10Refactor session message sendingJordan Bayles
This patch refactors session message sending to include multiple new message types, such as RPC and GET_STATUS. Integration tests are included. Bug: b/170756458, b/174188662 Change-Id: I8b5de8a668171e0ce7cb3e74651d207aa7911c24 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2506651 Commit-Queue: Jordan Bayles <jophba@chromium.org> Reviewed-by: Yuri Wiitala <miu@chromium.org>
2020-12-03Add JSON schema validation (using valijson)Jordan Bayles
This patch adds a dependency on the valijson library, and new JSON validation methods in util that use it. Bug=b/174759086 Change-Id: I3607a95dcefb3efff103cc3b5c7c14e8ee2b9739 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2527747 Reviewed-by: mark a. foltz <mfoltz@chromium.org> Reviewed-by: Jordan Bayles <jophba@chromium.org>
2020-12-01Add LICENSE file checkingJordan Bayles
This patch adds license file checking in Open Screen, by adding a new licenses.py that iterates through third_party dependencies and returns a list of licensing errors. This runs as part of PRESUBMIT. This patch also includes README.chromium and LICENSE fixes for third_party dependencies. Finally, as part of refactoring I fixed the DEPS checker--before this patch it fails to load modules so never runs on pre-submission. Bug: b/173625891 Change-Id: I417e61f878dab809cf959d69480be749f9229128 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2547807 Reviewed-by: Jordan Bayles <jophba@chromium.org> Reviewed-by: mark a. foltz <mfoltz@chromium.org>
2020-11-25Roll DEPS to latest versionsJordan Bayles
This patch rolls a lot of third party DEPS to latest, and includes updates to allow use with newer versions of GN and depot_tools. Change-Id: I3fc389cc9770eef9bb875ecd5a7fcaefad53dfad Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2552554 Reviewed-by: Brandon Tolsch <btolsch@chromium.org> Commit-Queue: Jordan Bayles <jophba@chromium.org>
2020-10-07build: Remove no-op calls to set_sources_assignment_filterSylvain Defresne
Chromiun no longer use set_sources_assignment_filter() anywhere in the build, so these are no longer needed. Bug: chromium:1018739 Change-Id: I87f9cdf9320778632b2bbc612c7da19058da980d Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2456590 Commit-Queue: Jordan Bayles <jophba@chromium.org> Reviewed-by: Jordan Bayles <jophba@chromium.org>
2020-09-26Roll JsonCpp dependencyJordan Bayles
This patch rolls JsonCpp to be updated to latest. Change-Id: I13bb96535a4bebb81cbc55d7d6c9d68c8863943e Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2433088 Reviewed-by: Jordan Bayles <jophba@chromium.org> Commit-Queue: Jordan Bayles <jophba@chromium.org>
2020-09-25Cleanup Receiver, ReceiverSession APIsJordan Bayles
This patch does some cleanup to the Receiver and ReceiverSession APIs, including: 1. Adding SessionConfig as a property on Receiver. 2. Change ConfiguredReceivers to behave more like ConfiguredSenders 3. Removes abseil dependencies 4. Cleans up AudioCodec, VideoCodec usages 5. Replaces AudioStream, VideoStream usage with capture options, and renames capture options to capture configs. Bug: b/168651087, b/166640702 Change-Id: I4cd53a0681fd9756cd0a7556732b2991a0decb63 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2424641 Commit-Queue: Jordan Bayles <jophba@chromium.org> Reviewed-by: Jordan Bayles <jophba@chromium.org> Reviewed-by: Yuri Wiitala <miu@chromium.org> Reviewed-by: mark a. foltz <mfoltz@chromium.org>
2020-09-25[Hotfix] Fix Mac OSX buildJordan Bayles
Disable OSP build targets to fix the bots and local build on Mac OS X. This also includes a fix to Abseil, which is breaking local build (at least on my Mac) on master. TBR=btolsch@chromium.org Change-Id: I0f781454baac250c66356569a884b2430885c9ed Bug: 169447969 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2432077 Reviewed-by: Jordan Bayles <jophba@chromium.org> Reviewed-by: Brandon Tolsch <btolsch@chromium.org>
2020-09-22Add note about Abseil StrFormatJordan Bayles
Currently, we don't have StrFormat in the code base due to binary size concerns (it adds ~350kB to the openscreen_unittests binary, and presumably will add similar amounts when our library is linked in projects that don't use Abseil). This patch removes the str_format.h header from our Abseil source set, as well as adds a comment to ensure that this exclusion is continued in the future. Change-Id: I1a7055d64f1e3ec995adc970cf6d74ea6850b1d4 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2422366 Reviewed-by: Brandon Tolsch <btolsch@chromium.org> Commit-Queue: Jordan Bayles <jophba@chromium.org>
2020-06-10Make OpenScreen depend on the Abseil component.Mirko Bonadei
The //third_party/abseil-cpp:absl target is currently a group that depends on all the targets needed by OpenScreen in Chromium. It will be switched to a component starting from https://chromium-review.googlesource.com/c/chromium/src/+/2174434. Bug: 1046390 Change-Id: I48725422cf3ccf8b6270e6542573c29a217a7079 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2173190 Commit-Queue: mark a. foltz <mfoltz@chromium.org> Reviewed-by: mark a. foltz <mfoltz@chromium.org>
2020-06-10mDNS: Add Hashing TestsRyan Keane
Found while writing another patch that there were bugs in the existing hash functions. This CL should fix them and add UTs for validation Change-Id: Ifb0efd09a2bc3de7d206924e9755bafdfe887509 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2233371 Commit-Queue: Ryan Keane <rwkeane@google.com> Reviewed-by: Jordan Bayles <jophba@chromium.org>
2020-05-22Added support for libprotobuf-mutator.John Williams
The files added by this change are copied from Chromium with slight alterations to remove dependencies on Chromium build infrastructure. Change-Id: I95d96a02eaa542a8f278dbf46bd8a37a814c9c5a Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2212944 Reviewed-by: Brandon Tolsch <btolsch@chromium.org> Commit-Queue: Brandon Tolsch <btolsch@chromium.org>
2020-05-13Fix visibility linker warningJordan Bayles
Currently, since we are manually overriding visibility settings for abseil, after the recent introduction of the 128 bit headers we are now seeing a linker warning on Mac: ld: warning: direct access in function 'unsigned long std::__1::__str_rfind<char, unsigned long, std::__1::char_traits<char>, 18446744073709551615ul>(char const*, unsigned long, char const*, unsigned long, unsigned long)' from file 'obj/platform/base/base.ip_address.o' to global weak symbol 'std::__1::char_traits<char>::eq(char, char)' from file 'obj/third_party/abseil/src/absl/numeric/abseil.int128.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. This patch fixes that linker warning by not explicitly setting visibility. Change-Id: I28395f5ad6952d86a4710937de3d2eaa2577659f Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2196903 Reviewed-by: Ryan Keane <rwkeane@google.com> Commit-Queue: Jordan Bayles <jophba@chromium.org>
2020-05-08Update //third_party/ READMERyan Keane
Adds documentation for how to handle build failures caused by library upgrades and `gclient sync` usage. Change-Id: I66b0237c7dfe6c5e7670563af8d74b6a2b57cb88 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2190627 Reviewed-by: Jordan Bayles <jophba@chromium.org>
2020-05-06[Open Screen] Update DEPS for third_party/{protobuf,jsoncpp}mark a. foltz
This updates DEPS for two of our versioned third_party dependencies. Automated DEPS rolls for other dependencies will be done in separate patches. Bug: b/155688981 Change-Id: I777f19461269e3f0ced113ec8801646006d2da18 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2181649 Reviewed-by: Jordan Bayles <jophba@chromium.org> Commit-Queue: mark a. foltz <mfoltz@chromium.org>
2020-05-05[Open Screen] Roll third_party/abseil/src/ 20de2db74..cde2e2410 (80 commits)mark a. foltz
https://chromium.googlesource.com/external/github.com/abseil/abseil-cpp.git/+log/20de2db748ca..cde2e2410e58 $ git log 20de2db74..cde2e2410 --date=short --no-merges --format='%ad %ae %s' 2020-04-24 absl-team Export of internal Abseil changes 2020-04-23 zach Fix CMake Threads dependency issue 2020-04-22 absl-team Export of internal Abseil changes 2020-04-20 absl-team Export of internal Abseil changes 2020-04-21 rizsotto Use "-lrt" instead of the resolved find_library result when linking librt (#665) 2020-04-20 absl-team Export of internal Abseil changes 2020-04-17 absl-team Export of internal Abseil changes 2020-04-15 absl-team Export of internal Abseil changes 2020-04-14 absl-team Export of internal Abseil changes 2020-04-15 samolisov Use base_internal::AtomicHook instead of std::atomic (#661) 2020-04-15 sunpoet Fix ABSL_RANDOM_RANDEN_COPTS setting on FreeBSD (#664) 2020-04-10 absl-team Export of internal Abseil changes 2020-04-07 absl-team Export of internal Abseil changes 2020-04-06 absl-team Export of internal Abseil changes 2020-04-07 adi Add option to use an externally provided GoogleTest target (for usage of abseil as add_subdirectory target) (#647) 2020-04-03 absl-team Export of internal Abseil changes 2020-04-01 absl-team Export of internal Abseil changes 2020-03-31 absl-team Export of internal Abseil changes 2020-03-26 absl-team Export of internal Abseil changes 2020-03-26 contact bazel: Add missing load statements for cc_binary (#645) 2020-03-23 absl-team Export of internal Abseil changes 2020-03-20 absl-team Export of internal Abseil changes 2020-03-18 absl-team Export of internal Abseil changes 2020-03-16 absl-team Export of internal Abseil changes 2020-03-12 absl-team Export of internal Abseil changes 2020-03-12 62053234+i-do-cpp Fix CompressedTuple move constructor on MSVC (#637) 2020-03-10 absl-team Export of internal Abseil changes 2020-03-09 absl-team Export of internal Abseil changes 2020-03-09 samolisov Skip the .exe suffix in the helpshort filter on Windows (#629) 2020-03-09 aurighet UWP doesn't allow reading regkeys (#594) 2020-03-05 absl-team Export of internal Abseil changes 2020-03-05 absl-team Export of internal Abseil changes 2020-03-03 absl-team Export of internal Abseil changes 2020-03-03 aurighet BuildBreak: UWP apps can't call GetModuleHandle (#596) 2020-02-28 absl-team Export of internal Abseil changes 2020-02-25 60880393+kgotlinux Fix build on FreeBSD/powerpc (#616) 2020-02-25 absl-team Export of internal Abseil changes 2020-02-21 absl-team Export of internal Abseil changes 2020-02-20 raj.khem Add RISCV support to GetProgramCounter() (#621) 2020-02-20 absl-team Export of internal Abseil changes 2020-02-20 41809318+franksinankaya Add missing ABSL_HAVE_VDSO_SUPPORT conditional (#622) 2020-02-14 absl-team Export of internal Abseil changes 2020-02-13 absl-team Export of internal Abseil changes 2020-02-11 absl-team Export of internal Abseil changes 2020-02-10 absl-team Export of internal Abseil changes 2020-02-07 absl-team Export of internal Abseil changes 2020-02-06 absl-team Export of internal Abseil changes 2020-02-05 absl-team Export of internal Abseil changes 2020-02-04 absl-team Export of internal Abseil changes 2020-02-04 andre-nguyen Fix pointer format specifier in documentation (#614) 2020-01-31 absl-team Export of internal Abseil changes 2020-01-30 absl-team Export of internal Abseil changes 2020-01-28 absl-team Export of internal Abseil changes 2020-01-24 andre-nguyen fix: Add support for more ARM processors detection (#608) 2020-01-16 absl-team Export of internal Abseil changes 2020-01-13 nicholas Use https links. (#586) 2020-01-10 absl-team Export of internal Abseil changes 2020-01-09 absl-team Export of internal Abseil changes 2020-01-07 absl-team Export of internal Abseil changes 2020-01-06 absl-team Export of internal Abseil changes 2020-01-03 absl-team Export of internal Abseil changes 2019-12-19 absl-team Export of internal Abseil changes 2019-12-19 rye cmake: Fix x86_64 check on Windows for random copts (#518) 2019-12-18 absl-team Export of internal Abseil changes 2019-12-14 absl-team Export of internal Abseil changes 2019-12-12 absl-team Export of internal Abseil changes 2019-12-10 absl-team Export of internal Abseil changes 2019-12-06 absl-team Export of internal Abseil changes 2019-12-04 absl-team Export of internal Abseil changes 2019-12-02 absl-team Export of internal Abseil changes 2019-11-26 absl-team Export of internal Abseil changes 2019-11-25 absl-team Export of internal Abseil changes 2019-11-21 absl-team Export of internal Abseil changes 2019-11-20 absl-team Export of internal Abseil changes 2019-11-19 absl-team Export of internal Abseil changes 2019-11-18 absl-team Export of internal Abseil changes 2019-11-15 absl-team Export of internal Abseil changes 2019-11-13 absl-team Export of internal Abseil changes 2019-11-12 adr.ostrowski Fix Conan builds (#400) 2019-11-05 absl-team Export of internal Abseil changes Created with: roll-dep third_party/abseil/src R=jopbha@chromium.org Bug: b/155688981 Change-Id: I5924cfbfedff48e58517dc4754df6a110f85dd23 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2182850 Commit-Queue: Jordan Bayles <jophba@chromium.org> Reviewed-by: Jordan Bayles <jophba@chromium.org>
2020-04-30Update BoringSSL in sync with ChromeJordan Bayles
The current version of BoringSSL is over two years old, whereas Chrome is linked against a version from this year. This patch updates Open Screen to depend on the newer version of OpenSSL. Change-Id: Ib4107bc9780971c747fc91125b9acb7ffe1ec172 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2173700 Reviewed-by: Jordan Bayles <jophba@chromium.org> Reviewed-by: Brandon Tolsch <btolsch@chromium.org>
2020-04-08Fix gcc botbtolsch
This change makes some -Wno-* flags clang-only and adds some that are gcc-only because the gcc bot suddenly changed its mind about the flags it recognizes and the errors it emits. It also fixes signed integer wrapping undefined behavior in a bandwidth estimator test, which also seems to have been exposed by the gcc change. Change-Id: I777c9bf2e7e7f08f5f6ff479bbd927f378dc63a6 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2141653 Reviewed-by: Jordan Bayles <jophba@chromium.org> Commit-Queue: Jordan Bayles <jophba@chromium.org>
2020-04-07Add URL classbtolsch
This change adds a URL class which parses URLs into their individual components. Bug: openscreen:60 Change-Id: I17129dd9f3a5ad6a25279ce21288126a447e77e9 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2067998 Reviewed-by: Ryan Keane <rwkeane@google.com> Reviewed-by: Takumi Fujimoto <takumif@chromium.org> Commit-Queue: Brandon Tolsch <btolsch@chromium.org>
2020-02-21Add URL parsing supportbtolsch
This change introduces URL parsing by copying parsing functions in from Chromium, which were themselves previously ported from Mozilla. Bug: openscreen:60 Change-Id: Ic3631365a6bf03682f314dc309be160612720313 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2053046 Commit-Queue: Brandon Tolsch <btolsch@chromium.org> Reviewed-by: Ryan Keane <rwkeane@google.com> Reviewed-by: Takumi Fujimoto <takumif@chromium.org>
2020-01-24Remove a file only needed with an old Mac SDK.Avi Drissman
BUG=1044828 Change-Id: I3cb9a319c1c2a2bd390220565188f6e39f24bad1 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2017963 Commit-Queue: mark a. foltz <mfoltz@chromium.org> Reviewed-by: mark a. foltz <mfoltz@chromium.org>
2020-01-14Discovery: CastV2 <-> DnsSd ConversionsRyan Keane
Change-Id: Ic655cee9b9cfd6682df3b025914d90bf9bc93eb2 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1984897 Commit-Queue: Ryan Keane <rwkeane@google.com> Reviewed-by: mark a. foltz <mfoltz@chromium.org>
2020-01-14Integrate ReceiverSession into standalone receiverJordan Bayles
This patch integrates the ReceiverSession into the standalone_receiver/receiver demo. A dummy messageport implementation is included. Change-Id: I78040197730c14531c33a1a45685574762b5562a Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1985239 Commit-Queue: Jordan Bayles <jophba@chromium.org> Reviewed-by: mark a. foltz <mfoltz@chromium.org>
2020-01-10Use separate toolchains for cross-compilingbtolsch
This change makes cross-compiling targets use different toolchains, instead of only adding different compiler flags. This has the advantage that it's easier to have cross-toolchain dependencies like protobuf object files for the target architecture depending on the protoc compiler for the host architecture. This is also how Chromium manages toolchains. Bug: openscreen:18 Change-Id: If2547c8cfeec3142db34c2dfae2b93982d8472c5 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1989878 Commit-Queue: Brandon Tolsch <btolsch@chromium.org> Reviewed-by: Yuri Wiitala <miu@chromium.org> Reviewed-by: Jordan Bayles <jophba@chromium.org>
2020-01-10Update buildtools DEPS revision, add hooks; and fix GN libs prefix.Yuri Wiitala
Moves the buildtools dependency to the latest commit (8d2132841536523249669813b928e29144d487f9), and adds hooks for auto-downloading clang-format. Then, fixes a GN-internal change that broke the linker command line for specifying external libraries. Also, shucked the tools/install-build-tools.sh script, removing the unnecessary ninja download (it's in depot_tools now), and the clang-format download. The result of all this is that all developers will be using the correct versions of all development and build tools, and upgrades can easily be managed via changes to the DEPS file from here onwards. NOTE: Developers will want to run `rm -rf buildtools/ && gclient sync` to ensure they have a clean/consistent checkout with the correct tools/revisions. Bug: openscreen:95 Change-Id: I5028d9f97f11a62f0a10d3edf8f46631e72a6ae6 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1988936 Reviewed-by: mark a. foltz <mfoltz@chromium.org> Reviewed-by: Jordan Bayles <jophba@chromium.org> Reviewed-by: Yuri Wiitala <miu@chromium.org>
2019-12-23Reland "Replace namespace cast::something with openscreen::cast."mark a. foltz
This is a reland of 80ed3d779e3e38de94656bf59ff4b62534c797fe Original change's description: > Replace namespace cast::something with openscreen::cast. > > ...and fixed a few C++ style issues around use of rvals in files > touched. > > Bug: openscreen:90 > Change-Id: Ib14fb1c47dfafec1fefe0cad31bce764aae0272e > Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1959204 > Commit-Queue: Yuri Wiitala <miu@chromium.org> > Reviewed-by: Jordan Bayles <jophba@chromium.org> TBR=miu@chromium.org,jopbha@chromium.org Bug: openscreen:90 Change-Id: Ifa9afb75c4bb8ae939935cf97ea408f658f159bc Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1980853 Reviewed-by: mark a. foltz <mfoltz@chromium.org> Commit-Queue: mark a. foltz <mfoltz@chromium.org>
2019-12-21Enable cross compiling to ARMJordan Bayles
This patch adds support for cross compiling to ARM in Open Screen. Change-Id: I07e639adf94d15bd64d725df298dd486d2668e60 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1969746 Reviewed-by: mark a. foltz <mfoltz@chromium.org> Commit-Queue: Jordan Bayles <jophba@chromium.org>
2019-12-18Fix gmock build depbtolsch
This change makes gmock depend on gtest to be consistent with both Chromium and the upstream build. I hit this problem locally as linker errors if code _never_ ends up including gtest but include gmock since gmock does use gtest. We don't have any existing instances of this (including `gn check`) that I could find. Bug: None Change-Id: If8304d2c6c7d6657edde873e77b4ab88d9efb070 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1970502 Reviewed-by: Ryan Keane <rwkeane@google.com> Commit-Queue: Brandon Tolsch <btolsch@chromium.org>
2019-12-03Enable fuzzing outside of ChromeJordan Bayles
Currently, we have lots of fuzzing code that only builds inside Chromium, and apparently not even then until my recent unit tests patch. This patch updates Open Screen to have a fuzzer_test target that works similarly to Chrome's, enabling fuzzing tests. Change-Id: I53f276bafbf63f62c8c3dd094e64a94376e61ce1 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1948016 Reviewed-by: Yuri Wiitala <miu@chromium.org> Commit-Queue: Jordan Bayles <jophba@chromium.org>
2019-11-06Fix chrome build, add unit testing in ChromeJordan Bayles
This patch contains preparation for running Open Screen unit tests in Chrome, as well as successfully linking in the Chrome platform implementation for Open Screen's platform target. See the follow up patch here: https://chromium-review.googlesource.com/c/chromium/src/+/1880544 Change-Id: I32c1bd728a43c5dbe155bcaa11527ad275c6b871 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1887717 Commit-Queue: Jordan Bayles <jophba@chromium.org> Reviewed-by: Yuri Wiitala <miu@chromium.org>
2019-11-06Roll third_party/abseil/src/ 5eea0f713..20de2db74 (128 commits)mark a. foltz
https://chromium.googlesource.com/external/github.com/abseil/abseil-cpp.git/+log/5eea0f713c14..20de2db748ca $ git log 5eea0f713..20de2db74 --date=short --no-merges --format='%ad %ae %s' 2019-11-04 absl-team Export of internal Abseil changes 2019-10-31 absl-team Export of internal Abseil changes 2019-10-30 absl-team Export of internal Abseil changes 2019-10-31 owan.orisano docs: fix typo (#397) 2019-10-23 absl-team Export of internal Abseil changes 2019-10-22 absl-team Export of internal Abseil changes 2019-10-22 loorongjie Always enable proper symbolize implementation on Windows (#257) 2019-10-21 absl-team Export of internal Abseil changes 2019-10-18 absl-team Export of internal Abseil changes 2019-10-16 absl-team Export of internal Abseil changes 2019-10-15 absl-team Export of internal Abseil changes 2019-10-10 Joe.Sylve Fix ABSL_WAITER_MODE detection for mingw (#342) 2019-10-09 Joe.Sylve Fix ABSL_HAVE_ALARM check on mingw (#341) 2019-10-02 absl-team Export of internal Abseil changes 2019-10-01 absl-team Export of internal Abseil changes 2019-09-30 absl-team Export of internal Abseil changes 2019-09-30 absl-team Export of internal Abseil changes 2019-10-01 55860394+chosungmann Fix spelling errors (#384) 2019-09-25 absl-team Export of internal Abseil changes 2019-09-20 absl-team Export of internal Abseil changes 2019-09-19 absl-team Export of internal Abseil changes 2019-09-17 absl-team Export of internal Abseil changes 2019-09-11 absl-team Export of internal Abseil changes 2019-09-10 absl-team Export of internal Abseil changes 2019-09-09 absl-team Export of internal Abseil changes 2019-09-06 absl-team Export of internal Abseil changes 2019-09-05 absl-team Export of internal Abseil changes 2019-09-03 absl-team Export of internal Abseil changes 2019-09-03 absl-team Export of internal Abseil changes 2019-08-30 absl-team Export of internal Abseil changes 2019-08-27 absl-team Export of internal Abseil changes 2019-08-23 absl-team Export of internal Abseil changes 2019-08-23 pizzard supppress unused variable warning for gcc (#372) 2019-08-20 absl-team Export of internal Abseil changes 2019-08-20 absl-team Export of internal Abseil changes 2019-08-19 absl-team Export of internal Abseil changes 2019-08-16 absl-team Export of internal Abseil changes 2019-08-16 contact [bazel] Add fixes for --incompatible_load_cc_rules_from_bzl (#351) 2019-08-15 absl-team Export of internal Abseil changes 2019-08-13 absl-team Export of internal Abseil changes 2019-08-12 absl-team Export of internal Abseil changes 2019-08-09 absl-team Export of internal Abseil changes 2019-08-08 absl-team Export of internal Abseil changes 2019-08-07 absl-team Export of internal Abseil changes 2019-08-06 absl-team Export of internal Abseil changes 2019-08-06 absl-team Export of internal Abseil changes 2019-08-05 absl-team Export of internal Abseil changes 2019-07-30 absl-team Export of internal Abseil changes. -- 8f685654a7d04eb8a0cb82d31e44e391e906b609 by Derek Mauro <dmauro@google.com>: 2019-07-30 absl-team Export of internal Abseil changes. -- 788c948f698afe5998738cbb40b0629668640d73 by Derek Mauro <dmauro@google.com>: 2019-07-25 absl-team Export of internal Abseil changes. -- 1224e58a45e4d016b18f5a6cf5762ba33027017a by CJ Johnson <johnsoncj@google.com>: (...) 2019-05-22 absl-team Export of internal Abseil changes. -- 1edfe05ddddca43e7650b2d790df7c8498c0e588 by Abseil Team <absl-team@google.com>: 2019-05-20 absl-team Export of internal Abseil changes. -- b254aba40a65385deccd757480f8d7383f2f2f55 by CJ Johnson <johnsoncj@google.com>: 2019-05-17 absl-team Export of internal Abseil changes. -- cae9f0c87632d690ec3f471e181be247fe4fb025 by Abseil Team <absl-team@google.com>: 2019-05-16 absl-team Export of internal Abseil changes. -- 6fca451d74e509671f0996e15ea05008f73c9957 by Eric Fiselier <ericwf@google.com>: 2019-05-15 absl-team Export of internal Abseil changes. -- 6258612abc571fa7f51f34046b410c73486505fe by Derek Mauro <dmauro@google.com>: 2019-05-14 absl-team Export of internal Abseil changes. -- 22fceefcf070a0cf89bf1846bee16a9d36ad4161 by Derek Mauro <dmauro@google.com>: 2019-05-10 absl-team Export of internal Abseil changes. -- ab1a58c85a462884413ec0022dc1fff19ccb8602 by Abseil Team <absl-team@google.com>: 2019-05-08 absl-team Export of internal Abseil changes. -- 9fa04b5fb4b6aeb47226b9095b3bc36a53669c39 by Abseil Team <absl-team@google.com>: 2019-05-07 absl-team Export of internal Abseil changes. -- 78293ba4eb4981991ae7e6edd25eb9245fcd7515 by Andy Soffer <asoffer@google.com>: 2019-04-25 absl-team Export of internal Abseil changes. -- 997d2a8d12d9395046b0bdfc2f206a0b2fe2f1f9 by Abseil Team <absl-team@google.com>: 2019-04-24 absl-team Export of internal Abseil changes. -- bb92c768e2271ddbebc1b1eb7e16a7b7c86a6e1c by Abseil Team <absl-team@google.com>: 2019-04-23 absl-team Export of internal Abseil changes. -- 5a5dba4252e764e6737070bf0a31074bf23a3b41 by Abseil Team <absl-team@google.com>: 2019-04-16 absl-team Export of internal Abseil changes. -- babbb6421068af3831870fd5995444437ace6769 by Derek Mauro <dmauro@google.com>: 2019-04-12 absl-team Export of internal Abseil changes. -- 5755b40f6025f3ca126070fc68adb8fde9a7f01b by Abseil Team <absl-team@google.com>: 2019-04-11 absl-team Export of internal Abseil changes. -- 421902a6ea836e4e59bed86eed68ab9ed992295a by Shaindel Schwartz <shaindel@google.com>: 2019-04-09 absl-team Export of internal Abseil changes. -- 3f04cd3c25a99df91ff913977b8c5b343532db5d by Abseil Team <absl-team@google.com>: 2019-04-08 absl-team Export of internal Abseil changes. -- 7c43cf69f00a02d8ed1e669cad12105de667a5ec by Abseil Team <absl-team@google.com>: 2019-04-05 absl-team Export of internal Abseil changes. -- 4a7dc9bd72a50f493671ea3ae2a571462cb70fc4 by Jon Cohen <cohenjon@google.com>: 2019-04-04 absl-team Export of internal Abseil changes. -- bc89d3221e3927d08881d75eeee0e8db862300fa by Benjamin Barenblat <bbaren@google.com>: 2019-04-01 absl-team Export of internal Abseil changes. -- 855576faf9556573fd74c2874b290d8feb6565d5 by Gennadiy Rozental <rogeeff@google.com>: 2019-03-28 absl-team Export of internal Abseil changes. -- fcf9d3facb12451964ad1850073cbfb6f9739379 by CJ Johnson <johnsoncj@google.com>: 2019-03-27 absl-team Export of internal Abseil changes. -- f6c627ce4470a814adc377947b58346eef69a4c9 by Jon Cohen <cohenjon@google.com>: 2019-03-22 absl-team Export of internal Abseil changes. -- 8b7c3bc2fb69608e9b2389b1be0b0de840a4c59d by Derek Mauro <dmauro@google.com>: 2019-03-23 loorongjie [CMake] Set correct flags for clang-cl (#278) 2019-03-20 absl-team Export of internal Abseil changes. -- 61a5128b3b3db9db7df219b7ef737b78f7743e54 by Abseil Team <absl-team@google.com>: 2019-03-19 absl-team Export of internal Abseil changes. -- bdce7e57e9e886eff1114d0266781b443f7ec639 by Derek Mauro <dmauro@google.com>: 2019-03-15 chiumichel Adding linking of CoreFoundation to CMakeLists in absl/time as time_zone_lookup.cc includes CoreFoundation 2019-03-13 absl-team Export of internal Abseil changes. -- 89b5e681db1d4f0b039daebb86c49bda77c8931b by Tom Manshreck <shreck@google.com>: 2019-03-12 absl-team Export of internal Abseil changes. -- 00d42e3d5433aaf29c2ed293520b2ba178ae8bdb by Greg Falcon <gfalcon@google.com>: 2019-03-08 absl-team Export of internal Abseil changes. -- 5dc8d7504b7c11710b19365a6582c288c8992366 by Derek Mauro <dmauro@google.com>: 2019-03-08 girtsf Implement Span::first and Span::last from C++20 (#274) 2019-03-08 nik8470 Changed HTTP URLs to HTTPS where possible (#270) 2019-03-06 absl-team Export of internal Abseil changes. -- f9f068aa8a260dc576398e47b8e4540902e41358 by Derek Mauro <dmauro@google.com>: 2019-03-04 absl-team Export of internal Abseil changes. -- 425305bdac5c84a2b7b61d65aee90e4d9d1c29a0 by Abseil Team <absl-team@google.com>: 2019-02-28 absl-team Export of internal Abseil changes. -- 92e1bd6dc9e64163659028b640427d6d8573e41c by Abseil Team <absl-team@google.com>: 2019-02-26 absl-team Export of internal Abseil changes. -- 4501f16edb0939be6165df74c70a421d3a959aa5 by Jon Cohen <cohenjon@google.com>: 2019-02-25 absl-team Export of internal Abseil changes. -- e4e4a3460b64ba0571be217b04ec286bfac6b6bf by Tom Manshreck <shreck@google.com>: 2019-02-19 absl-team Export of internal Abseil changes. -- 3d20ce6cd6541579abecaba169d4b8716d511272 by Jon Cohen <cohenjon@google.com>: 2019-02-12 absl-team Export of internal Abseil changes. -- 0c2e865b4611eda0b43e64c177ac34540f059be2 by Mark Barolak <mbar@google.com>: 2019-02-07 absl-team Export of internal Abseil changes. -- 5da9755667df37e38ccaf6938c9f408e294110bb by Shaindel Schwartz <shaindel@google.com>: 2019-01-30 absl-team Export of internal Abseil changes. -- 2c12ae8d6cbb8cbeb3ff446393578dd0d6d0cf8c by Andy Getzendanner <durandal@google.com>: 2019-01-30 absl-team Export of internal Abseil changes. -- 6fdf24a197b964f9bacbebd0ceca305aef1654fc by Shaindel Schwartz <shaindel@google.com>: 2019-01-28 absl-team Export of internal Abseil changes. -- 8c420997e7a08b9e7e24afa32d6e37cb2bfa2c12 by Abseil Team <absl-team@google.com>: 2019-01-25 absl-team Export of internal Abseil changes. -- a9115ecdf91183528f677fbbd9294652ab68c35f by CJ Johnson <johnsoncj@google.com>: 2019-01-24 absl-team Export of internal Abseil changes. -- 5804cc13b413412988248835459b90cd15ec43d9 by Abseil Team <absl-team@google.com>: 2019-01-23 boris.staletic Fix GCC8 warnings 2019-01-22 uilianries #250 Fix library order for Conan package 2019-01-18 absl-team Export of internal Abseil changes. -- 461c1b6eb19490429db3bc6dd10ee32df9429cd7 by Samuel Benzaquen <sbenza@google.com>: 2019-01-17 absl-team Export of internal Abseil changes. -- b7d4f72ebb8a052cb2c6dfbfb628200eb64585c5 by CJ Johnson <johnsoncj@google.com>: 2019-01-15 absl-team Export of internal Abseil changes. -- 4a492de32dd1e02c5c3600bfdb36da7af7855210 by Samuel Benzaquen <sbenza@google.com>: Created with: roll-dep third_party/abseil/src TBR=jopbha@chromium.org Change-Id: I867267d8a94bf1602c4a72186661639b19d9f9e6 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1899552 Reviewed-by: mark a. foltz <mfoltz@chromium.org> Commit-Queue: mark a. foltz <mfoltz@chromium.org>
2019-11-05Roll third_party/protobuf/src/ 09745575a..d09d649ae (230 commits)mark a. foltz
https://chromium.googlesource.com/external/github.com/protocolbuffers/protobuf.git/+log/09745575a923..d09d649aea36 $ git log 09745575a..d09d649ae --date=short --no-merges --format='%ad %ae %s' 2019-10-11 jhaberman Ported names fix for Ruby to the release branch. 2019-10-23 rafikamal Update CHANGES.txt 2019-10-22 rafikamal Updated generated descriptors 2019-10-22 rafikamal Update protobuf version to 3.10.1 2019-08-14 obsidianminor Revert code generation changes from extensions feature PR 2019-10-11 obsidianminor Add length checks to ExtensionCollection 2019-10-02 rafikamal Update CHANGES.txt with changes since 3.10.0-RC1 2019-09-30 TeBoring Initialize well known type values (#6713) (#6714) 2019-09-24 TeBoring Fix incorrect leap day for Timestamp in php (#6696) 2019-09-24 jhaberman Fixed leap year handling by reworking upb_mktime() -> upb_timegm(). (#6695) 2019-09-20 dmaclach Remove OSReadLittle* due to alignment requirements (#6678) 2019-09-20 thomasvl [ObjC] Don't use unions and instead use memcpy for the type swaps. (#6672) 2019-09-16 TeBoring Add license (#6651) 2019-09-12 rafikamal Update protobuf version 2019-09-12 rafikamal Fix update_version.py, so that PROTOBUF_VERSION is always a 9 digit number. 2019-09-05 rafikamal Update protobuf version 2019-09-04 rafikamal Update protobuf version 2019-09-04 TeBoring Sync upb (#6614) 2019-09-03 rafikamal Update CHANGES.txt for version 3.10.0 2019-09-03 rafikamal Change update_version to update the generated code 2019-08-21 salamani.ibm adding protoc support for s390x 2019-08-30 acozzette Updated issue templates to remove question form (#6576) 2019-08-30 TeBoring Fix the issue for parsing zero length message (#6592) 2019-08-30 thomasvl Fix typo that snuck in with last commit. 2019-08-29 thomasvl Add an explicit test using secure coding for added safety. 2019-08-30 elharo Update version number 2019-08-30 wangqilintech fix no check for null pointer in encode_decode.c (#6578) 2019-08-29 TeBoring Fix issues for php map when parsing missing key/value (#6588) 2019-08-28 keithbsmiley bazel: Change zlib URL to GitHub 2019-08-28 jhaberman Fixed crash bug and moved initialization into init method. 2019-08-27 jieluo Add missing files under benchmarks/ to the dist (#6580) 2019-08-27 TeBoring Sync upb (#6577) 2019-08-26 thomasvl Fix enum writing. 2019-08-26 florian added manifest entries to set jigsaw module names 2019-08-23 TeBoring Test singular fields are encoded in canonical way (#6553) 2019-08-23 jhaberman Removed ByteCountInt64. This is a transitional typedef that should not be released. 2019-08-14 mheikal Add ovrride keyword for overriden functions 2019-08-14 mheikal clang-cl requires fully qualified name for friend class declarations 2019-08-15 mheikal Fix order of export and capability macros on WrappedMutex 2019-08-22 elharo Update versions to 3.9.1 2019-08-22 rafikamal Down integrate to GitHub 2019-08-22 TeBoring No need to have a separate ruby conformance test on Mac (#6555) 2019-08-22 jhaberman Fix for GC of Ruby map frames. (#6533) 2019-08-22 julio Add source code URI to the Ruby gemspec file (#6466) 2019-08-22 TeBoring Remove stale comment (#6552) 2019-08-21 jhaberman Re-add memset() that seemed redundant but is necessary in case of GC. 2019-08-21 jhaberman Removed commented-out code. 2019-08-21 jhaberman layout_init() optimization works! 2019-08-20 elharo Update to Truth 1.0 2019-08-20 jhaberman Fix for race in lazy initialization of handlers. (...) 2019-05-31 haon Add dependency to truth in test 2019-05-31 haon Include the new Java util files in Makefile.am 2019-05-30 haon Down integrate to GitHub 2019-05-29 thomasvl Use runtime_error vs just exiting for some issues. 2019-05-28 1131991+amitport avoid error when compiling with MSVC2010 2019-05-21 keithbsmiley Move tool out of inputs in bazel config 2019-05-24 akonradi Add extension number for protoc-gen-validate 2019-05-22 mike Remove Ruby to_hash methods 2019-05-21 haon Update generated files 2019-05-21 haon Down integrate to GitHub 2019-05-21 50762130+TechProofreader Update performance.md 2019-05-18 50762130+TechProofreader Update performance.md 2019-05-17 haon Down integrate to GitHub 2019-05-14 jhaberman Revert "Convert Google::Protobuf.deep_copy to pure Ruby" 2019-05-14 jhaberman Fixed typo: conformance_test_runner should be a binary, not library. 2019-05-14 lihaoyuan1996 Fix typo 'pythong' 2019-05-13 haon Make sure to return the updated line when modifying .pb.h file 2019-05-13 aaron.patterson Convert Google::Protobuf.deep_copy to pure Ruby 2019-05-13 haon Move CreateUnknownEnumValues to anonymous namespace 2019-05-13 haon Remove inline from generated_message_reflection 2019-05-13 haon Down integrate to GitHub 2019-05-13 jhaberman Added conformance tests to Bazel BUILD file (#6126) 2019-05-11 manavrion Fix compilation error with SDL check flag in Visual Studio 2019-04-30 snth Revert "protobuf.pc.in does not reflect CXXFLAGS" 2019-04-26 github Don't build io_win32 for Xbox One 2019-04-26 github Replaced unavailable include with struct definition for Xbox One 2019-05-06 perlun Fix typo 2019-05-08 haon Update instruction on how to use JavaLite runtime 2019-05-06 haon Update php/release.sh to be executable and create a new branch for the new version 2019-05-03 haon Update BUILD file to match the changes in cmake files for lite 2019-05-03 haon Down integrate to GitHub 2019-05-03 ObsidianMinor C# Proto2 feature : Extensions (#5350) 2019-05-03 smirnov.d.p.1997 should close protocolbuffers#6095 2019-04-23 github Added missing include to satisfy certain versions of clang 2019-05-02 maik.riechert make use of RDTSC optional as it may not be available 2019-05-01 haon Fix gulpfile to use gulp 4 API 2019-05-01 haon Upgrade gulp version 2019-04-30 haon Down integrate to GitHub 2019-04-29 haon Change update_version to update the generated codes too 2019-04-26 haon Remove unused files from lite's pom.xml 2019-04-25 haon Only replace SimpleItoa with StrCat 2019-04-25 haon Revert "Replaced all instances of Simple{IDF}toa with StrCat." 2019-04-24 45579440+haon4 Add a new conformance test for top level JSON null (#5966) 2019-04-23 haon Update the version for JavaLite in update_version script 2019-04-16 jhaberman Replaced all instances of Simple{IDF}toa with StrCat. 2019-03-12 andrei.shevtsov Fix scope resolution for Google namespace 2018-11-03 jhaberman Added visibility. 2018-11-03 jhaberman Added conformance tests to Bazel BUIDL file. 2018-08-14 laszlocsomor Delete vim scratch files. 2018-08-14 laszlocsomor Windows: expand path names on command line Created with: roll-dep third_party/protobuf/src Change-Id: I755453f7025e90f989cf0f8b891e99c6f5481fd2 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1899567 Commit-Queue: mark a. foltz <mfoltz@chromium.org> Reviewed-by: Jordan Bayles <jophba@chromium.org>
2019-11-05DNS-SD: More ConversionsRyan Keane
This CL makes the following changes: - Introduces a struct to wrap mDNS queries and hide the specifics from the DNS-SD layer - Adds methods to generate these query objects from Instance and Service Keys. - Organizes the conversions file :) Change-Id: I7622b4e5e2ac830d81513a91c02ab3409b6fb181 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1894125 Commit-Queue: Ryan Keane <rwkeane@google.com> Reviewed-by: mark a. foltz <mfoltz@chromium.org>
2019-10-21Format TODO URLs as TODO(crbug.com/openscreen/000)Takumi Fujimoto
Put crbug URLs in TODOs to make it easier to open the bug pages. Change-Id: Ibc8fce98a795d7e8c714627bf1ecd970a3865563 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1872176 Reviewed-by: Max Yakimakha <yakimakha@chromium.org> Commit-Queue: Takumi Fujimoto <takumif@chromium.org>
2019-10-14[Open Screen] Final round of gcc fixes.mark a. foltz
1. Removes a couple of clang-specific flags from the gcc build. 2. Adds -Wno-noexcept-type to the gcc build. Regarding #2: Methods passing platform::api::Task were triggering noexcept warnings on gcc (check the waterfall for examples). However, after reviewing options, there does not seem to be a straightforward and typesafe fix possible while maintaining the current TaskRunner APIs. Either we would need to remove noexcept from platform::api::Task, or add extra template parameters to specialize Task-passing methods. The gcc bots are running Bionic Beaver, which defaults to gcc 7. Locally, the compilation errors do not reproduce with gcc 8.3, leading me to believe that these were removed for this specific case between gcc 7 and gcc 8. (I will try to hunt down documentation if that is the case.) I believe this is a reasonable solution until we can get bots upgraded to gcc 8.3. Bug: openscreen:40 Change-Id: Ic4b0ee95a204319e3c85e7fef3dcbcdde4e0e5a7 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1857468 Commit-Queue: mark a. foltz <mfoltz@chromium.org> Reviewed-by: Ryan Keane <rwkeane@google.com> Reviewed-by: Max Yakimakha <yakimakha@chromium.org>
2019-10-11[Open Screen] BUILD cleanups.mark a. foltz
This removes commented-out BUILD targets and consolidates cflags. Bug: openscreen:40 Change-Id: Ia4464c8f916f63ab1ab4fc8d8e5dac2a1589784c Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1853749 Reviewed-by: Jordan Bayles <jophba@chromium.org> Commit-Queue: mark a. foltz <mfoltz@chromium.org>
2019-09-19[Open Screen] Some BUILD.gn cleanups.mark a. foltz
- Ensure all source_set and executable targets are part of gn_all - Give various demo executables unique names - Consistent naming for unittests This will mean we only need to build gn_all and openscreen_unittests in our build recipe. Change-Id: Ie0095f900471bfcea02c3f2c708424f463772414 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1809004 Reviewed-by: Max Yakimakha <yakimakha@chromium.org> Commit-Queue: mark a. foltz <mfoltz@chromium.org>
2019-09-18Fix building with ChromiumJordan Bayles
This patch fixes the Chromium build, by including absl::variant's required dependencies inside of Chromium. Change-Id: I0b13978cc7792bd1661a57c9bca208b3ab400023 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1811543 Reviewed-by: Max Yakimakha <yakimakha@chromium.org> Commit-Queue: Jordan Bayles <jophba@chromium.org>
2019-08-29Fix gcc 8.2 errorsbtolsch
This change fixes compilation issues found with gcc 8.2 in preparation for re-enabling the gcc bots. Bug: openscreen:40 Change-Id: Ie9233c813fb65d7be57401345fd6a0339ddbdcdd Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1775427 Commit-Queue: Brandon Tolsch <btolsch@chromium.org> Reviewed-by: Ryan Keane <rwkeane@google.com> Reviewed-by: Jordan Bayles <jophba@chromium.org> Reviewed-by: Max Yakimakha <yakimakha@chromium.org>
2019-08-23Add revocation list support to cast certificate checkingbtolsch
This change adds cast_crl.cc and supporting files to the cast_certificate component port. It allows for parsing a revocation list from a protobuf and using that information as part of verifying a Cast device's certificate chain. Bug: openscreen:58 Change-Id: Ia21b52b9951998a57671dd4748da10c3b4be34a6 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1759270 Reviewed-by: Ryan Keane <rwkeane@google.com> Reviewed-by: Max Yakimakha <yakimakha@chromium.org> Commit-Queue: Brandon Tolsch <btolsch@chromium.org>
2019-08-20Enforce host toolchain for cddl and protoc toolsbtolsch
This change helps people who are cross-compiling by ensuring that the cddl and protoc tools are only ever compiled with the host toolchain. Bug: 981676 Change-Id: I8999764e9913a78b116d6ec3ced5b31c77c83604 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1759283 Commit-Queue: Brandon Tolsch <btolsch@chromium.org> Reviewed-by: Max Yakimakha <yakimakha@chromium.org> Reviewed-by: Ryan Keane <rwkeane@google.com>
2019-08-13Fix signed/unsigned compareJordan Bayles
This patch fixes a signed/unsigned compare, and changes the abseil config so this hopefully shouldn't happen again. Change-Id: Ib725a1dde0deb0d56c239a727a9aac2335e26d82 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1749425 Commit-Queue: Jordan Bayles <jophba@chromium.org> Reviewed-by: Max Yakimakha <yakimakha@chromium.org> Reviewed-by: mark a. foltz <mfoltz@chromium.org>
2019-08-05Add cast device certificate verificationbtolsch
This change migrates some of Chromium's //components/cast_certificate code. Specifically, this change starts the migration by doing basic certificate chain validation checks. It does not include the revocation list, as well as a few other final steps for complete verification support according to RFC 5280. Change-Id: I3853d4ce831a77a4b71b4f63974d1a156948152f Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1721328 Commit-Queue: Brandon Tolsch <btolsch@chromium.org> Reviewed-by: Peter Thatcher <pthatcher@google.com> Reviewed-by: Max Yakimakha <yakimakha@chromium.org>
2019-07-21Add zlib_config to protobuf full source setbtolsch
This change lets protobuf_full actually build with //third_party/zlib/src/zlib.h instead of accidentally building with a system-installed version. Change-Id: I7ed7565aee75569f32b8069146d550868db9057b Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1710954 Reviewed-by: Max Yakimakha <yakimakha@chromium.org> Commit-Queue: Brandon Tolsch <btolsch@chromium.org>
2019-07-17Add protobuf supportbtolsch
This change adds protobuf as a new third_party dependency in preparation for importing cast channel code. Change-Id: I93ce6f67f495d92133308edb052506792071487f Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1702841 Commit-Queue: Brandon Tolsch <btolsch@chromium.org> Reviewed-by: Jordan Bayles <jophba@chromium.org> Reviewed-by: Ryan Keane <rwkeane@google.com>