Commit Graph

63 Commits

Author SHA1 Message Date
Nicolette Prevost
39fe4360fd Update Perfetto reference following fix for b/234001590
Change-Id: I024d9ab105537c4d45e2b25e00215a7823b6e408
Bug: skia:13303
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/545677
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Nicolette Prevost <nicolettep@google.com>
2022-06-16 15:16:55 +00:00
Nicolette Prevost
c9c86fef72 Force removal of broken symlink that ships with Perfetto
Bug: skia:13303
Change-Id: I2b439ba443c865b08c20aef586b85e3d311b7bc8
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/543920
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
2022-05-25 21:27:30 +00:00
Kevin Lubick
c002866c71 [infra] Avoid timeouts in CreateDockerImage_Skia_WASM_Release
Change-Id: Ia167a4ed2697374d140d989134ec6ac66b01f023
Bug: skia:13128
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/528696
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
2022-04-08 12:26:54 +00:00
Kevin Lubick
03f84116a8 [canvaskit] Enable Debugger bindings for autobuild
Change-Id: I12a4be7d1dabd721fd4aa82242bf646791a0b229
Bug: skia:12995
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/517677
Reviewed-by: Nathaniel Nifong <nifong@google.com>
2022-03-08 17:42:37 +00:00
Kevin Lubick
c13cd6479d Reland "Build CanvasKit using GN/Ninja"
This is a reland of ecac712bec

Changes (best viewed comparing PS1 to latest)
 - Use emsdk 3.1.3 which includes important bug fixes
 - Remove unnecessary steps in compile.sh
 - Fix use of various gn args.
 - Avoid conflicts with Flutter's GN symbols
 - Add/update docs
 - Make activate-emsdk script compatible with our infra.

Original change's description:
> Build CanvasKit using GN/Ninja
>
> Build with
>
> ./bin/gn gen out/wasm_debug '--args=target_cpu="wasm"'
>
> or
>
> ./bin/gn gen out/wasm_release '--args=target_cpu="wasm" is_debug=false'
>
> Change-Id: Ib74586bf8397d57064a3899eaa6da76f9bce9049
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502036
> Reviewed-by: Kevin Lubick <kjlubick@google.com>
> Reviewed-by: Ben Wagner <bungeman@google.com>

Change-Id: I601712a8953c2799fa029e782e097905b95e6b59
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/507717
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
2022-02-15 16:31:10 +00:00
John Stiles
43abfa13a7 Switch skia-build-tools to debian11.
This allows us to use a newer Clang version that supports C++17.

Change-Id: Ifbff4dbd1f1da0212ea633eb81beb50ebe7744ac
Bug: skia:12875
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/501479
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2022-01-28 16:51:06 +00:00
Ravi Mistry
0e440d2ac8 Remove .git directories from the skia checkout in skia-release
This seems to speed up "Build fiddler image" from 57 mins [1] to 26 mins [2].

[1] https://task-driver.skia.org/td/x5NPJ5z9AqvtVwTuDnjY
[2] https://task-driver.skia.org/td/uU5OP2sq9CtPisbHykHh

Bug: skia:12788
Bug: skia:12816
Change-Id: I8ac9af610c14fdad5e6cb8940c80acdbbc09ca8d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/493976
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Reviewed-by: Leandro Lovisolo <lovisolo@google.com>
Commit-Queue: Ravi Mistry <rmistry@google.com>
2022-01-12 19:25:25 +00:00
Ravi Mistry
656986540c Make out/Static/obj accessible for fiddler autodeployment
Required for https://skia-review.googlesource.com/c/buildbot/+/487217

Bug: skia:12788
Change-Id: Idc675c6e1569d52f653c3c08e706e4af1007abd2
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/492118
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Commit-Queue: Ravi Mistry <rmistry@google.com>
2022-01-06 21:32:19 +00:00
Kevin Lubick
747c321922 [infra] Update cmake docker image to be Debian 10
Bug: skia:12256
Change-Id: Ic5cad6d6e5e7155f0adc26fca9f1172f33ce3b3a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/431260
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
2021-07-23 11:21:31 +00:00
Kevin Lubick
90be6c154e [infra] Fix index.d.ts copy in Wasm Docker build
Change-Id: I0e6a74c02186c97e8f1ca676c3593c4729637654
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/374216
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2021-02-23 15:54:11 +00:00
Kevin Lubick
6a272434c2 [docker] Fix build by pointing to correct path
Change-Id: I66ed32fc354a95e50ecaf68708f67592bda25b76
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/357296
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Reviewed-by: Leon Scroggins <scroggo@google.com>
2021-01-22 17:34:56 +00:00
Kevin Lubick
cff854282d [canvaskit] Include types in docker build
Change-Id: I8ed83eb2bc71d9de7d0a4ac2092b06d9271551a0
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/356917
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
2021-01-21 19:27:29 +00:00
Kevin Lubick
157577b866 [canvaskit,pathkit] Update to emsdk 2.0
There was a break that was solved by adding -lGL to our link
steps. I discovered a few extra flags to aid in debugging builds
and I've left those in (they aren't too noisy IMO).

This changes the base dockerfile to use the official emscripten one.

Code size delta for full build is +5 kb

For future reference, emsdk decides which "library JS" files to
pull in using a83ba99d60/tools/building.py (L1553)
Those JS files live in src (e.g. a83ba99d60/src/library_html5_webgl.js (L222))
and define functions that the C++ code can call.

I'd like to follow-up on what -lEGL is doing.

Also, since the new image no longer has depot_tools, we need
to make docker/skia-wasm-release/Dockerfile install it.

Change-Id: I5a38e61e5080e9c4cb1e0a7e031509bcb107ff86
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/311726
Reviewed-by: Nathaniel Nifong <nifong@google.com>
2020-08-20 14:55:50 +00:00
Joe Gregorio
daa5859e49 Fix swiftshader Dockerfile.
Change-Id: I2e7ecd5f6a6891c32b9a65931592b80e2d52afea
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/304004
Auto-Submit: Joe Gregorio <jcgregorio@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
2020-07-20 17:17:53 +00:00
Kevin Lubick
4c9046f9a9 Fix more swiftshader links
Follow up to https://skia-review.googlesource.com/c/skia/+/303599

Bug: skia:10510
Change-Id: I302860c137ea6b3b7c513b10145325f2726be10b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/303919
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2020-07-20 13:37:05 +00:00
Joe Gregorio
c57327d2ed Use the new swiftshader bucket.
Bug: skia:10510
Change-Id: I91d447fd053a4e4dde22ce2db22905edb0dd2f8c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/303599
Auto-Submit: Joe Gregorio <jcgregorio@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2020-07-17 20:17:43 +00:00
Ravi Mistry
3b2ff2deb8 Support specifying hash and patch_ref in skia-release & skia-wasm-release Dockerfiles
Bug: skia:10198
Change-Id: If6d47e95ffdbc12f0b31284353d8f48b43cd0041
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/287830
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Commit-Queue: Ravi Mistry <rmistry@google.com>
2020-05-06 20:39:04 +00:00
Kevin Lubick
2514bd790a [infra] Remove old cloudbuild file
Change-Id: I3deeb263abbb8fff41531130cd3a0b8d818bf105
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/285717
Auto-Submit: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Ravi Mistry <rmistry@google.com>
Commit-Queue: Ravi Mistry <rmistry@google.com>
2020-04-27 23:29:47 +00:00
Joe Gregorio
dff41733f9 Revert "fiddle - Don't make warnings into errors."
This reverts commit b2031d4255.

Reason for revert: Breaks fiddle.

Original change's description:
> fiddle - Don't make warnings into errors.
> 
> Bug: skia:
> Change-Id: I01327003aa6a674dda9f8959fa69a386d0c017a8
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/183982
> Reviewed-by: Ravi Mistry <rmistry@google.com>
> Commit-Queue: Ravi Mistry <rmistry@google.com>
> Auto-Submit: Joe Gregorio <jcgregorio@google.com>

TBR=rmistry@google.com,jcgregorio@google.com

Change-Id: If85a7da4a523277208d197dc01e534aec2cc6d67
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/269490
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Commit-Queue: Joe Gregorio <jcgregorio@google.com>
2020-02-07 21:39:38 +00:00
Joe Gregorio
b2031d4255 fiddle - Don't make warnings into errors.
Bug: skia:
Change-Id: I01327003aa6a674dda9f8959fa69a386d0c017a8
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/183982
Reviewed-by: Ravi Mistry <rmistry@google.com>
Commit-Queue: Ravi Mistry <rmistry@google.com>
Auto-Submit: Joe Gregorio <jcgregorio@google.com>
2020-02-07 21:08:27 +00:00
Kevin Lubick
f76da63fbd [canvaskit] Update build script to support latest Emscripten
Add workaround for https://github.com/emscripten-core/emscripten/issues/10072

Note to reviewer, please check out the steps I added
in canvaskit/README.md to document this process.

Bug: skia:9816
Change-Id: Idbe7ff08ac62f4f4d70e656384831b8d24c4a684
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/266941
Reviewed-by: Eric Boren <borenet@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2020-01-28 15:41:58 +00:00
Ravi Mistry
6f217e0f8d Make OUTPUT_DIRECTORY in ProdDoxyfile configurable
Bug: skia:9514
Change-Id: I628c2a59302e22c8d4c0973def0a3a11f7f882b7
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/260817
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Commit-Queue: Ravi Mistry <rmistry@google.com>
2019-12-18 16:46:25 +00:00
Joe Gregorio
4cb778e367 Fix usage of depot_tools in containers.
depot_tools w/vpython now seems to require the depot_tools dir
to be on PATH, and also python and curl need to be installed.

  * Creates a new base image that has all the build tools we need for
building Skia: skia-build-tools.
  * Moves skia-release to use that new base image.
  * Moves both the skia-release and wasm builds to use fetch and gclient sync.
  * Changes gcr.io/skia-public/emsdk-base:prod to depend on skia-build-tools.


Bug: skia:993053
Change-Id: Ib6218d8c18dd59d43de84dcf063f204cfc8556d0
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/248556
Commit-Queue: Joe Gregorio <jcgregorio@google.com>
Reviewed-by: Eric Boren <borenet@google.com>
2019-10-14 19:38:40 +00:00
Kevin Lubick
fa5a138170 [canvaskit] Update to build with emscripten 1.38.47
Bug: skia:9052
Change-Id: Ic1aec2c9b8ace556f5b77862582894f59fd26b64
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/247302
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2019-10-09 15:08:10 +00:00
Joe Gregorio
2b1a25a4d3 Fix Cloud Build for vpython.
Bug: 993053
Change-Id: I9af5bbf7c715701ba403e2b7ab2e720a1792fb0c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/247149
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Commit-Queue: Joe Gregorio <jcgregorio@google.com>
2019-10-08 23:43:33 +00:00
Joe Gregorio
df2726ee7a Revert "Another attempt to fix vpython in Cloud Build."
This reverts commit e7bc084498.

Reason for revert: Broke fiddle.

Original change's description:
> Another attempt to fix vpython in Cloud Build.
> 
> I think the underlying issue is switching to the 'skia' user
> to do the build. Instead let's try building as root and then
> chown the generated files which are then used by subsequent
> Dockerfiles.
> 
> Bug:993053
> Change-Id: I314a6c83f70e611ec0fafe93ae136d218d153cfb
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/247107
> Reviewed-by: Joe Gregorio <jcgregorio@google.com>
> Commit-Queue: Joe Gregorio <jcgregorio@google.com>

TBR=borenet@google.com,jcgregorio@google.com

Change-Id: I2e0968bc032a2c7716d95d51ba598d94fc67f1ca
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 993053
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/247143
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Commit-Queue: Joe Gregorio <jcgregorio@google.com>
2019-10-08 22:44:23 +00:00
Joe Gregorio
e7bc084498 Another attempt to fix vpython in Cloud Build.
I think the underlying issue is switching to the 'skia' user
to do the build. Instead let's try building as root and then
chown the generated files which are then used by subsequent
Dockerfiles.

Bug:993053
Change-Id: I314a6c83f70e611ec0fafe93ae136d218d153cfb
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/247107
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Commit-Queue: Joe Gregorio <jcgregorio@google.com>
2019-10-08 20:08:02 +00:00
Joe Gregorio
1494a7f1ec Revert "cloud-build: set HOME env variable."
This reverts commit b51a0c9a5b.

Reason for revert: Causes Cloud Build to fail: https://pantheon.corp.google.com/cloud-build/builds/933b93f5-1ceb-48d0-9f13-55e8b01b3e44?organizationId=433637338589&project=skia-public

Original change's description:
> cloud-build: set HOME env variable.
> 
> Bug: 993053
> Change-Id: I6069def4a063dbe7a4f8c6fe9cc5046d014e4f3c
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/247046
> Reviewed-by: Eric Boren <borenet@google.com>
> Commit-Queue: Joe Gregorio <jcgregorio@google.com>

TBR=borenet@google.com,jcgregorio@google.com

Change-Id: I311fe7240768ef0bf7015bdf0cd5a0e2aabe6c5c
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 993053
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/247051
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Commit-Queue: Joe Gregorio <jcgregorio@google.com>
2019-10-08 17:47:42 +00:00
Joe Gregorio
b51a0c9a5b cloud-build: set HOME env variable.
Bug: 993053
Change-Id: I6069def4a063dbe7a4f8c6fe9cc5046d014e4f3c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/247046
Reviewed-by: Eric Boren <borenet@google.com>
Commit-Queue: Joe Gregorio <jcgregorio@google.com>
2019-10-08 17:00:21 +00:00
Joe Gregorio
710b5e616e Fix HOME directory in Docker containers built under cloudbuild.
The line:
    USER skia

also sets the $HOME environment variable to /home/skia unless
useradd is given another directory to use as the user's home
directory. So HOME was set to /home/skia, but that directory
doesn't exist in subsequent containers.

Bug: chromuim:993053
Change-Id: I3525d7cf11a1c1e5559cf9216c3bf6071a236949
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/244116
Reviewed-by: Ravi Mistry <rmistry@google.com>
Reviewed-by: Robbie Iannucci <iannucci@google.com>
Commit-Queue: Joe Gregorio <jcgregorio@google.com>
2019-09-26 02:31:35 +00:00
Joe Gregorio
557309bf30 Add env vars to cloudbuild.yaml to enable vpython for depot_tools.
Bug: skia:9348
Change-Id: Ibcdb6448ab5573afb77506f2884093579c2e423f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/239886
Auto-Submit: Joe Gregorio <jcgregorio@google.com>
Reviewed-by: Ravi Mistry <rmistry@google.com>
Commit-Queue: Ravi Mistry <rmistry@google.com>
2019-09-06 16:59:15 +00:00
Joe Gregorio
87b57d0833 Revert "Add HOME env variable to cloudbuild so vpython can move forward."
This reverts commit feb3fc29b3.

Reason for revert: Might have broken the wasm cloudbuild.

Original change's description:
> Add HOME env variable to cloudbuild so vpython can move forward.
> 
> Bug: skia:9348
> Change-Id: Ic9d835f38b028c9a60f07b56f52527bcb440c454
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/236918
> Reviewed-by: Joe Gregorio <jcgregorio@google.com>
> Commit-Queue: Joe Gregorio <jcgregorio@google.com>

TBR=borenet@google.com,jcgregorio@google.com

Change-Id: I678e7027ad5f60a57b38c5d375ba16498b2cfa95
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:9348
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/237037
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Commit-Queue: Joe Gregorio <jcgregorio@google.com>
2019-08-24 12:49:26 +00:00
Joe Gregorio
feb3fc29b3 Add HOME env variable to cloudbuild so vpython can move forward.
Bug: skia:9348
Change-Id: Ic9d835f38b028c9a60f07b56f52527bcb440c454
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/236918
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Commit-Queue: Joe Gregorio <jcgregorio@google.com>
2019-08-23 21:40:50 +00:00
Mike Klein
d5555c88e5 fix Dockerfile?
Change-Id: I5cd133f9de490340a958403c06ab1c8c44017001
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/223186
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Ben Wagner aka dogben <benjaminwagner@google.com>
2019-06-24 16:34:59 +00:00
Mike Klein
6bbeb4ab72 remove xbyak
For now, disable the vpmovusdb AVX-512 instruction, using the compound
AVX2 fallback instead.  I need to learn how to encode EVEX prefixes
before we can use that, and it's not very important.

That's everything!  We're fully in control now, and should be able to
run this on any x86-64 Linux or Mac.  And we can relax some of the
defined(SKVM_JIT) guards so that, e.g., we can unit test Assembler even
on all platforms.

Stifle some warnings about ~bool by ~(int)bool.

Would like to enable when is_mac too but can't seem to get past
(bogus?) thread annotation on the bots.  My local Mac is fine. :/

Change-Id: If00bdd97ebd9684ed109933e2fa70c5e6f6ea339
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/222631
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Herb Derby <herb@google.com>
2019-06-22 00:16:38 +00:00
Joe Gregorio
024a912136 Make debugger-assets part of cloudbuild CI.
Change-Id: I5d5946304e3c20ffad5b0af69d7d43b6847ab724
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/222097
Reviewed-by: Nathaniel Nifong <nifong@google.com>
Commit-Queue: Joe Gregorio <jcgregorio@google.com>
2019-06-19 20:44:40 +00:00
Eric Boren
34d63e6b4e [infra] Fix Cloud Build
Bug: skia:9184
Change-Id: Ia78094f5bd2a0cf3c8368933b3719df01ab1e646
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/221540
Commit-Queue: Eric Boren <borenet@google.com>
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2019-06-18 14:45:24 +00:00
Nathaniel Nifong
036503b07e Include wasm debugger in continuous build part 2
Merge branch 'master' of https://skia.googlesource.com/skia into buildwasm


Two-part commit required, compile.sh changes first.


needed hashbang line to run in docker


Include wasm debugger in continuous build

Bug: skia:
Change-Id: I378bff703bdf884ca4da266d00069405ed8613d9
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/205266
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Nathaniel Nifong <nifong@google.com>
2019-04-01 19:51:43 +00:00
Joe Gregorio
df5b72535d Turn on CI/CD for api.skia.org. (skia)
Bug: skia:
Change-Id: I9f9b39f9903a4fa6476adbfb8c41d7aa7f06c0bc
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/199841
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2019-03-12 18:30:38 +00:00
Kevin Lubick
b6b3188f81 [particles] Turn on CI/CD for particles.skia.org
Add entry to cloudbuild.yaml

Bug: skia:
Change-Id: I649e42f3e4e97e33a673a816ba7815abe1bc08a7
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/200462
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
2019-03-12 16:29:42 +00:00
Kevin Lubick
3f67f411d8 [canvaskit] Move from experimental to modules
Bug: skia:
Change-Id: I2ffd54cf81c974f3a80103e1726a06067cc90d82
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/200044
Reviewed-by: Mike Reed <reed@google.com>
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
2019-03-11 21:09:52 +00:00
Kevin Lubick
402bf74ea8 Build code size treemaps for skottie_tool
Bug: skia:
Change-Id: I3364fa6b89674f65bf493467198740e1862d215e
Reviewed-on: https://skia-review.googlesource.com/c/191291
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Eric Boren <borenet@google.com>
2019-02-12 13:54:00 +00:00
Kevin Lubick
9a2bb09202 CMake: distinguish between file and dir copies by presence of '.' in src path
ANGLE's build requires a file copy. Nema's build requires a dir copy. CMake
uses a different command for each. gn does not distinguish which. We make
a guess that happens to work for these two use cases based on the whether
the base file name of the src contains a '.'


Change-Id: I3503fd9d632abda3f8f952d0eef964019d932bea
Reviewed-on: https://skia-review.googlesource.com/c/188626
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2019-02-01 18:58:46 +00:00
Kevin Lubick
3105238ed5 Add CMake bot
It uses a docker container to handle the installation of CMake.

Depends on https://skia-review.googlesource.com/c/skia/+/188305/

Bug: skia:8732
Change-Id: Ib84a46b4f0ca7f88fca4e6123c1517a84f3444b2
Reviewed-on: https://skia-review.googlesource.com/c/188036
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
2019-01-31 22:05:22 +00:00
Kevin Lubick
22d6c27f31 Convert skottie's cloud build to use CanvasKit
Bug: skia:
Change-Id: Id550fe3a051e5000bc1254e3a300fb88c8e6a61e
Reviewed-on: https://skia-review.googlesource.com/c/170261
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
2018-11-10 12:06:32 +00:00
Kevin Lubick
df3a6eee13 Add JSFiddle to cloudbuild
This is a little more complicated than other builds because we need
the webassembly binaries out fo skia-wasm-release when we do the webpack
step and we can't run docker (e.g. docker run skia-wasm-release cp foo.wasm)
inside of the skia-public/infra:prod image.

To get around this limitation, we add a step that extracts the binaries to
a /workspace/wasm-products folder (which persists between steps) and mount
that folder as a volume for when we make the jsfiddle output. The only tricky
thing is that we must manually mount the /workspace/__jsfiddle_staging folder
as a volume too, or it doesn't persist to the build step.

Something similar will be needed for skottie.skia.org after
https://skia-review.googlesource.com/c/buildbot/+/169700 lands.

Bug: skia:
Change-Id: Iec05fff7231a28ecfa209489e5c75a9621b334d2
Reviewed-on: https://skia-review.googlesource.com/c/169821
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
2018-11-08 22:53:25 +00:00
Kevin Lubick
36b85be494 Revert "Autobuild the jsfiddle docker image"
This reverts commit 2969d27760.

Reason for revert: command "docker" not found inside image

Original change's description:
> Autobuild the jsfiddle docker image
> 
> With https://skia-review.googlesource.com/c/skia-public-config/+/169300
> it will auto-deploy too.
> 
> Bug: skia:
> Change-Id: Ic0a186c0e5c44328cc29085a74ac36e4a0c632ac
> Reviewed-on: https://skia-review.googlesource.com/c/169246
> Reviewed-by: Kevin Lubick <kjlubick@google.com>

TBR=jcgregorio@google.com,kjlubick@google.com

Change-Id: Ifad1dbf9cce4b70e42c2a4c70f8fa045becf9aea
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:
Reviewed-on: https://skia-review.googlesource.com/c/169321
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
2018-11-07 19:55:21 +00:00
Kevin Lubick
2969d27760 Autobuild the jsfiddle docker image
With https://skia-review.googlesource.com/c/skia-public-config/+/169300
it will auto-deploy too.

Bug: skia:
Change-Id: Ic0a186c0e5c44328cc29085a74ac36e4a0c632ac
Reviewed-on: https://skia-review.googlesource.com/c/169246
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2018-11-07 18:33:51 +00:00
Kevin Lubick
70273a92aa Make the skia-wasm-release image only have the build products
The previous version had several gigs of buildtools, source code, etc.
This is much smaller and easier to download for tools like
jsfiddles.skia.org and (soon) skottie.skia.org

Bug: skia:
Change-Id: I748487abb1c6f6e82476076d22a27a5d4f90f75a
Reviewed-on: https://skia-review.googlesource.com/c/169240
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2018-11-07 16:35:44 +00:00
Kevin Lubick
96175696de Add skia-wasm-release image.
This should let us pipe continuous builds into jsfiddle.skia.org and
skottie.skia.org

Bug: skia:
Change-Id: I587e1293237d42dfdacae0757f44634f29d6f251
Reviewed-on: https://skia-review.googlesource.com/c/168440
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
2018-11-06 15:45:51 +00:00