Home | History | Annotate | Download | only in IOSTests-Test
      1 // Create sections from the art and oat files.
      2 MOE_SECT_OAT = -sectcreate __OATDATA __oatdata "${SRCROOT}/../build/moe/test/xcode/${CONFIGURATION}${EFFECTIVE_PLATFORM_NAME}/${arch}.oat"
      3 MOE_SECT_ART = -sectcreate __ARTDATA __artdata "${SRCROOT}/../build/moe/test/xcode/${CONFIGURATION}${EFFECTIVE_PLATFORM_NAME}/${arch}.art"
      4 
      5 // Set the maximum and initial virtual memory protection for the segments.
      6 
      7 MOE_SEGPROT[sdk=iphoneos*] = -segprot __OATDATA rx rx -segprot __ARTDATA rw rw
      8 MOE_SEGPROT[sdk=iphonesimulator*] = -segprot __OATDATA rwx rx -segprot __ARTDATA rwx rw
      9 MOE_SEGPROT[sdk=appletvos*] = -segprot __OATDATA rx rx -segprot __ARTDATA rw rw
     10 MOE_SEGPROT[sdk=appletvsimulator*] = -segprot __OATDATA rwx rx -segprot __ARTDATA rwx rw
     11 
     12 // Set the __PAGEZERO segment size.
     13 MOE_PAGEZERO[sdk=iphoneos*] =
     14 MOE_PAGEZERO[sdk=iphonesimulator*] = -pagezero_size 4096
     15 MOE_PAGEZERO[sdk=appletvos*] =
     16 MOE_PAGEZERO[sdk=appletvsimulator*] = -pagezero_size 4096
     17 
     18 // Set frameworks paths.
     19 MOE_FRAMEWORK_PATH = ${INTEL_MULTI_OS_ENGINE_HOME}/sdk/${PLATFORM_NAME}
     20 
     21 MOE_CUSTOM_STATIC_FRAMEWORK_PATH = ../build/libs/static/${PLATFORM_NAME}
     22 MOE_CUSTOM_DYNAMIC_FRAMEWORK_PATH = ../build/libs/dynamic/${PLATFORM_NAME}
     23 
     24 // Collect all MOE linker flags.
     25 MOE_CUSTOM_OTHER_LDFLAGS = -framework Foundation -framework UIKit -L../build/libs/static -L../build/libs/static/${PLATFORM_NAME} -F../build/libs/static -F../build/libs/static/${PLATFORM_NAME} -F../build/libs/dynamic -F../build/libs/dynamic/${PLATFORM_NAME}
     26 
     27 MOE_OTHER_LDFLAGS = ${MOE_SECT_OAT} ${MOE_SECT_ART} ${MOE_SEGPROT} ${MOE_PAGEZERO} ${MOE_CUSTOM_OTHER_LDFLAGS} -lstdc++
     28 
     29 // Disable BitCode.
     30 ENABLE_BITCODE = NO
     31