Граф коммитов

25 Коммитов

Автор SHA1 Сообщение Дата
Yuxin Hu 1e1505b53c Upgrade Python scripts from Python2 to Python3
Bug: angleproject:5707
Change-Id: I2c00ef7e7cb529eab2be61378c9a5511a69acd1a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3486298
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Yuxin Hu <yuxinhu@google.com>
2022-02-24 21:10:41 +00:00
Jamie Madill db3b4ee672 Add simple UBSAN ignorelist.
Bug: angleproject:5795
Change-Id: Ic2aa1124ac88a5d0fe87df3d524a10fe62b00732
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2977174
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2021-06-22 14:39:49 +00:00
Jamie Madill 5fd72bd3e4 Use Chromium mirror of tools/perf.
This will keep ANGLE in sync with Chromium changes and reduce the
maintenance burden.

Bug: angleproject:6037
Change-Id: Ibed4031d8cb3468e6be6501bda21404c42fb2be6
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2953043
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
2021-06-10 17:57:20 +00:00
angle-autoroll 7108e06992 Roll Chromium from 3bcc8fd7c291 to 6c5859c895f5 (510 revisions)
3bcc8fd7c2..6c5859c895

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/chromium-angle-autoroll
Please CC syoussefi@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Changed dependencies
* build: e353b02625..8870cb4120
* buildtools: 0b443d31ef..c793cca886
* testing: a45949a818..a62f8260df
* third_party/android_deps: 42884eb2ac..887e8d9009
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..d598390f02
* third_party/depot_tools: a5b6b2f8b7..b508ecd932
* third_party/protobuf: 9523daa51d..82f8803671
* tools/clang: 0c64e8349d..09481f56be
* tools/mb: d5d794a9f5..94630dfc19
* tools/memory: 71214b910d..84ad259424
No update to Clang.

Manually added tools/android/modularization/convenience/lookup_dep.py
from crrev.com/889754
And updated .gn to use python3 in GN build by default

Bug: angleproject:6042
Tbr: syoussefi@google.com
Change-Id: I00384f4d38d14b54778d334aec9c633f54d619bb
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2946825
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
2021-06-09 18:06:11 +00:00
Jamie Madill eb6548bb27 Add missing perf results merger scripts.
While waiting for the git mirror to become available we need to clone
these scripts into ANGLE. These scripts are required for the merge
step to work properly.

Bug: angleproject:5114
Change-Id: Ie917149972c8339419b1e3a6d0cf6712fb9888d5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2877011
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
2021-05-06 22:22:45 +00:00
Jamie Madill e210287b66 Add tools/perf essential Python files.
While waiting for the full mirror we can simply duplicate the
minimal necessary files for angle_perftests to run.

Test: mb.py zip
Bug: angleproject:5114
Change-Id: I1847909cb78b32efed26a284fdfcd40ed31d7b4b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2862922
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2021-04-30 15:54:26 +00:00
Jamie Madill c9b8d61b59 Update Android-releated tools DEPS.
Include the tools/android/errorprone_plugin mirror. This eliminates
several cloned source files from ANGLE. Also include the Python
tools/swarming_client for running tests. It seems like the tests
depend on the logdog Python library available from this component.

Bug: angleproject:2344
Change-Id: I70e011764c4443ab3904bfa0c9059f295f3817df
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2845233
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2021-04-22 13:37:36 +00:00
Jamie Madill 2f808349bd Add standalone Android build.
Includes necessary DEPS and GN build changes.
Some folders are copied directly from Chromium because they don't
exist as source mirrors or aren't available for other reasons.

Bug: angleproject:2344
Change-Id: Ibb7f8a3e2288048b7aed2b0e277ca63b5a932c57
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2826480
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
2021-04-20 15:24:42 +00:00
Tim Van Patten d1a96f4252 Create empty //tools/android/md5sum/BUILD.gn
Standalone ANGLE checkouts do not contain //tools/android/md5sum, which
means the necessary BUILD.gn is also missing. That BUILD.gn is required
by build/config/android/internal_rules.gni which ANGLE depends on, but
doesn't use in standalone builds (since standalone ANGLE can't build
Android).

Standalone ANGLE GN generation is required by the Android source tree as
part of the automated Android.bp generation. Building Android
executables with the generated GN output is not required or supported.

This CL creates an empty //tools/android/md5sum/BUILD.gn to satisfy GN
as a workaround until //tools/android/md5sum is moved into //build.

Bug: chromium:1110408
Test: gn gen out/Android
Change-Id: Ia4b4fbf63b9ccecd9415784e64f646330b33224d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2335736
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Tim Van Patten <timvp@google.com>
2020-08-04 22:40:36 +00:00
Jamie Madill 60672e7bf4 Update glslang_validator binary for Windows.
This binary was updated using update_glslang_binary.py.
Please see instructions in tools/glslang/README.md.

Bug: None
Change-Id: Idf76f16d7f05ce1642c27f087e40575806aa5d00
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2261232
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2020-06-23 17:02:58 +00:00
Shahbaz Youssefi ce3d3413b3 Update glslang_validator binary for Linux.
This binary was updated using update_glslang_binary.py.
Please see instructions in tools/glslang/README.md.

Bug: None
Change-Id: Ib1c3ae292a90ec6aabc79b9396ca2e35007edc16
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2260573
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2020-06-23 16:04:14 +00:00
Jamie Madill f56e7227d8 Update glslang_validator binary for Windows.
This binary was updated using update_glslang_binary.py.
Please see instructions in tools/glslang/README.md.

Bug: None
Change-Id: I5949749ed704f55ecc8ef65789d665b1e8cf7af6
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2238388
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2020-06-09 18:38:43 +00:00
Shahbaz Youssefi 8a7b3d61c8 Update glslang_validator binary for Linux.
This binary was updated using update_glslang_binary.py.
Please see instructions in tools/glslang/README.md.

Bug: None
Change-Id: I1aed97de25baa3cb47ae81b63a70339a962d957d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2235361
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2020-06-09 05:14:51 +00:00
Shahbaz Youssefi 5efb36b9af Automatically call flex/bison if necessary
ANGLE translator's parser code generation is changed to use the binaries
of flex/bison stored in the cloud.  scripts/run_code_generation.py now
automatically runs these files if the input files change.

Bug: angleproject:3419
Change-Id: Icce4247f93b27baf8ee12dbb16112fa2cc98c111
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1940572
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2019-12-03 19:29:42 +00:00
Shahbaz Youssefi 5e6d6c4963 Update flex and bison binaries for Windows.
These binaries were updated using update_flex_bison_binaries.py.
Please see instructions in tools/flex-bison/README.md.

flex is at version 2.6.4
bison is at version 3.3.2

Bug: 3419
Change-Id: I640621e670a918c72fbb21186893a2cc438c0eb5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1943027
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2019-11-29 15:50:45 +00:00
Shahbaz Youssefi 102aa5225c Update flex and bison binaries for Linux.
These binaries were updated using update_flex_bison_binaries.py.
Please see instructions in tools/flex-bison/README.md.

flex is at version 2.6.4
bison is at version 3.3.2

Bug: 3419
Change-Id: Iac8d0029b18602cc6e5f495d3b8c6bc928977500
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1943029
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2019-11-29 15:40:05 +00:00
Shahbaz Youssefi 7012250a8c Infrastructure for uploading flex/bison binaries
The binaries are retrieved from MSys2 on windows and built from source
on Linux.  Updates to these binaries should be infrequent enough to
not warrant a completely automated system.

Bug: angleproject:3419
Change-Id: I282f9ca14059d1fe0d88f2ffd31d02df0ea6b88f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1940571
Reviewed-by: Jonah Ryan-Davis <jonahr@google.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2019-11-29 14:56:05 +00:00
Shahbaz Youssefi bf82648154 Update glslang_validator binary for Windows.
This binary was updated using update_glslang_binary.py.
Please see instructions in tools/glslang/README.md.

Bug: angleproject:3432
Change-Id: Iefed7d2ab1a0a7f7118b83037329fe608c85ba1e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1658848
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2019-06-14 16:13:16 +00:00
Shahbaz Youssefi a7271d35e5 Update glslang_validator binary for Linux.
This binary was updated using update_glslang_binary.py.
Please see instructions in tools/glslang/README.md.

Bug: angleproject:3432
Change-Id: Idc02086cf0e1985efd7bf194adf311c85b21e33e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1657712
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2019-06-14 16:11:06 +00:00
Shahbaz Youssefi affc252c8b Vulkan: Update glslang_validator binary for Windows
The new binary has the ability to optimize SPIR-V code.

Bug: angleproject:3432
Change-Id: I57ac99d2b1c5ee0678c3b6ab3db1e215a12bd08a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1620915
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2019-05-21 15:32:09 +00:00
Shahbaz Youssefi b86e73daf7 Vulkan: Update glslang_validator binary for Linux
The new binary has the ability to optimize SPIR-V code.

Bug: angleproject:3432
Change-Id: I5953be6f207f153baaf2efe17380448aff374d60
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1620913
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2019-05-21 14:59:38 +00:00
Geoff Lang d7d42395ac Format all of ANGLE's python code.
BUG=angleproject:3421

Change-Id: I1d7282ac513c046de5d8ed87f7789290780d30a6
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1595440
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Geoff Lang <geofflang@chromium.org>
2019-05-06 18:56:09 +00:00
Shahbaz Youssefi 82418c8216 Add support for updating glslang_validator binary from Linux.
Updates the glslang_validator binary for Linux in the same commit.

Bug: angleproject:3333
Change-Id: Ide42781ec4951e7c09307a0a3b96c36c6ea29d23
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1553828
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2019-04-09 02:01:10 +00:00
Jamie Madill d5ff4fadd8 Add standalone glslang_validator as a download hook.
This change allows us to download a copy of the standalone glslang
validator during gclient runhooks. This decouples run_code_generation
from the version of glslang stored in source tree. This prevents the
error where a developer would run into a code generation conflict due
to a change in version of glslang.

Currently only the Windows version is stored in the tree. A follow-up
CL will add Linux. The validator will only initially support Windows
or Linux.

Documentation for the script is located in tools/glslang/README.md.
This CL also updates the Vulkan shader generation script to use the
new binary for Windows.

Bug: angleproject:3333
Change-Id: Ia6146a283a2bcfdf84c42411d6b5d8bae136bf1b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1553823
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
2019-04-08 15:04:15 +00:00
Jamie Madill 795d741af6 Add empty file to prevent git clean from deleting
the tools folder.

Bug: angleproject:1569
Change-Id: Ic0161260e1c19fb660be06cd5a844f9031a77ef0
Reviewed-on: https://chromium-review.googlesource.com/926863
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2018-02-20 18:19:11 +00:00