aboutsummaryrefslogtreecommitdiffhomepage
path: root/platform_tools
Commit message (Collapse)AuthorAge
* Use a statically linked libhwui for testing.Gravatar djsollen2016-02-16
| | | | | | GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1688383005 Review URL: https://codereview.chromium.org/1688383005
* Remove check for platform_tools/android/third_party/externals.Gravatar mtklein2016-02-12
| | | | | | | | | We don't sync anything into it anymore, so a fresh gclient sync won't create it. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1694813004 Review URL: https://codereview.chromium.org/1694813004
* Update Android framework makefile to build static and shared libsGravatar djsollen2016-02-12
| | | | | | | | Also use static lib for testing tools and expose includes needed for other framework testing tools to statically link in Skia. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1696483002 Review URL: https://codereview.chromium.org/1696483002
* msan: build expat from sourceGravatar mtklein2016-02-07
| | | | | | | | | | | This should let us test it on the MSAN bot. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1674053002 CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN-Trybot Review URL: https://codereview.chromium.org/1674053002
* SampleApp: remove SkWindow::onPDFSaved, it does not workGravatar kkinnunen2016-01-18
| | | | | | | | | | | | | | | | | | | Remove SkWindow::onPDFSaved, it does not work and it is not used anymore. Also, it is very SampleApp -specific feature implemented in SkWindow class. SkWindow class is probably intended to be more app-agnosting than what this method implies. Presumably the idea of the callback was to inform the user of SampleApp that the PDF was saved to a certain location. For Android SampleApp, show a hardcoded toast that the PDF was saved to /sdcard. BUG=skia:4733 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1547923002 Review URL: https://codereview.chromium.org/1547923002
* VisualBench: Make the Android SDL app start without cmdline argumentsGravatar kkinnunen2016-01-14
| | | | | | | | | | | | Make the Android SDL VisualBench start even if it is started without command-line arguments. Also makes it start when started by pressing the icon. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1573913008 Review URL: https://codereview.chromium.org/1573913008
* VisualBench: Use first succeeding EGL APIGravatar kkinnunen2016-01-14
| | | | | | | | | | | | | | | Fix initialization of the app window by using the first EGL context that succeeds, not the last one. Fixes the window creation in some cases on devices that support OpenGL and OpenGL ES. Also check EGL call results. BUG=skia:4733 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1582313002 Review URL: https://codereview.chromium.org/1582313002
* SampleApp: Make android_install_app and android_launch_app work consistentlyGravatar kkinnunen2016-01-14
| | | | | | | | | | | | | | | | | Make android_install_app work more consistently: * App can be "SampleApp" or "VisualBench" Make android_launch_app work more consistently: * Parameters to SampleApp are passed correctly * SampleApp is actually launched The parameters to "am" need to be quoted, since the command is run on the device shell. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1589883002 Review URL: https://codereview.chromium.org/1589883002
* Make android scripts not warn about ADB in newer SDKsGravatar kkinnunen2016-01-13
| | | | | | | | | | | | | | | | | The older SDK says: $ adb version Android Debug Bridge version 1.0.32 The newer SDK says: $ adb version Android Debug Bridge version 1.0.32 Revision eac51f2bb6a8-android Removes the shebang as the file is not intended to be run, and the copyright would render it useless. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1583793002 Review URL: https://codereview.chromium.org/1583793002
* Android bots: set battery threshold to 80%Gravatar borenet2016-01-04
| | | | | | | BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1559913003 Review URL: https://codereview.chromium.org/1559913003
* Android devices: wait for 100% chargeGravatar borenet2016-01-04
| | | | | | | | | Some devices are getting pretty low by the end of the build (3%). No reason to cut it close, bump to 100% charge. This will cause some devices to sit for a while as they charge up. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1556023002 Review URL: https://codereview.chromium.org/1556023002
* adb_wait_for_device: More fixesGravatar borenet2015-12-15
| | | | | | BUG=skia:4690 Review URL: https://codereview.chromium.org/1527713002
* adb_wait_for_device: Add battery fallback, support no batteryGravatar borenet2015-12-14
| | | | | | | BUG=skia:4690 TBR=rmistry Review URL: https://codereview.chromium.org/1528563002
* 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
* Add android_skp_capture.py, JSON file for geniewidgetGravatar borenet2015-12-04
| | | | | | | | | The script runs through the directory of JSON files, capturing SKPs from the apps specified by the JSON files. BUG=skia: Review URL: https://codereview.chromium.org/1483063006
* Modify iOSShell-gyp to generate unique bundle identifierGravatar stephana2015-12-02
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/1483143002
* Parse command line arguments for sdl + androidGravatar joshualitt2015-11-10
| | | | | | | TBR= BUG=skia: Review URL: https://codereview.chromium.org/1432983002
* Fixes for building with sdl on androidGravatar joshualitt2015-11-10
| | | | | | | BUG=skia: TBR=bsalomon@google.com Review URL: https://codereview.chromium.org/1437613002
* Remove dependencies on Android's forked decoder librariesGravatar msarett2015-11-06
| | | | | | | | | | | Disable SkImageDecoder's code which relies on Android's customized libpng and libjpeg. Build standard versions of libpng and libjpeg-turbo everywhere. The SkImageDecoder code has been replaced with SkCodec, which can decode subsets using standard library APIs BUG=skia: Review URL: https://codereview.chromium.org/1406153015
* Wire up SDL on AndroidGravatar joshualitt2015-11-05
| | | | | | | | BUG=skia: Committed: https://skia.googlesource.com/skia/+/a4d3797c3b0f0cac8493c46cb334ca88a5d6ccf6 Review URL: https://codereview.chromium.org/1415453009
* Revert of Wire up SDL on Android (patchset #4 id:60001 of ↵Gravatar joshualitt2015-11-05
| | | | | | | | | | | | | | | | | | | | | | https://codereview.chromium.org/1415453009/ ) Reason for revert: breaks appurify Original issue's description: > Wire up SDL on Android > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/a4d3797c3b0f0cac8493c46cb334ca88a5d6ccf6 TBR=bsalomon@google.com,robertphillips@google.com,joshualitt@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1410703009
* Wire up SDL on AndroidGravatar joshualitt2015-11-05
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/1415453009
* Fix visualbench exiting on startup on androidGravatar joshualitt2015-10-26
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/1416123003
* Clean up iOS build filesGravatar jvanverth2015-10-15
| | | | Review URL: https://codereview.chromium.org/1409663002
* 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
* android/apps: Add CanvasProof App;Gravatar halcanary2015-09-23
| | | | | | | | | | | | Compare Ganesh and HWUI canvas rendering of SKPs on android. Put SKP files in .../canvasproof/src/main/assets/skps Run on a Marshmallow device. NOTREECHECKS=true Review URL: https://codereview.chromium.org/1258123004
* 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
* VisualBenchTest: Read nanobench_flags.txtGravatar borenet2015-09-02
| | | | | | BUG=skia:4093 Review URL: https://codereview.chromium.org/1314873005
* Run Appurify bot in release modeGravatar borenet2015-08-31
| | | | | | BUG=skia:4093 Review URL: https://codereview.chromium.org/1306953006
* 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
* Style Change: NULL->nullptrGravatar halcanary2015-08-27
| | | | | | DOCS_PREVIEW= https://skia.org/?cl=1316233002 Review URL: https://codereview.chromium.org/1316233002
* Style Change: SkNEW->new; SkDELETE->deleteGravatar halcanary2015-08-26
| | | | | | DOCS_PREVIEW= https://skia.org/?cl=1316123003 Review URL: https://codereview.chromium.org/1316123003
* VisualBenchTest: Write JSON outputGravatar borenet2015-08-20
| | | | | | BUG=skia:4093 Review URL: https://codereview.chromium.org/1302103002
* Add VisualBenchTestActivity for instrumentation-testing VisualBenchGravatar borenet2015-08-19
| | | | | | BUG=skia:4093 Review URL: https://codereview.chromium.org/1295823004
* Revert of Update skia to test with libpng to 1.6.10 (patchset #3 id:60001 of ↵Gravatar msarett2015-08-18
| | | | | | | | | | | | | | | | | | | | | | https://codereview.chromium.org/1301523005/ ) Reason for revert: DM is failing on gm tests on Android bots. Cause is not yet clear. Original issue's description: > Update skia to test with libpng to 1.6.10 > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/f272bb03df9b86e7ea2cf23fb4d5cc56624e0118 TBR=djsollen@google.com,scroggo@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1298223002
* Update skia to test with libpng to 1.6.10Gravatar msarett2015-08-18
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/1301523005
* Switching Skia to chromium's libjpeg-turboGravatar msarett2015-08-11
| | | | | | | | | | | Compile SkJpegCodec and SkImageDecoder_libjpeg with chromium's libjpeg-turbo. SkImageDecoder_libjpeg still uses libjpeg on Android and the Android framework. SkJpegCodec is still not compiled on the Android framework. BUG=skia: Review URL: https://codereview.chromium.org/1275773004
* 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
* Fix repeat builds with Android.Gravatar bungeman2015-07-31
| | | | | | | | | Currently the SampleApp and VisualBench builds for Android don't work for rebuilds. The code is re-built, but the apks are not. This results from the use of a directory as 'output' and the action to build the apk not depending on the copied libraries. Review URL: https://codereview.chromium.org/1270643005
* 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