CBOR coders should only be compiled if WebAuthN is enabled
authordon.olmstead@sony.com <don.olmstead@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Sep 2018 21:11:23 +0000 (21:11 +0000)
committerdon.olmstead@sony.com <don.olmstead@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Sep 2018 21:11:23 +0000 (21:11 +0000)
commit40a5ee1448f3cb437c576467cd0e8b9911766ec8
treed4a4c3c9fed88cf03660a03e4e8d621450deaa60
parent539abc40cf2ce8db07d8903f1c4748ae9d8d5e54
CBOR coders should only be compiled if WebAuthN is enabled
https://bugs.webkit.org/show_bug.cgi?id=189425

Reviewed by Jiewen Tan.

Source/WebCore:

No new tests. No change in behavior.

Just places ENABLE(WEB_AUTHN) guards around all CBOR files.

* Modules/webauthn/cbor/CBORBinary.h:
* Modules/webauthn/cbor/CBORReader.cpp:
* Modules/webauthn/cbor/CBORReader.h:
* Modules/webauthn/cbor/CBORValue.cpp:
* Modules/webauthn/cbor/CBORValue.h:
* Modules/webauthn/cbor/CBORWriter.cpp:
* Modules/webauthn/cbor/CBORWriter.h:

Tools:

Just places ENABLE(WEB_AUTHN) guards around CBOR test files.

* TestWebKitAPI/Tests/WebCore/CBORReaderTest.cpp:
* TestWebKitAPI/Tests/WebCore/CBORValueTest.cpp:
* TestWebKitAPI/Tests/WebCore/CBORWriterTest.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@235861 268f45cc-cd09-0410-ab3c-d52691b4dbfc
12 files changed:
Source/WebCore/ChangeLog
Source/WebCore/Modules/webauthn/cbor/CBORBinary.h
Source/WebCore/Modules/webauthn/cbor/CBORReader.cpp
Source/WebCore/Modules/webauthn/cbor/CBORReader.h
Source/WebCore/Modules/webauthn/cbor/CBORValue.cpp
Source/WebCore/Modules/webauthn/cbor/CBORValue.h
Source/WebCore/Modules/webauthn/cbor/CBORWriter.cpp
Source/WebCore/Modules/webauthn/cbor/CBORWriter.h
Tools/ChangeLog
Tools/TestWebKitAPI/Tests/WebCore/CBORReaderTest.cpp
Tools/TestWebKitAPI/Tests/WebCore/CBORValueTest.cpp
Tools/TestWebKitAPI/Tests/WebCore/CBORWriterTest.cpp