Index: platform_tools/android/bin/android_setup.sh |
diff --git a/platform_tools/android/bin/android_setup.sh b/platform_tools/android/bin/android_setup.sh |
index 0629c6a6e85110da768ef2bed9d5a3cb4d9739a1..7c3ba6a24318f580ced26b2a40344a304e457a44 100755 |
--- a/platform_tools/android/bin/android_setup.sh |
+++ b/platform_tools/android/bin/android_setup.sh |
@@ -165,7 +165,7 @@ setup_device() { |
TARGET_DEVICE=$(cat .android_config) |
echo "INFO: no target device was specified so using the device (${TARGET_DEVICE}) from the most recent build" |
else |
- TARGET_DEVICE="arm_v7_thumb" |
+ TARGET_DEVICE="arm_v7_thumb" |
echo "INFO: no target device type was specified so using the default '${TARGET_DEVICE}'" |
fi |
fi |
@@ -237,6 +237,8 @@ setup_device() { |
fi |
DEFINES="${DEFINES} android_toolchain=${TOOLCHAIN_TYPE}" |
+ # Use the "android" flavor of the Makefile generator for both Linux and OS X. |
+ exportVar GYP_GENERATORS "make-android" |
exportVar GYP_DEFINES "$DEFINES" |
exportVar SKIA_OUT "out/config/android-${TARGET_DEVICE}" |
} |