Title: [219823] trunk/Source/WebCore/PAL
Revision
219823
Author
[email protected]
Date
2017-07-24 09:01:33 -0700 (Mon, 24 Jul 2017)

Log Message

[CMake] libtasn1 should not be required when not enabling subtle_crypto
https://bugs.webkit.org/show_bug.cgi?id=174785

Reviewed by Žan Doberšek.

* pal/PlatformGTK.cmake:
* pal/PlatformWPE.cmake:

Modified Paths

Diff

Modified: trunk/Source/WebCore/PAL/ChangeLog (219822 => 219823)


--- trunk/Source/WebCore/PAL/ChangeLog	2017-07-24 15:43:43 UTC (rev 219822)
+++ trunk/Source/WebCore/PAL/ChangeLog	2017-07-24 16:01:33 UTC (rev 219823)
@@ -1,3 +1,13 @@
+2017-07-24  Carlos Alberto Lopez Perez  <[email protected]>
+
+        [CMake] libtasn1 should not be required when not enabling subtle_crypto
+        https://bugs.webkit.org/show_bug.cgi?id=174785
+
+        Reviewed by Žan Doberšek.
+
+        * pal/PlatformGTK.cmake:
+        * pal/PlatformWPE.cmake:
+
 2017-07-18  Andy Estes  <[email protected]>
 
         [Xcode] Enable CLANG_WARN_RANGE_LOOP_ANALYSIS

Modified: trunk/Source/WebCore/PAL/pal/PlatformGTK.cmake (219822 => 219823)


--- trunk/Source/WebCore/PAL/pal/PlatformGTK.cmake	2017-07-24 15:43:43 UTC (rev 219822)
+++ trunk/Source/WebCore/PAL/pal/PlatformGTK.cmake	2017-07-24 16:01:33 UTC (rev 219823)
@@ -1,13 +1,17 @@
 list(APPEND PAL_SOURCES
     crypto/gcrypt/CryptoDigestGCrypt.cpp
 
-    crypto/tasn1/Utilities.cpp
-
     system/gtk/SoundGtk.cpp
 
     text/KillRingNone.cpp
 )
 
+if (ENABLE_SUBTLE_CRYPTO)
+    list(APPEND PAL_SOURCES
+        crypto/tasn1/Utilities.cpp
+    )
+endif ()
+
 list(APPEND PAL_SYSTEM_INCLUDE_DIRECTORIES
     ${GDK_INCLUDE_DIRS}
 )

Modified: trunk/Source/WebCore/PAL/pal/PlatformWPE.cmake (219822 => 219823)


--- trunk/Source/WebCore/PAL/pal/PlatformWPE.cmake	2017-07-24 15:43:43 UTC (rev 219822)
+++ trunk/Source/WebCore/PAL/pal/PlatformWPE.cmake	2017-07-24 16:01:33 UTC (rev 219823)
@@ -1,9 +1,13 @@
 list(APPEND PAL_SOURCES
     crypto/gcrypt/CryptoDigestGCrypt.cpp
 
-    crypto/tasn1/Utilities.cpp
-
     system/SoundNone.cpp
 
     text/KillRingNone.cpp
 )
+
+if (ENABLE_SUBTLE_CRYPTO)
+    list(APPEND PAL_SOURCES
+        crypto/tasn1/Utilities.cpp
+    )
+endif ()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to