• Dan Willemsen's avatar
    Add 64-bit windows cross-compiles · 7e57b8ca
    Dan Willemsen authored
    This is mostly the same as the existing 2ND_HOST / HOST_CROSS support.
    
    The interesting thing I did here was make x86 the 'first' architecture,
    and x86_64 the second. This way LOCAL_MULTILIB := first defaults to
    32-bit windows modules.
    
      windows-x86/bin   <- defaults to 32-bit executables
      windows-x86/lib   <- 32-bit libraries, like before
      windows-x86/lib64 <- 64-bit libraries
      windows-x86/obj   <- 32-bit intermediates
      windows-x86/obj64 <- 64-bit intermediates
    
    Then modules are registered with the names:
    
      host_cross_liblog    <- 32-bit, like before
      host_cross_liblog_64 <- 64-bit
    
    Bug: 26957718
    
    (cherry picked from commit 9ecbf832)
    
    Change-Id: Iab2d36e20d7002568c3534e7781e9ac8ab21a4a9
    7e57b8ca
host_executable.mk 3.1 KB