aboutsummaryrefslogtreecommitdiffhomepage
path: root/platform_tools/android/bin
Commit message (Collapse)AuthorAge
...
* adb_wait_for_device: If we can't get the battery level, just exitGravatar borenet2015-12-14
| | | | | | | | BUG=skia:4606 TBR=rmistry NOTREECHECKS=true Review URL: https://codereview.chromium.org/1529453002
* Add minimum battery level to adb_wait_for_deviceGravatar borenet2015-12-14
| | | | | | | | | This should prevent the Android bots running out of battery at the expense of extra time spent waiting at the end of the build. BUG=skia:4606 Review URL: https://codereview.chromium.org/1522013002
* Fix 'debugging on Android' android_gdb_app script.Gravatar aam2015-12-10
| | | | | | | | | | | | 1) com.skia -> com.skia.sample_app 2) pass arguments to android_gdb_app to android_setup.sh so you can build gdbserver binaries for your actual device(rather than default arm64). This allows you to run it like this for example: ./platform_tools/android/bin/android_gdb_app -d nexus_6 BUG=skia: DOCS_PREVIEW= https://skia.org/?cl=1509853006 Review URL: https://codereview.chromium.org/1509853006
* Update Android toolchains and streamline process.Gravatar mtklein2015-10-01
| | | | | | | | | | | | | - This updates to r10e / API v21 everywhere. - This has each host machine fetch the NDK, run make-standalone-toolchain.sh, and copy gdbserver itself. (It will do all this once per $ARCH, which is a little inefficient, but it washes out in steady state.) BUG=skia: Review URL: https://codereview.chromium.org/1385463002
* adb_wait_for_device: Skip `adb wait-for-device`Gravatar borenet2015-09-03
| | | | | | | | | | | | | | | This should still wait for the device to be attached and finished booting, but will prevent no-output timeouts due to `adb wait-for-device` never finishing. The effect should be that, when an Android device is disconnected, the "wait for device" step will run forever, or until the device reconnects. This should prevent a disconnected device from spreading purple all over the status page. BUG=skia: Review URL: https://codereview.chromium.org/1315753010
* Use a different download URL for Android toolchainsGravatar borenet2015-08-31
| | | | | | | | The current one isn't working on the Appurify bot BUG=skia:4093 Review URL: https://codereview.chromium.org/1311533006
* Ensure that android "release" apps are signed with debug keyGravatar djsollen2015-08-10
| | | | Review URL: https://codereview.chromium.org/1275223003
* Update Android Testing apps to support release modeGravatar djsollen2015-07-31
| | | | | | BUG=skia:4152 Review URL: https://codereview.chromium.org/1259123003
* Add android_run_app.goGravatar borenet2015-07-31
| | | | | | | | | | | Launches an app, pipes its output, and exits when the app exits. Loosely based on the old buildbot code in python: https://skia.googlesource.com/buildbot/+/ac0663c599a443a4958c8cad5aefd25eb09eff58/slave/skia_slave_scripts/utils/android_utils.py BUG=skia:4093 Review URL: https://codereview.chromium.org/1256353002
* Fix android_launch_app after Gradle changeGravatar borenet2015-07-28
| | | | | | | | NOTRY=true TBR=djsollen BUG=skia: Review URL: https://codereview.chromium.org/1258253002
* android_install_app: Use lower-cased app nameGravatar borenet2015-07-28
| | | | | | | NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1261873002
* Remove skia_arch_width, fold into skia_arch_type.Gravatar Brian Salomon2015-07-27
| | | | | | | | | DOCS_PREVIEW= https://skia.org/?cl=1228553010 BUG=skia:4042 R=borenet@google.com, mtklein@google.com Review URL: https://codereview.chromium.org/1228553010
* Update Android Apps to use gradleGravatar djsollen2015-07-24
| | | | | | | | | | | This CL replaces ant with gradle for the task of building APKs. The primary driver of this change is that it now allow us to develop and test our apps using Android Studio. DOCS_PREVIEW= https://skia.org/?cl=1215023017 Committed: https://skia.googlesource.com/skia/+/425535f1626932e4e22f61a2571f9c3c2b1c5977 Review URL: https://codereview.chromium.org/1215023017
* Revert "Update Android Apps to use gradle"Gravatar joshualitt2015-07-23
| | | | | | | | | | | | This reverts commit 425535f1626932e4e22f61a2571f9c3c2b1c5977. NOTRY=true NOTREECHECKS=true TBR=djsollen@google.com BUG=skia: DOCS_PREVIEW= https://skia.org/?cl=1250233002 Review URL: https://codereview.chromium.org/1250233002
* Update Android Apps to use gradleGravatar djsollen2015-07-22
| | | | | | | | | This CL replaces ant with gradle for the task of building APKs. The primary driver of this change is that it now allow us to develop and test our apps using Android Studio. DOCS_PREVIEW= https://skia.org/?cl=1215023017 Review URL: https://codereview.chromium.org/1215023017
* Reenable yasm for Android x86 and x86-64 on Linux hostGravatar msarett2015-07-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It turns out that gyp (kind of) has support for cross compiling with a different host and target. We simply need to specify CC_host and CC_target instead of CC. Making this change allows us to compile yasm on a Linux host for Android. We run into problems on Mac because the linker on a Mac host requires different command line arguments than the linker on the Android target. In looking through the code for gyp itself and speaking to Ben, it doesn't appear to me that gyp supports passing different arguments to host and target linkers. I would imagine that we would have similar problems on Windows. Below is a link to a CL that would fix this issue in gyp. It looks like it has been dropped for a long time. Thanks to Ben for this link! https://chromiumcodereview.appspot.com/10795044/ Also I'm adding a link to the build instructions for Chrome (thanks again Ben). It looks like they only support building for Android from Linux. https://code.google.com/p/chromium/wiki/AndroidBuildInstructions My next steps are: 1) Getting in touch with Torne or someone else with gyp to see if people are aware of this issue or interested in fixing it. 2) Deciding if skia should care about this issue. 3) Deciding if skia should work around this issue. It'd be really great to hear your thoughts on (2) and (3). My first thought is that we shouldn't care because, as long as we always compile the production copy of skia for Android on Linux, we will get the fast code. Is this a valid conclusion? Is there a way to write Android apps on Mac that accidentally use the slower code? If we do care, there are workarounds: For Mac, we can check in a yasm binary - it's a little smaller than the one I am deleting in this CL :-/ For Windows, we *might* be able to use the yasm.exe binary already in externals (we get this from DEPS because this is how chromium uses yasm on Windows). Are there other platforms that we care about? Let me know what you think! BUG=skia:4028 DOCS_PREVIEW= https://skia.org/?cl=1239333002 Review URL: https://codereview.chromium.org/1239333002
* Fix for android command line arguments to VisualBenchGravatar joshualitt2015-07-15
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/1241923002
* Move android_gdb_tmp into out/Gravatar scroggo2015-07-10
| | | | | | This way it will be ignored. Review URL: https://codereview.chromium.org/1230773003
* Use the upstream version of libwebp, v0.4.3.Gravatar scroggo2015-07-10
| | | | | | | | | | | | | | | | | | | DEPS: Update to pull v0.4.3 of libwebp from upstream gyp/libwebp.gyp: Add new files, as referenced by the gyp file used by Chromium. resource/tests: Add regression tests for particular images. BUG=skia:3442 BUG=skia:3315 BUG=skia:3429 Committed: https://skia.googlesource.com/skia/+/3aa0fb4d80c76b559ff4b82d5e569993aea06da1 Review URL: https://codereview.chromium.org/1178013008
* Android scripts now notify gyp that your building with clangGravatar djsollen2015-06-26
| | | | Review URL: https://codereview.chromium.org/1217443004
* Fixup android launch script to launch VisualBench as well as SampleAppGravatar joshualitt2015-06-22
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/1185473003
* Modify android_install_app to install VisualBenchGravatar joshualitt2015-06-18
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/1181973008
* Update android perf scriptGravatar msarett2015-06-18
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/1185293006
* Print command to be executed in verbose modeGravatar djsollen2015-06-12
| | | | Review URL: https://codereview.chromium.org/1180163002
* fix broken build by not passing the verbose flag throughGravatar Derek Sollenberger2015-06-10
| | | | Review URL: https://codereview.chromium.org/1176543004
* Remove verbose bash loggingGravatar djsollen2015-06-10
| | | | Review URL: https://codereview.chromium.org/1170283004
* Add adb_wait_for_device scriptGravatar borenet2015-06-02
| | | | | | BUG=skia:3718 Review URL: https://codereview.chromium.org/1149163003
* Android scripts: add --verbose, fix missing 'source android_setup'Gravatar borenet2015-05-14
| | | | | | | BUG=skia:3836 TBR=djsollen Review URL: https://codereview.chromium.org/1145473002
* Add android_launch_app script to allow command line options to be passed to ↵Gravatar Derek Sollenberger2015-05-11
| | | | | | | | | | the sampleApp when starting. BUG=skia:3815 DOCS_PREVIEW= https://skia.org/?cl=1136753003 R=bungeman@google.com, tomhudson@google.com Review URL: https://codereview.chromium.org/1136753003
* Default to arm_v7_neon.Gravatar mtklein2015-04-21
| | | | | | | | This aliases all devices we know have NEON over to that too. BUG=skia: Review URL: https://codereview.chromium.org/1095953007
* Streamline Thumb config.Gravatar mtklein2015-04-02
| | | | | | | | Enable Thumb2 iff ARM v7. (We don't turn it on today for ARM <v7, and ARM v8 doesn't support it.) BUG=skia: Review URL: https://codereview.chromium.org/1054993002
* Update the Android scripts to refresh device names and capabilities.Gravatar djsollen2015-04-01
| | | | Review URL: https://codereview.chromium.org/1054633002
* Fix android_run_skia script to allow for larger blacklistGravatar msarett2015-03-25
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/1011653004
* Allow either the old or new version of ADB on mac.Gravatar djsollen2015-02-19
| | | | Review URL: https://codereview.chromium.org/926003002
* Don't use m32 cflag for x86_64.Gravatar scroggo2015-02-12
| | | | | | | | | | | | | | | | | When checking the skia_arch_type for "x86", instead of doing an == compare, check if "x86" in skia_arch_type, so it will cover both x86 and x86_64. Except when we specifically want x86. Set skia_arch_width based on "64" in skia_arch_type. No need to specify in scripts. In gyp_to_android.py, create a separate var_dict for x86_64. BUG=skia:3419 Review URL: https://codereview.chromium.org/916113002
* Cleanup the android scripts.Gravatar djsollen2015-02-03
| | | | | | | Rename a few files to make their function clearer. Update other files to remove dead code or improve function. Review URL: https://codereview.chromium.org/865943007
* android_run_skia: dump logcat on failureGravatar mtklein2015-01-22
| | | | | | | | | logcat -c clears the log before we run. logcat -d dumps the log stdout and exits. BUG=skia: Review URL: https://codereview.chromium.org/870643002
* Add ability to specify gyp dir to gyp_to_android.Gravatar scroggo2015-01-20
| | | | | | | | | | | | | | When running gyp_to_android inside a Skia tree, it uses the gyp program in third_party/externals. Inside an Android tree, we need to use a different location for gyp (the Android copy of Skia, in external/skia, does not contain third_party/externals). The bot handles this by importing gyp_to_android and running its main function directly. Add command line arguments so a human can directly run gyp_to_android. Review URL: https://codereview.chromium.org/864503002
* Stop building gm in Android framework build.Gravatar scroggo2015-01-20
| | | | | | Allows us to delete gm. Review URL: https://codereview.chromium.org/860803004
* Pass gyp_source_dir to generate_tool.Gravatar scroggo2014-12-12
| | | | | | | | | | | | | When generating the tool makefiles, which also calls android_framework_gyp, we also need to pass the gyp directory. TBR=borenet NOTRY=True NOTREECHECKS=True BUG=skia:3233 Review URL: https://codereview.chromium.org/804473005
* Add parameter to specify gyp dir to gyp_to_android.Gravatar scroggo2014-12-11
| | | | | | | | NOTRY=true NOTREECHECKS=True BUG=skia:3233 Review URL: https://codereview.chromium.org/800573002
* Reland "Move from libstlport to libc++ for Android framework builds" ↵Gravatar scroggo2014-11-12
| | | | | | | | | | | | | | | | | | | | | (patchset #1 id:1 of https://codereview.chromium.org/718793003/) > Original issue's description: > > Move from libstlport to libc++ for Android framework builds > > > > Committed: https://skia.googlesource.com/skia/+/ce259510a738fab05a0d456440104f5aba1c9d72 > > TBR=tomhudson@google.com,djsollen@google.com > NOTREECHECKS=true > NOTRY=true > > Committed: https://skia.googlesource.com/skia/+/3c3fe7ce4893204eb8bcf885e8a1d539763bca5d TBR=tomhudson@google.com,djsollen@google.com NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/717303002
* Revert of Move from libstlport to libc++ for Android framework builds ↵Gravatar scroggo2014-11-11
| | | | | | | | | | | | | | | | | | (patchset #1 id:1 of https://codereview.chromium.org/714113002/) Reason for revert: The code this depends on is not ready yet. We can submit once https://android-review.googlesource.com/#/c/113924/ is submitted. Original issue's description: > Move from libstlport to libc++ for Android framework builds > > Committed: https://skia.googlesource.com/skia/+/ce259510a738fab05a0d456440104f5aba1c9d72 TBR=tomhudson@google.com,djsollen@google.com NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/718793003
* Move from libstlport to libc++ for Android framework buildsGravatar djsollen2014-11-11
| | | | Review URL: https://codereview.chromium.org/714113002
* Add support for clang to the android build scriptsGravatar djsollen2014-10-31
| | | | Review URL: https://codereview.chromium.org/692953002
* Remove adb from Skia repositoryGravatar djsollen2014-10-31
| | | | Review URL: https://codereview.chromium.org/696463003
* Update the Android NDK to r10cGravatar djsollen2014-10-30
| | | | Review URL: https://codereview.chromium.org/689943002
* Use the most recent version of ADB from the SDK if necessary.Gravatar djsollen2014-10-30
| | | | | | | This removes ADB from the Skia checkout and also does some quick checks to make sure the version of ADB used meets a minimum threshold Review URL: https://codereview.chromium.org/692513003
* Add a helper script to expose which version of adb the android scripts use.Gravatar djsollen2014-10-29
| | | | Review URL: https://codereview.chromium.org/692633002
* Update adb on linux to 1.0.32Gravatar Derek Sollenberger2014-10-29
| | | | Review URL: https://codereview.chromium.org/684203002