aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin
Commit message (Collapse)AuthorAge
* add --sync to adb push in bin/droidGravatar Mike Klein2018-06-28
| | | | | | | | | | | This skips pushing files that are already present. Change-Id: Ibe86be1e553da3cbe9d02d00764164d9e0745f8d Reviewed-on: https://skia-review.googlesource.com/138164 Commit-Queue: Mike Klein <mtklein@chromium.org> Commit-Queue: Hal Canary <halcanary@google.com> Auto-Submit: Mike Klein <mtklein@chromium.org> Reviewed-by: Hal Canary <halcanary@google.com>
* Update gnGravatar Ben Wagner2018-05-23
| | | | | | | | | | | | | The currrent gn is quite old. The new gn, among other fixes, now supports checking includes. The values come from https://chromium.googlesource.com/chromium/buildtools.git/+/893eb86b02b2571894e328f05551112b96df1cce Change-Id: Ia2e47e18c7bbd3219a258fd6cc9063bf38588d00 Reviewed-on: https://skia-review.googlesource.com/129720 Commit-Queue: Mike Klein <mtklein@google.com> Reviewed-by: Mike Klein <mtklein@google.com>
* remove fetch-gn dependency on buildtoolsGravatar Mike Klein2018-02-21
| | | | | | | | | | | | | | | This makes it possible to fetch GN without syncing DEPS. To roll GN now, just update the three hashes in bin/fetch-gn. buildtools is still a dependency of fetch-clang-format. Bug: skia:7634 Change-Id: Ida6b516cfb0b306da73550875ab1ff97c9da6a64 Reviewed-on: https://skia-review.googlesource.com/107882 Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
* fetch-clang-format: better error checkingGravatar Hal Canary2018-01-22
| | | | | | | Change-Id: Idc0e984275056128301d4f1ae66aa6ace67b05d5 Reviewed-on: https://skia-review.googlesource.com/98322 Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
* Add directions for when trouble strikes in fetch-skps.Gravatar Herbert Derby2018-01-04
| | | | | | | Change-Id: I53c02c12a327f6484f4e45777c0168065adfae75 Reviewed-on: https://skia-review.googlesource.com/91080 Reviewed-by: Ravi Mistry <rmistry@google.com> Commit-Queue: Herb Derby <herb@google.com>
* bin/try: No prompt for a single matching jobGravatar Eric Boren2017-12-11
| | | | | | | | | NOTRY: true Bug: skia: Change-Id: I14e71f96b56b4288807bcc5189593b22d3078824 Reviewed-on: https://skia-review.googlesource.com/83443 Commit-Queue: Eric Boren <borenet@google.com> Reviewed-by: Ravi Mistry <rmistry@google.com>
* bin/try: Add interactive modeGravatar Eric Boren2017-10-18
| | | | | | | | Bug: skia: Change-Id: Iceb1834f1a3aa7594227ff3adf187c650aa30367 Reviewed-on: https://skia-review.googlesource.com/61480 Commit-Queue: Eric Boren <borenet@google.com> Reviewed-by: Ravi Mistry <rmistry@google.com>
* bin/try: add support for internal botsGravatar Eric Boren2017-10-17
| | | | | | | | Bug: skia: Change-Id: Iae6b2dc1098c9763ceec0289129818e1948a974c Reviewed-on: https://skia-review.googlesource.com/60543 Reviewed-by: Ravi Mistry <rmistry@google.com> Commit-Queue: Eric Boren <borenet@google.com>
* bin/try: Add support for select Chromium trybotsGravatar Eric Boren2017-10-17
| | | | | | | | | | | These are hard-coded in update_meta_config.py, which is used to set the list of trybots in Gerrit. Bug: skia: Change-Id: I6e512e4cb59974e27e8954cf5134c70068e716f3 Reviewed-on: https://skia-review.googlesource.com/60521 Reviewed-by: Ravi Mistry <rmistry@google.com> Commit-Queue: Eric Boren <borenet@google.com>
* Add bin/try scriptGravatar Eric Boren2017-10-16
| | | | | | | | | | | | Wrapper for "git cl try" which allows searching jobs using regular expressions. Bug: skia: Change-Id: I07a1b487f2eca9da7df4c4d4c65e22e459b76fed Reviewed-on: https://skia-review.googlesource.com/60261 Commit-Queue: Eric Boren <borenet@google.com> Reviewed-by: Kevin Lubick <kjlubick@google.com> Reviewed-by: Ravi Mistry <rmistry@google.com>
* add a Win/Clang build botGravatar Mike Klein2017-07-31
| | | | | | | | | | BUG=skia:2679 CQ_INCLUDE_TRYBOTS=skia.primary:Build-Win-Clang-x86_64-Release Change-Id: I861366ae1340abcc67e87041904d08337b465bbe Reviewed-on: https://skia-review.googlesource.com/28864 Reviewed-by: Eric Boren <borenet@google.com>
* clang on windows supportGravatar Mike Klein2017-07-31
| | | | | | | | | | | | | | | | | 1) Run python bin/fetch-clang-win 2) Set clang_win = "../bin/clang_win" 3) ??? 4) Profit Most changes here are to pass the right -mfoo flags to Clang to enable advanced instruction sets, or fixed warning-as-errors. BUG=skia:2679 Change-Id: Ieed145d35c209131c7c16fdd3ee11a3de4a1a921 Reviewed-on: https://skia-review.googlesource.com/28740 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
* bin/fetch-clang-formatGravatar Hal Canary2017-03-08
| | | | | | | Change-Id: I7deb9b49b4a3a361888a6afc07b4c6341a4b16cf Reviewed-on: https://skia-review.googlesource.com/9410 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Hal Canary <halcanary@google.com>
* Add a way to compute the code coverage of fuzzersGravatar Kevin Lubick2017-02-15
| | | | | | | | | | | | This also fixes bin/coverage. fuzz/coverage borrows heavily from bin/coverage. BUG=skia: Change-Id: I9e353d1f5ea3bca1d57d66b1c1ecabc6f9b23cee Reviewed-on: https://skia-review.googlesource.com/8414 Reviewed-by: Joe Gregorio <jcgregorio@google.com> Commit-Queue: Kevin Lubick <kjlubick@google.com>
* Clean up more references to GYP.Gravatar Mike Klein2017-02-06
| | | | | | | | | | Delete files only used by GYP, and files that used GYP. Neither can possibly be actively used. Beyond that, just a couple doc tweaks. Change-Id: I0220d7226e7bb9ed7c54a7d8f2906a718313c521 Reviewed-on: https://skia-review.googlesource.com/8062 Commit-Queue: Mike Klein <mtklein@chromium.org> Reviewed-by: Hal Canary <halcanary@google.com>
* bin/list-skia-botsGravatar Hal Canary2017-02-02
| | | | | | | | NOTRY=true Change-Id: Ie123bf796ff062972fd86319f0a20f3a81a9b2ff Reviewed-on: https://skia-review.googlesource.com/7982 Reviewed-by: Kevin Lubick <kjlubick@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
* bin/fetch-gn is 3.5x fasterGravatar Hal Canary2017-01-30
| | | | | | | Change-Id: I8098a38eb81efe0a73201c1f00dff8363b9c2075 Reviewed-on: https://skia-review.googlesource.com/7025 Commit-Queue: Hal Canary <halcanary@google.com> Reviewed-by: Mike Klein <mtklein@chromium.org>
* bin/sync : call tools/git-sync-deps nowGravatar Hal Canary2017-01-27
| | | | | | | | | | Also, update some docs. NOTRY=true Change-Id: I7ad3375fc1cbf8f71ed42a460ecfe29ef6c1d85e Reviewed-on: https://skia-review.googlesource.com/7657 Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
* drop depot_tools dependency in bin/fetch-gnGravatar Mike Klein2017-01-12
| | | | | | | | | ... and copy gn to bin/ when done to make it easy to find. Change-Id: I1ec405b4c45efb828626ff7d904a417f69b39cb2 Reviewed-on: https://skia-review.googlesource.com/6962 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
* tools and docs: clean up gyp-specific thingsGravatar Hal Canary2016-12-09
| | | | | | | | | | | BUG=skia: DOCS_PREVIEW= https://skia.org/?cl=5770 Change-Id: Iadc436a68cbf7ec0d1dd3c019072eb28bf589bb6 Reviewed-on: https://skia-review.googlesource.com/5770 Commit-Queue: Hal Canary <halcanary@google.com> Reviewed-by: Mike Klein <mtklein@chromium.org>
* Build for Android from Windows, work in progress.Gravatar Mike Klein2016-10-26
| | | | | | | | | | | | | | | | | Pretty vanilla stuff here, mostly just making the gcc-like toolchain Windows friendly. I was having trouble getting rm -r {{output}} && $ar rcs {{output}} @$rspfile to work without deleting my ar.exe, so I chickened out the usual way by adding gn/ar.py. I've also updated bin/droid to work with Git Bash on Windows. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3751 Change-Id: I04c34ccc91e6a291c11ac4e7a7a0ffe41d879fe6 Reviewed-on: https://skia-review.googlesource.com/3751 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
* bin/sync: call fetch-gn when DEPS changesGravatar Hal Canary2016-10-25
| | | | | | | Change-Id: Ifb2a364df1a8817152a2c1e79748d14534a9e523 Reviewed-on: https://skia-review.googlesource.com/3904 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Hal Canary <halcanary@google.com>
* bin/coverage: a GN version of the coverage scriptGravatar halcanary2016-09-26
| | | | | | | | intended to replace tools/coverage when GYP is gone. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2343243002 Review-Url: https://codereview.chromium.org/2343243002
* Update GN droid scriptGravatar egdaniel2016-09-14
| | | | | | | | | | | | Splits the pushes into different lines since old adbs cannot handle the one line command TBR=mtklein@google.com BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2339293002 Review-Url: https://codereview.chromium.org/2339293002
* GN: add a helper script for running Android buildsGravatar mtklein2016-09-08
| | | | | | | | | | | | Think of this as the spiritual equivalent of platform_tools/android/bin/android_run_skia, but for GN and easier to type. Cutting down the debug symbols makes Android builds about 1/4 the size. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2323833002 DOCS_PREVIEW= https://skia.org/user/quick/gn?cl=2323833002 Review-Url: https://codereview.chromium.org/2323833002
* cleanup dead nanomsg and build_overridesGravatar mtklein2016-08-27
| | | | | | | | BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2287013003 TBR= Review-Url: https://codereview.chromium.org/2287013003
* Pick the right download tool for windows.Gravatar herb2016-08-01
| | | | | | | BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2197423002 Review-Url: https://codereview.chromium.org/2197423002
* Change SKPs to new asset management formatGravatar borenet2016-07-22
| | | | | | | | BUG=skia:5427 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2169653003 DOCS_PREVIEW= https://skia.org/?cl=2169653003 Review-Url: https://codereview.chromium.org/2169653003
* GN: restore gn.py partly as fetch-gnGravatar mtklein2016-07-22
| | | | | | | | | | Same as before, except it explicitly only fetches GN instead of acting like a proxy for it. I found myself always typing 'gn' anyway. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2167353002 Review-Url: https://codereview.chromium.org/2167353002
* bin/fetch-skps: print instruction on errorGravatar halcanary2016-04-26
| | | | | | NOTRY=true Review URL: https://codereview.chromium.org/1919133003
* bin/syncGravatar halcanary2016-04-25
| | | | Review URL: https://codereview.chromium.org/1915223002
* bin/sync-and-gyp: more dirs to searchGravatar halcanary2016-04-25
| | | | Review URL: https://codereview.chromium.org/1914993003
* Fix gyp-and-sync for windowsGravatar bsalomon2016-02-22
| | | | | | GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1715423003 Review URL: https://codereview.chromium.org/1715423003
* bin/sync-and-gyp: better error checkingGravatar halcanary2016-02-17
| | | | | | NOTRY=true Review URL: https://codereview.chromium.org/1704143002
* bin/sync-and-gyp: pass --deps='...' to `gclient sync`.Gravatar halcanary2016-02-17
| | | | | | GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1705063002 Review URL: https://codereview.chromium.org/1705063002
* come on, this is how you drive-byGravatar mtklein2016-02-17
| | | | | | | BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1708563002 Review URL: https://codereview.chromium.org/1708563002
* bin/sync-and-gyp: start using gclientGravatar halcanary2016-02-16
| | | | | | | | | | stop using hard-to-maintain git-sync-deps BUG=skia:4885 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1693963005 Review URL: https://codereview.chromium.org/1693963005
* bin/sync-and-gyp: sh->py (make more cross-platform)Gravatar halcanary2015-11-09
| | | | Review URL: https://codereview.chromium.org/1425593011
* compare has a syntax error where it is missing the path to sem().Gravatar herb2015-11-06
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/1420963010
* bin/deps-and-gyp -> bin/sync-and-gypGravatar mtklein2015-11-03
| | | | | | | | NOTREECHECKS=true BUG=skia: Review URL: https://codereview.chromium.org/1423463005
* bin/deps-and-gyp: deal with corner cases cleanlyGravatar halcanary2015-11-03
| | | | | | | TBR=mtklein@google.com NOTRY=true Review URL: https://codereview.chromium.org/1415193006
* bin/deps-and-gyp: gclient-free solutionGravatar halcanary2015-11-03
| | | | Review URL: https://codereview.chromium.org/1426103004
* bin/sync-and-gyp: gclient hackeryGravatar halcanary2015-11-02
| | | | Review URL: https://codereview.chromium.org/1427183003
* Make bin/c and bin/compare work on Windows.Gravatar mtklein2015-10-28
| | | | | | | | | | | | | | | - Call python explicitly. - Drop numpy dependency (on numpy.mean.... come on.) - Make scipy dependency optional. Depends on https://codereview.chromium.org/1419073003 to really work. BUG=skia: Doesn't change code. NOTRY=true Review URL: https://codereview.chromium.org/1416833004
* sync-and-gyp: Update shell script to correct the syntax of functionsGravatar Hal Canary2015-09-11
| | | | | | R=halcanary@gmail.com Review URL: https://codereview.chromium.org/1342543003 .
* Add instructions to authenticate for fetch.Gravatar herb2015-08-21
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/1305143002
* Change to use mean and to use stderr.Gravatar herb2015-07-09
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/1228783003
* Don't suppress nanobench output table in verbose modeGravatar cdalton2015-06-26
| | | | | | | | | Changes verbose mode to print both the table and the individual sample values. No need to hold back information in verbose mode. BUG=skia: Review URL: https://codereview.chromium.org/1208763003
* sync-and-gyp: make smarterGravatar halcanary2015-05-26
| | | | | | | | | | | | | This fixes two issues: If gyp is run with the CXX and CC environment variables set, it will produce different ninja build files. sync-and-gyp now tracks the values of those variables; if they change, re-run gyp. Secondly, we introduced find.py, which is used inside gyp files. If the contents of certain directories changes, gyp should be re-run. So now we track those directories too. Review URL: https://codereview.chromium.org/1153083002
* Make the c and ac scripts work with sh and without bin in PATHGravatar kkinnunen2015-05-15
| | | | | | | | | | | | | Make the bin/c and bin/ac scripts work with sh. The scripts are run with /bin/sh shebang, which fails atleast on ubuntu 12.04 /bin/sh. The sh in Ubuntu 12.04 is dash. The fixes are according to the suggestions in http://mywiki.wooledge.org/Bashism Also run "compare" script with explicit ./bin/ path to support people who do not have skia/bin in PATH. Review URL: https://codereview.chromium.org/1139033005