PlatformWinCE.cmake 814 B

1234567891011121314151617
  1. if (ENABLE_JIT AND WTF_CPU_ARM)
  2. add_custom_command(
  3. OUTPUT ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.asm
  4. MAIN_DEPENDENCY ${JAVASCRIPTCORE_DIR}/create_jit_stubs
  5. DEPENDS ${JAVASCRIPTCORE_DIR}/jit/JITStubs.cpp
  6. COMMAND ${PERL_EXECUTABLE} ${JAVASCRIPTCORE_DIR}/create_jit_stubs --prefix=MSVC ${JAVASCRIPTCORE_DIR}/jit/JITStubs.cpp > ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.asm
  7. VERBATIM)
  8. add_custom_command(
  9. OUTPUT ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.obj
  10. MAIN_DEPENDENCY ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.asm
  11. COMMAND armasm -nologo ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.asm ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.obj
  12. VERBATIM)
  13. list(APPEND JavaScriptCore_SOURCES ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.obj)
  14. endif ()