aboutsummaryrefslogtreecommitdiffhomepage
path: root/platform_tools/android
Commit message (Collapse)AuthorAge
* 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
* Update the version of cpu-features that we use for testing.Gravatar djsollen2015-01-21
| | | | Review URL: https://codereview.chromium.org/858233003
* Remove another GM reference.Gravatar mtklein2015-01-21
| | | | | | | | | | This should make the android self-tests start passing again. Rebaselined with: $ python makefile_writer_tests.py --rebaseline BUG=skia: Review URL: https://codereview.chromium.org/860333004
* 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 some debugging information to gyp_to_android.Gravatar scroggo2014-12-12
| | | | | | | | | | | Temporary, to help diagnose skbug.com/3233 TBR=borenet NOTRY=True NOTREECHECKS=True BUG=skia:3233 Review URL: https://codereview.chromium.org/802703002
* 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
* Change how SkDebugf is sent to stdout on Android.Gravatar scroggo2014-12-10
| | | | | | | | | | | | | Previously, a function was called using dlsym in skia_launcher. Add a static initializer that changes the setting, and include that for the tools we automate for testing. Also only do va_copy if we actually use it. BUG=skia:2454 Review URL: https://codereview.chromium.org/753543003
* Cleanup public includes directory.Gravatar djsollen2014-11-13
| | | | | | | | | | | | | | | | | This CL updates various files in the includes directory to ensure that (1) they do not depend on headers in /src and (2) that they minimize their dependence on external headers. To ensure that we don't regress this behavior a new build target has been added to build a single cpp file that contains all* public includes and is compiled with only those directories in the include path. * The exception is those includes that depend on OS specific headers BUG=skia:2941 NOTRY=true Review URL: https://codereview.chromium.org/721903002
* 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 LOCAL_PICKUP_FILES to dm and bench makefiles.Gravatar scroggo2014-11-07
| | | | | | | | | | | | | | | | | Update the generator to include a line for LOCAL_PICKUP_FILES. When generating makefiles for our tests, they will now have the following line: LOCAL_PICKUP_FILES := \ $(LOCAL_PATH)/../resources This allows testing infrastructure to pick up resource files used by our tests. Update expectations files to test LOCAL_PICKUP_FILES. BUG=skia:2454 Review URL: https://codereview.chromium.org/704393002
* 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
* Revert of Update the Android NDK to r10c (patchset #1 id:1 of ↵Gravatar hcm2014-10-28
| | | | | | | | | | | | | | | | | | https://codereview.chromium.org/687603002/) Reason for revert: Spooky behavior on Nexus GPUs Original issue's description: > Update the Android NDK to r10c > > Committed: https://skia.googlesource.com/skia/+/a01a17b3f2f225d9499627e20f9b42ce351bd0eb TBR=tomhudson@chromium.org,borenet@google.com,tomhudson@google.com,djsollen@google.com NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/685753003
* Update the Android NDK to r10cGravatar djsollen2014-10-28
| | | | Review URL: https://codereview.chromium.org/687603002
* Make -d x86 have the default GPU cache size.Gravatar mtklein2014-09-09
| | | | | | | | | | | We have no a priori reason to limit the cache for new devices. BUG=skia: R=djsollen@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/556863006
* Fix adb_pull_if_neededGravatar borenet2014-08-29
| | | | | | | | | BUG=skia: R=djsollen@google.com Author: borenet@google.com Review URL: https://codereview.chromium.org/519743002
* Add Android copy_directory_contents_[to|from]_device scriptsGravatar Eric Boren2014-08-28
| | | | | | | | BUG=skia: NOTRY=true R=djsollen@google.com Review URL: https://codereview.chromium.org/510653004
* add n5Gravatar mtklein2014-08-27
| | | | | | | | | | | NOTRY=true BUG=skia: R=djsollen@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/506403004
* Fix root level Android.mk to now point to the correct nanobench makefileGravatar djsollen2014-08-21
| | | | | | | | R=mtklein@google.com Author: djsollen@google.com Review URL: https://codereview.chromium.org/494193003
* Cleanup FDO options.Gravatar djsollen2014-08-21
| | | | | | | | R=tomhudson@google.com Author: djsollen@google.com Review URL: https://codereview.chromium.org/489373004
* Update FDO options to match what is needed by the frameworkGravatar djsollen2014-08-21
| | | | | | | | R=tomhudson@google.com Author: djsollen@google.com Review URL: https://codereview.chromium.org/497503003
* Android.mk: bench_pictures -> nanobenchGravatar mtklein2014-08-18
| | | | | | | | | | | We're only keeping bench_pictures around for the bots now. For human-initiated work, nanobench is the way to go. BUG=skia: R=djsollen@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/484663002
* Fix Android platform self-testsGravatar borenet2014-08-18
| | | | | | | | | | | Remove things related to no-longer-existing unittests, run makefile_writer_tests --rebaseline BUG=skia:2843 R=djsollen@google.com, scroggo@google.com Author: borenet@google.com Review URL: https://codereview.chromium.org/481943002
* Fix Android framework buildsGravatar Derek Sollenberger2014-08-06
| | | | | | R=mtklein@google.com Review URL: https://codereview.chromium.org/450503002
* Bye bye bench.Gravatar mtklein2014-08-06
| | | | | | | | | | | NOTREECHECKS=true BUG=skia: R=djsollen@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/442343004
* Stop building tests in the Android tree.Gravatar mtklein2014-08-04
| | | | | | | | | BUG=skia: R=djsollen@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/440653004
* Add ability to generate/use FDO profiles for AndroidGravatar djsollen2014-07-29
| | | | | | | | R=scroggo@google.com, bungeman@google.com Author: djsollen@google.com Review URL: https://codereview.chromium.org/420803003
* Fix mac NDK buildsGravatar djsollen2014-07-17
| | | | | | | | R=jvanverth@google.com, scroggo@google.com Author: djsollen@google.com Review URL: https://codereview.chromium.org/401613005
* Fix warning about missing shared library symbols in android_gdbserverGravatar qiankun.miao2014-07-17
| | | | | | | | | | | | Grab related shared libraryies. Remove libcorkscrew.so due libcorkscrew is removed from AOSP. BUG=skia: R=djsollen@google.com Author: qiankun.miao@intel.com Review URL: https://codereview.chromium.org/399843002
* Generate makefile for bench_pictures.Gravatar scroggo2014-07-17
| | | | | | | | | | | | When generating Android framework makefiles, create one for bench_pictures. BUG=skia:2744 R=djsollen@google.com, halcanary@google.com, mtklein@google.com Author: scroggo@google.com Review URL: https://codereview.chromium.org/391423002
* Make gdb work for 64-bit SkiaGravatar qiankun.miao2014-07-16
| | | | | | | | | BUG=skia: R=djsollen@google.com Author: qiankun.miao@intel.com Review URL: https://codereview.chromium.org/398733002
* Alphabetize defines in generated SkUserConfig.Gravatar scroggo2014-07-14
| | | | | | | | | | | | | When generating SkUserConfig.h for Android, alphabetize the defines. This will make one merge much harder to look at, but every following one much easier. R=mtklein@google.com Author: scroggo@google.com Review URL: https://codereview.chromium.org/388693003
* explicitly add /data/local/tmp to the library path to support new AOSP ↵Gravatar djsollen2014-07-11
| | | | | | | | | | | restrictions BUG=skia:2660 R=tomhudson@chromium.org, tomhudson@google.com Author: djsollen@google.com Review URL: https://codereview.chromium.org/387893003
* Add config to build mips with dsp2 optimizations enabled by default.Gravatar Derek Sollenberger2014-07-10
| | | | | | R=borenet@google.com Review URL: https://codereview.chromium.org/380213004
* update our build system to support the experimental L-Release NDKGravatar Derek Sollenberger2014-07-10
| | | | | | | | This includes adding 64-bit support for arm, x86, and mips. R=borenet@google.com Review URL: https://codereview.chromium.org/377993002
* Add missing / in android_gdbserverGravatar tomhudson2014-07-08
| | | | | | | | | | | | | Introduced in https://codereview.chromium.org/22617002, apparently worked just fine, at least on already-set-up devices. Failing at least since https://codereview.chromium.org/352303003/. BUG=skia:2729 R=djsollen@google.com, tomhudson@google.com Author: tomhudson@chromium.org Review URL: https://codereview.chromium.org/372273003
* Use BUILD_NATIVE_TEST instead of BUILD_EXECUTABLE.Gravatar scroggo2014-07-08
| | | | | | | | | | | | | | | | This will generate makefiles for our tools (bench, tests, gm, dm) using the line "include $(BUILD_NATIVE_TEST)". This has been recommended by the Android team, as it builds both 32 bit and 64 bit versions of the test. Do not use LOCAL_MODULE_PATH, which is deprecated (see https://docs.google.com/a/google.com/document/d/1uLAuY7_KYGx1TSzJ9SXkyevT8qNpra2ZoIBkmCoq8VM/edit# ). Corresponds to ag/498302 , which makes this change just for bench. R=djsollen@google.com, halcanary@google.com Author: scroggo@google.com Review URL: https://codereview.chromium.org/369673002
* make skia_launcher be a position independent executableGravatar Derek Sollenberger2014-07-08
| | | | | | R=tomhudson@google.com Review URL: https://codereview.chromium.org/374833003
* Specify the name of tool for creating a makefile.Gravatar scroggo2014-07-01
| | | | | | | | | | | | | | | | | When generating tool Android.mks from gyp files, specify the name of the target needed. This fixes a bug where nanobench was being added to the same makefile as bench, which would not compile. TODO: Make gyp_to_android more general, so that it handles this case better. See http://skbug.com/2709 R=mtklein@google.com Author: scroggo@google.com Review URL: https://codereview.chromium.org/366653002
* Push resources to Android deviceGravatar qiankun.miao2014-06-29
| | | | | | | | | | | | | The resources directory is required by some benchmarks. Push it to device's /data/local/tmp. Add "-i /data/local/tmp/resources" to command line when using these resources. BUG=skia: R=djsollen@google.com, mtklein@google.com, borenet@google.com Author: qiankun.miao@intel.com Review URL: https://codereview.chromium.org/352303003
* Move BenchTimer to tools as TimerGravatar mtklein2014-06-20
| | | | | | | | | | | | | | | This breaks a bunch of circular dependencies between tools and gm and bench. BUG=skia: Committed: https://skia.googlesource.com/skia/+/4ed75287aed6371c6e4a41ffcc78c8a49c9810ed CQ_EXTRA_TRYBOTS=tryserver.skia:Build-Mac10.7-Clang-Arm7-Debug-iOS-Trybot,Test-Ubuntu12-ShuttleA-GTX660-x86-Debug-Trybot R=tfarina@chromium.org, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/344213003