6774710: spp.sh used by genBasic.sh/genCopyDirectMemory.sh

Update the scripts to use java version of spp

Reviewed-by: alanb
This commit is contained in:
Xueming Shen 2008-11-25 10:09:26 -08:00
parent 93225a0b60
commit b9638d0527
2 changed files with 7 additions and 4 deletions

View File

@ -23,10 +23,10 @@
# have any questions.
#
SPP='sh ../../../../make/java/nio/spp.sh'
javac -d . ../../../../make/tools/src/build/tools/spp/Spp.java > Spp.java
gen() {
$SPP -K$1 -Dtype=$1 -DType=$2 -DFulltype=$3 <Basic-X.java >Basic$2.java
java build.tools.spp.Spp -K$1 -Dtype=$1 -DType=$2 -DFulltype=$3 <Basic-X.java >Basic$2.java
}
gen byte Byte Byte
@ -36,3 +36,5 @@ gen int Int Integer
gen long Long Long
gen float Float Float
gen double Double Double
rm -rf build

View File

@ -23,10 +23,10 @@
# have any questions.
#
SPP='sh ../../../../make/java/nio/spp.sh'
javac -d . ../../../../make/tools/src/build/tools/spp/Spp.java > Spp.java
gen() {
$SPP -K$1 -Dtype=$1 -DType=$2 -DFulltype=$3<CopyDirect-X-Memory.java >CopyDirect$2Memory.java
java build.tools.spp.Spp -K$1 -Dtype=$1 -DType=$2 -DFulltype=$3<CopyDirect-X-Memory.java >CopyDirect$2Memory.java
}
gen byte Byte Byte
@ -37,3 +37,4 @@ gen long Long Long
gen float Float Float
gen double Double Double
rm -rf build