Define more macros

This commit is contained in:
Andrew Hyatt 2018-01-13 11:05:39 -08:00
parent c2ba4adfeb
commit 400873cde8

View File

@ -7,6 +7,59 @@ set(DYLIB_CURRENT_VERSION "604.4.7")
add_definitions(
-DNDEBUG
-DU_HIDE_DEPRECATED_API
-DU_DISABLE_RENAMING=1
-DU_SHOW_CPLUSPLUS_API=0
-DENABLE_3D_TRANSFORMS
-DENABLE_ATTACHMENT_ELEMENT
-DENABLE_AVF_CAPTIONS
-DENABLE_CACHE_PARTITIONING
-DENABLE_CANVAS_PATH
-DENABLE_CHANNEL_MESSAGING
-DENABLE_CSS_BOX_DECORATION_BREAK
-DENABLE_CSS_COMPOSITING
-DENABLE_CSS_REGIONS
-DENABLE_CSS_SCROLL_SNAP
-DENABLE_CSS_SELECTORS_LEVEL4
-DENABLE_CSS_TRAILING_WORD
-DENABLE_CURSOR_VISIBILITY
-DENABLE_DATACUE_VALUE
-DENABLE_FETCH_API
-DENABLE_FILTERS_LEVEL_2
-DENABLE_GAMEPAD
-DENABLE_GEOLOCATION
-DENABLE_INDEXED_DATABASE_IN_WORKERS
-DENABLE_INDEXED_DATABASE
-DENABLE_INTERSECTION_OBSERVER
-DENABLE_INTL
-DENABLE_KEYBOARD_KEY_ATTRIBUTE
-DENABLE_KEYBOARD_CODE_ATTRIBUTE
-DENABLE_LEGACY_CSS_VENDOR_PREFIXES
-DENABLE_LEGACY_ENCRYPTED_MEDIA
-DENABLE_LEGACY_VENDOR_PREFIXES
-DENABLE_MATHML
-DENABLE_MEDIA_CONTROLS_SCRIPT
-DENABLE_MEDIA_STREAM
-DENABLE_METER_ELEMENT
-DENABLE_PUBLIC_SUFFIX_LIST
-DENABLE_REMOTE_INSPECTOR
-DENABLE_RESOURCE_USAGE
-DENABLE_SPEECH_SYNTHESIS
-DENABLE_STREAMS_API
-DENABLE_SUBTLE_CRYPTO
-DENABLE_SVG_FONTS
-DENABLE_TELEPHONE_NUMBER_DETECTION
-DENABLE_TEXT_AUTOSIZING
-DENABLE_USERSELECT_ALL
-DENABLE_VIDEO_TRACK
-DENABLE_VIDEO
-DENABLE_WEB_AUDIO
-DENABLE_WEB_SOCKETS
-DENABLE_WEB_TIMING
-DENABLE_WEBGL
-DENABLE_WEBGPU
-DENABLE_WIRELESS_PLAYBACK_TARGET
-DENABLE_XSLT
)
include_directories(
@ -1051,7 +1104,7 @@ set_property(TARGET JavaScriptCore APPEND_STRING PROPERTY LINK_FLAGS
-Wl,-unexported_symbol -Wl,__ZNSt3__18functionIFvvEED1Ev \
-Wl,-unexported_symbol -Wl,__ZNSt3__18functionIFvvEED2Ev \
-Wl,-unexported_symbol -Wl,__ZTVNSt3__117bad_function_callE \
-Wl,-all_load"
-Wl,-all_load "
)
set_source_files_properties(bytecode/CodeBlock.cpp PROPERTIES