• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1LIST(APPEND JavaScriptCore_SOURCES
2    jit/ExecutableAllocator.cpp
3
4    heap/MarkStackWin.cpp
5)
6
7IF (ENABLE_JIT AND WTF_CPU_ARM)
8    ADD_CUSTOM_COMMAND(
9        OUTPUT ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.asm
10        MAIN_DEPENDENCY ${JAVASCRIPTCORE_DIR}/create_jit_stubs
11        DEPENDS ${JAVASCRIPTCORE_DIR}/jit/JITStubs.cpp
12        COMMAND ${PERL_EXECUTABLE} ${JAVASCRIPTCORE_DIR}/create_jit_stubs --prefix=MSVC ${JAVASCRIPTCORE_DIR}/jit/JITStubs.cpp > ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.asm
13        VERBATIM)
14
15    ADD_CUSTOM_COMMAND(
16        OUTPUT ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.obj
17        MAIN_DEPENDENCY ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.asm
18        COMMAND armasm -nologo ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.asm ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.obj
19        VERBATIM)
20
21    LIST (APPEND JavaScriptCore_SOURCES ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.obj)
22ENDIF ()
23