Make it possible to pass GYP_DEFINES to Android builds
Pass possibly existing GYP_DEFINES from shell to gyp when building for Android. Makes it possible to use custom build flags such as skia_nv_path_rendering=1. R=djsollen@google.com Author: kkinnunen@nvidia.com Review URL: https://codereview.chromium.org/51003007 git-svn-id: http://skia.googlecode.com/svn/trunk@12128 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
d3e5842db0
commit
ecdb6b326f
@ -243,7 +243,7 @@ setup_device() {
|
||||
fi
|
||||
DEFINES="${DEFINES} android_toolchain=${TOOLCHAIN_TYPE}"
|
||||
|
||||
exportVar GYP_DEFINES "$DEFINES"
|
||||
exportVar GYP_DEFINES "$DEFINES $GYP_DEFINES"
|
||||
exportVar SKIA_OUT "out/config/android-${TARGET_DEVICE}"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user