Restore the ability to build RS-related binaries on Windows.

Bug: 14416410

This change reverts two prior commits (listed below):

Revert "Use renderscript prebuilts for windows."
This reverts commit ebacf02e88.

Revert "Temporarily disable rs/bcc in win_sdk"
This reverts commit c63c2d31ba.
This commit is contained in:
Stephen Hines
2014-09-29 18:06:39 -07:00
parent 221b154a72
commit 3f2caae206
2 changed files with 16 additions and 41 deletions

View File

@@ -72,39 +72,25 @@ dalvik/dx/etc/dx.bat build-tools/${PLATFORM_NAME}/dx.ba
rm build-tools/${PLATFORM_NAME}/dexdump rm build-tools/${PLATFORM_NAME}/dexdump
bin/dexdump.exe strip build-tools/${PLATFORM_NAME}/dexdump.exe bin/dexdump.exe strip build-tools/${PLATFORM_NAME}/dexdump.exe
# delete linux rs/bcc files
rm build-tools/${PLATFORM_NAME}/llvm-rs-cc rm build-tools/${PLATFORM_NAME}/llvm-rs-cc
bin/llvm-rs-cc.exe strip build-tools/${PLATFORM_NAME}/llvm-rs-cc.exe
rm build-tools/${PLATFORM_NAME}/libLLVM.so rm build-tools/${PLATFORM_NAME}/libLLVM.so
lib/libLLVM.dll strip build-tools/${PLATFORM_NAME}/libLLVM.dll
rm build-tools/${PLATFORM_NAME}/libclang.so rm build-tools/${PLATFORM_NAME}/libclang.so
lib/libclang.dll strip build-tools/${PLATFORM_NAME}/libclang.dll
#bcc not yet compiled on windows
rm build-tools/${PLATFORM_NAME}/libbcc.so rm build-tools/${PLATFORM_NAME}/libbcc.so
lib/libbcc.dll strip build-tools/${PLATFORM_NAME}/libbcc.dll
rm build-tools/${PLATFORM_NAME}/libbcinfo.so rm build-tools/${PLATFORM_NAME}/libbcinfo.so
lib/libbcinfo.dll strip build-tools/${PLATFORM_NAME}/libbcinfo.dll
rm build-tools/${PLATFORM_NAME}/bcc_compat rm build-tools/${PLATFORM_NAME}/bcc_compat
bin/bcc_compat.exe strip build-tools/${PLATFORM_NAME}/bcc_compat.exe
###RM(2014-05-02) Temporarily disable rs/bcc for the Windows SDK as we fix cross-compilation issues
###bin/llvm-rs-cc.exe strip build-tools/${PLATFORM_NAME}/llvm-rs-cc.exe
###
###lib/libLLVM.dll strip build-tools/${PLATFORM_NAME}/libLLVM.dll
###
###lib/libclang.dll strip build-tools/${PLATFORM_NAME}/libclang.dll
###
####bcc not yet compiled on windows
###
###lib/libbcc.dll strip build-tools/${PLATFORM_NAME}/libbcc.dll
###
###lib/libbcinfo.dll strip build-tools/${PLATFORM_NAME}/libbcinfo.dll
###
###bin/bcc_compat.exe strip build-tools/${PLATFORM_NAME}/bcc_compat.exe
###XAV(2014-06-17) Temporarily get rs/bcc from a prebuilt.
prebuilts/misc/windows/renderscript/llvm-rs-cc.exe build-tools/${PLATFORM_NAME}/llvm-rs-cc.exe
prebuilts/misc/windows/renderscript/libLLVM.dll build-tools/${PLATFORM_NAME}/libLLVM.dll
prebuilts/misc/windows/renderscript/libclang.dll build-tools/${PLATFORM_NAME}/libclang.dll
prebuilts/misc/windows/renderscript/libbcc.dll build-tools/${PLATFORM_NAME}/libbcc.dll
prebuilts/misc/windows/renderscript/libbcinfo.dll build-tools/${PLATFORM_NAME}/libbcinfo.dll
prebuilts/misc/windows/renderscript/bcc_compat.exe build-tools/${PLATFORM_NAME}/bcc_compat.exe
###
rm build-tools/${PLATFORM_NAME}/arm-linux-androideabi-ld rm build-tools/${PLATFORM_NAME}/arm-linux-androideabi-ld
prebuilts/sdk/tools/windows/arm-linux-androideabi-ld.exe strip build-tools/${PLATFORM_NAME}/arm-linux-androideabi-ld.exe prebuilts/sdk/tools/windows/arm-linux-androideabi-ld.exe strip build-tools/${PLATFORM_NAME}/arm-linux-androideabi-ld.exe

View File

@@ -32,28 +32,17 @@ include $(TOPDIR)sdk/build/windows_sdk_tools.mk
# the topdir/development directory and are somehow platform-dependent. # the topdir/development directory and are somehow platform-dependent.
WIN_TARGETS := \ WIN_TARGETS := \
aapt adb aidl \ aapt adb aidl \
bcc_compat \
etc1tool \ etc1tool \
dexdump dmtracedump \ dexdump dmtracedump \
fastboot \ fastboot \
hprof-conv \ hprof-conv \
llvm-rs-cc \
prebuilt \ prebuilt \
sqlite3 \ sqlite3 \
zipalign \ zipalign \
$(WIN_SDK_TARGETS) $(WIN_SDK_TARGETS)
###RM(2014-05-02) full list of WIN_TARGS, including bcc/rs that are temporarily deactivated
###WIN_TARGETS := \
### aapt adb aidl \
### bcc_compat \
### etc1tool \
### dexdump dmtracedump \
### fastboot \
### hprof-conv \
### llvm-rs-cc \
### prebuilt \
### sqlite3 \
### zipalign \
### $(WIN_SDK_TARGETS)
###
# This is the list of *Linux* build tools that we need # This is the list of *Linux* build tools that we need
# in order to be able to make the WIN_TARGETS. They are # in order to be able to make the WIN_TARGETS. They are
# build prerequisites. # build prerequisites.