push profiles as part of android build

adb push --sync exists, and seems to work.

Change-Id: If8c6610f84ea8639288775b83580473f4fd8a898
Reviewed-on: https://skia-review.googlesource.com/118599
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
diff --git a/build/android b/build/android
index 0383473..78bc286 100644
--- a/build/android
+++ b/build/android
@@ -16,6 +16,7 @@
 rule run
     command = if which adb >/dev/null && adb get-state >/dev/null 2>/dev/null; $
               then $
+                  adb push --sync profiles /data/local/tmp >/dev/null; $
                   adb push $in /data/local/tmp/$in >/dev/null; $
                   adb shell "cd /data/local/tmp; ./$in" > $out; $
               else touch $out; fi
diff --git a/build/android-arm b/build/android-arm
index a323cdc..2c81296 100644
--- a/build/android-arm
+++ b/build/android-arm
@@ -17,6 +17,7 @@
 rule run
     command = if which adb >/dev/null && adb get-state >/dev/null 2>/dev/null; $
               then $
+                  adb push --sync profiles /data/local/tmp >/dev/null; $
                   adb push $in /data/local/tmp/$in >/dev/null; $
                   adb shell "cd /data/local/tmp; ./$in" > $out; $
               else touch $out; fi
diff --git a/build/android-arm-gcc b/build/android-arm-gcc
index 0cd530b..c4ca60f 100644
--- a/build/android-arm-gcc
+++ b/build/android-arm-gcc
@@ -18,6 +18,7 @@
 rule run
     command = if which adb >/dev/null && adb get-state >/dev/null 2>/dev/null; $
               then $
+                  adb push --sync profiles /data/local/tmp >/dev/null; $
                   adb push $in /data/local/tmp/$in >/dev/null; $
                   adb shell "cd /data/local/tmp; ./$in" > $out; $
               else touch $out; fi