1 // Copyright 2023 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include <libxml/xmlversion.h> 6 7 // Basic test that libxml features that are unused in Chromium remain disabled. 8 9 #ifdef LIBXML_AUTOMATA_ENABLED 10 static_assert(false); 11 #endif 12 13 #ifdef LIBXML_C14N_ENABLED 14 static_assert(false); 15 #endif 16 17 #ifdef LIBXML_CATALOG_ENABLED 18 static_assert(false); 19 #endif 20 21 #ifdef LIBXML_DEBUG_ENABLED 22 static_assert(false); 23 #endif 24 25 #ifdef LIBXML_DOCB_ENABLED 26 static_assert(false); 27 #endif 28 29 #ifdef LIBXML_EXPR_ENABLED 30 static_assert(false); 31 #endif 32 33 #ifdef LIBXML_LEGACY_ENABLED 34 static_assert(false); 35 #endif 36 37 #ifdef LIBXML_MODULES_ENABLED 38 static_assert(false); 39 #endif 40 41 #ifdef LIBXML_REGEXP_ENABLED 42 static_assert(false); 43 #endif 44 45 #ifdef LIBXML_SCHEMAS_ENABLED 46 static_assert(false); 47 #endif 48 49 #ifdef LIBXML_SCHEMATRON_ENABLED 50 static_assert(false); 51 #endif 52 53 #ifdef LIBXML_VALID_ENABLED 54 static_assert(false); 55 #endif 56 57 #ifdef LIBXML_XINCLUDE_ENABLED 58 static_assert(false); 59 #endif 60 61 #ifdef LIBXML_XPTR_ENABLED 62 static_assert(false); 63 #endif 64 65 #ifdef LIBXML_ZLIB_ENABLED 66 static_assert(false); 67 #endif 68