dawn-cmake/BUILD.gn

1479 lines
48 KiB
Plaintext
Raw Normal View History

# Copyright 2020 The Tint Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import("//build_overrides/build.gni")
import("//testing/test.gni")
import("tint_overrides_with_defaults.gni")
###############################################################################
# Common - Configs, etc. shared across targets
###############################################################################
config("tint_common_config") {
include_dirs = [
"${target_gen_dir}",
"${tint_root_dir}/",
"${tint_spirv_headers_dir}/include",
"${tint_spirv_tools_dir}/",
"${tint_spirv_tools_dir}/include",
]
}
config("tint_public_config") {
defines = []
if (tint_build_spv_reader) {
defines += [ "TINT_BUILD_SPV_READER=1" ]
} else {
defines += [ "TINT_BUILD_SPV_READER=0" ]
}
if (tint_build_spv_writer) {
defines += [ "TINT_BUILD_SPV_WRITER=1" ]
} else {
defines += [ "TINT_BUILD_SPV_WRITER=0" ]
}
if (tint_build_wgsl_reader) {
defines += [ "TINT_BUILD_WGSL_READER=1" ]
} else {
defines += [ "TINT_BUILD_WGSL_READER=0" ]
}
if (tint_build_wgsl_writer) {
defines += [ "TINT_BUILD_WGSL_WRITER=1" ]
} else {
defines += [ "TINT_BUILD_WGSL_WRITER=0" ]
}
if (tint_build_msl_writer) {
defines += [ "TINT_BUILD_MSL_WRITER=1" ]
} else {
defines += [ "TINT_BUILD_MSL_WRITER=0" ]
}
if (tint_build_hlsl_writer) {
defines += [ "TINT_BUILD_HLSL_WRITER=1" ]
} else {
defines += [ "TINT_BUILD_HLSL_WRITER=0" ]
}
include_dirs = [
"${tint_root_dir}/",
"${tint_root_dir}/include/",
"${tint_spirv_headers_dir}/include",
]
}
config("tint_config") {
include_dirs = []
if (tint_build_spv_reader || tint_build_spv_writer) {
include_dirs += [ "${tint_spirv_tools_dir}/include/" ]
}
}
###############################################################################
# Generated - Generated source files
###############################################################################
# These are copies of rules from SPIRV-Tools with the names tweaked to be Tint
# specific. They are needed here because referencing generated files in sibling
# packages is difficult/impossible in Chromium. Parts of Tint's SPIRV handling
# code depend on internal parts of SPIRV-Tools. This causes issues because when
# Tint references the internal headers, since it causes a dependency on these
# generated files, but they are not visible in the context building Tint. Thus
# Tint generates its own copy of the generated files. Since they come from the
# same source of truth, they should not vary.
template("tint_core_tables") {
assert(defined(invoker.version), "Need version in $target_name generation.")
action("tint_core_tables_" + target_name) {
script = "${tint_spirv_tools_dir}/utils/generate_grammar_tables.py"
version = invoker.version
core_json_file = "${tint_spirv_headers_dir}/include/spirv/$version/spirv.core.grammar.json"
core_insts_file = "${target_gen_dir}/core.insts-$version.inc"
operand_kinds_file = "${target_gen_dir}/operand.kinds-$version.inc"
Rolling 7 dependencies and fix BUILD.gn Roll build/ 9b01e295f..6c915ac2a (140 commits) https://chromium.googlesource.com/chromium/src/build/+log/9b01e295f87e..6c915ac2af1a $ git log 9b01e295f..6c915ac2a --date=short --no-merges --format='%ad %ae %s' 2020-08-04 chromium-autoroll Roll Fuchsia SDK from 0.20200803.3.1 to 0.20200804.1.1 2020-08-04 chromium-autoroll Roll Fuchsia SDK from 0.20200803.2.1 to 0.20200803.3.1 2020-08-04 brucedawson Fix gn gen after vcvarsall.bat 2020-08-03 hypan Revert "Reland "emulator: Disable the feature GLDMA."" 2020-08-03 chromium-autoroll Roll Fuchsia SDK from 0.20200803.1.1 to 0.20200803.2.1 2020-08-03 bpastene chromeos: Don't swallow test args when '--' is present. 2020-08-03 hans [build] Disable call-graph-profile-sort by default 2020-08-03 chromium-autoroll Roll Fuchsia SDK from 0.20200803.0.1 to 0.20200803.1.1 2020-08-03 chromium-autoroll Roll Fuchsia SDK from 0.20200802.3.1 to 0.20200803.0.1 2020-08-02 chromium-autoroll Roll Fuchsia SDK from 0.20200802.1.1 to 0.20200802.3.1 2020-08-02 chromium-autoroll Roll Fuchsia SDK from 0.20200802.0.1 to 0.20200802.1.1 2020-08-02 chromium-autoroll Roll Fuchsia SDK from 0.20200801.3.1 to 0.20200802.0.1 2020-08-02 chromium-autoroll Roll Fuchsia SDK from 0.20200801.2.1 to 0.20200801.3.1 2020-08-01 chromium-autoroll Roll Fuchsia SDK from 0.20200801.1.1 to 0.20200801.2.1 2020-08-01 chromium-autoroll Roll Fuchsia SDK from 0.20200731.4.1 to 0.20200801.1.1 2020-08-01 chromium-autoroll Roll Fuchsia SDK from 0.20200731.2.1 to 0.20200731.4.1 2020-08-01 steveroe Log system statistics at beginning and end of emulator session. 2020-08-01 steveroe Fix fuchsia test runner_logs.py directory creation and error format bugs. 2020-07-31 avi Finish conversion to OS_MAC/OS_APPLE 2020-07-31 liaoyuke [lacros] Further increase timeout waiting for ash-chrome 2020-07-31 chromium-autoroll Roll Fuchsia SDK from 0.20200731.1.1 to 0.20200731.2.1 2020-07-31 hypan emulator: Add ram_size to avd.proto 2020-07-31 hans Build with -Wl,--no-call-graph-profile-sort on Android 2020-07-31 chromium-autoroll Roll Fuchsia SDK from 0.20200730.3.1 to 0.20200731.1.1 2020-07-31 smcallis Rewrite is_linux flag for base and build components. 2020-07-31 chromium-autoroll Roll Fuchsia SDK from 0.20200730.2.1 to 0.20200730.3.1 2020-07-31 hypan emulator: Add advanced_features to avd.proto 2020-07-31 ntfschr Permit bundletool to emit stderr 2020-07-30 chouinard Remove unneccessary UnusedResources suppressions 2020-07-30 liaoyuke [lacros] Increase timeout waiting for ash-chrome 2020-07-30 chromium-autoroll Roll Fuchsia SDK from 0.20200730.1.1 to 0.20200730.2.1 2020-07-30 wnwen Android: Removing baseline.xml regenerates it 2020-07-30 torne Remove obsolete build constant. 2020-07-30 bjoyce Fix Jacoco Report exclusion variable. 2020-07-30 agrieve android: Make treat_warnings_as_errors=false work for enable_jdk_library_desugaring 2020-07-30 chromium-autoroll Roll Fuchsia SDK from 0.20200730.0.1 to 0.20200730.1.1 2020-07-30 chromium-autoroll Roll Fuchsia SDK from 0.20200729.3.1 to 0.20200730.0.1 2020-07-29 chromium-autoroll Roll Fuchsia SDK from 0.20200729.1.1 to 0.20200729.3.1 2020-07-29 steveroe Fix typo in comment. 2020-07-29 agrieve Android: Make manifest expectations a bit more diff-friendly 2020-07-29 hans Roll clang n359864-04b9a46c-1 : n361601-7e8d5a90-1. 2020-07-29 avi Migrate to OS_MAC and OS_APPLE in build 2020-07-29 liaoyuke [lacros] Run Lacros test targets with ash_chrome if needed 2020-07-29 wnwen Android: Use a unified lint target 2020-07-29 chromium-autoroll Roll Fuchsia SDK from 0.20200729.0.1 to 0.20200729.1.1 2020-07-29 chromium-autoroll Roll Fuchsia SDK from 0.20200728.3.1 to 0.20200729.0.1 2020-07-29 huangdarwin ChromeOS: Expand build flag comment. 2020-07-29 chromium-autoroll Roll Fuchsia SDK from 0.20200728.1.1 to 0.20200728.3.1 2020-07-28 mheikal Allow material design to be pulled from outside of android_deps 2020-07-28 bjoyce Run host and device code coverage separately. (...) 2020-07-22 liaoyuke [lacros] Run tests with ash-chrome 2020-07-22 sokcevic Add missing commit change footer 2020-07-22 wnwen Android: Add comments for lint 2020-07-22 chromium-autoroll Roll Fuchsia SDK from 0.20200721.3.1 to 0.20200722.0.1 2020-07-22 chromium-autoroll Roll Fuchsia SDK from 0.20200721.2.1 to 0.20200721.3.1 2020-07-22 hypan android: Update the css/javascript for test_results_presentation.py 2020-07-22 bjoyce Only use device__jacoco_source files. 2020-07-22 liaoyuke [lacros] Download and isolate ash-chrome on bots 2020-07-21 ntfschr [AW][Dev-UI] fix lint issues 2020-07-21 ntfschr Android: expose CommandLine java methods 2020-07-21 agrieve Allow anyone to modify //build/android/lint/baseline.xml 2020-07-21 wfh Allow CFG guards to be generated with gn config. 2020-07-21 ntfschr AW docs: update references to go/clank-webview 2020-07-21 sebmarchand Few fixes for PGO on Linux 2020-07-21 chromium-autoroll Roll Fuchsia SDK from 0.20200721.1.1 to 0.20200721.2.1 2020-07-21 agrieve Reland #2 of "Android: Updates to warnings-as-errors when building" 2020-07-21 tmartino Revert #2 of "Android: Updates to warnings-as-errors when building" 2020-07-21 brucedawson Fix vs_toolchain.py for Python 3 2020-07-21 mheikal Fix build issues with creating R.java in java_library targets (Reland) 2020-07-21 agrieve Reland "Android: Updates to warnings-as-errors when building" 2020-07-21 chromium-autoroll Roll Fuchsia SDK from 0.20200720.3.1 to 0.20200721.1.1 2020-07-21 andruud Revert "Android: Updates to warnings-as-errors when building" 2020-07-21 chromium-autoroll Roll Fuchsia SDK from 0.20200720.2.2 to 0.20200720.3.1 2020-07-21 agrieve Android: Updates to warnings-as-errors when building 2020-07-21 wnwen Android: Fix lint and add baseline 2020-07-20 etiennep Reland "[Clank SSM]: Enable stack sampling in android browsertests." 2020-07-20 Richard.Townsend Fix MIDL cross-compilation for ARM64 Win32 targets 2020-07-20 chromium-autoroll Roll Fuchsia SDK from 0.20200720.1.1 to 0.20200720.2.2 2020-07-20 torne Try to fix ProcessSkiaGoldRenderTestResults. 2020-07-20 bpastene chromeos: Flash the right type of DUT image based on chrome-branding. 2020-07-20 wnwen Android: Add direct deps for chrome/browser 2020-07-20 treib Remove various references to third_party/cacheinvalidation 2020-07-20 agrieve Silence build logs about d8's desugaring 2020-07-20 agrieve Android: Suppress unused resource warning for *_expand_* 2020-07-20 chromium-autoroll Roll Fuchsia SDK from 0.20200719.3.1 to 0.20200720.1.1 2020-07-20 chromium-autoroll Roll Fuchsia SDK from 0.20200718.1.1 to 0.20200719.3.1 2020-07-19 chromium-autoroll Roll Fuchsia SDK from 0.20200717.3.1 to 0.20200718.1.1 2020-07-18 chromium-autoroll Roll Fuchsia SDK from 0.20200717.2.1 to 0.20200717.3.1 2020-07-18 liaoyuke [lacros] Make test runner differentiate different test targets 2020-07-18 mheikal Revert "Fix build issues with creating R.java in java_library targets" 2020-07-17 mheikal Fix build issues with creating R.java in java_library targets 2020-07-17 bjoyce Run jacoco on host jar files. 2020-07-17 chromium-autoroll Roll Fuchsia SDK from 0.20200717.1.1 to 0.20200717.2.1 2020-07-17 bpastene Reland "Simplify Simple Chrome's gclient and GN conditionals." 2020-07-17 chouinard Remove unnecessary UnusedResources suppressions 2020-07-17 liaoyuke [lacros] Remove unused ash-chrome versions 2020-07-17 wfh Re-enable CFG loader config in component builds. 2020-07-17 oysteine Revert "[Clank SSM]: Enable stack sampling in android browsertests." 2020-07-17 etiennep [Clank SSM]: Enable stack sampling in android browsertests. 2020-07-17 sdefresne [ios] Assert that Xcode version is recent enough Roll buildtools/ eb3987ec7..613921787 (3 commits) https://chromium.googlesource.com/chromium/src/buildtools/+log/eb3987ec709b..61392178782c $ git log eb3987ec7..613921787 --date=short --no-merges --format='%ad %ae %s' 2020-08-03 tikuta sort buildtools/.gitignore 2020-07-31 smcallis Rewrite is_linux flag for base and build components. 2020-07-20 sdefresne Roll GN from d585128c..3028c6a4 Roll testing/ cadd4e1eb..dc9b1969e (124 commits) https://chromium.googlesource.com/chromium/src/testing/+log/cadd4e1eb3a4..dc9b1969e7b2 $ git log cadd4e1eb..dc9b1969e --date=short --no-merges --format='%ad %ae %s' 2020-08-04 sinhak Revert "Bring parity between mac coverage and non-coverage build" 2020-08-04 mcdermottm Enable MediaApp in fieldtrial_testing_config.json. 2020-08-03 drubery Add fieldtrial_testing_config for CSD vision model 2020-08-03 pasthana Bring parity between mac coverage and non-coverage build 2020-08-03 svenzheng [lacros] LUCI config for linux-lacros-builder-rel and linux-lacros-tester-rel 2020-08-03 skare Remove "DesktopStudy" suffix from QRCodeGenerator study to match gcl. 2020-08-03 bpastene chromeos: Don't swallow test args when '--' is present. 2020-08-03 mohsen Remove stale field trial testing configs 2020-08-03 dtrainor Add support for reengagement notification 2020-08-03 rmcilroy [Perf] Move android-pixel2-perf bot to 64-bits. 2020-08-03 martiniss Remove production freeze 2020-08-03 seblalancette [iOS] Cleanup Bling QR Code Generation Flag 2020-08-03 ianstruiksma Add target to blink_web_tests for Win10 x64 1909 builder 2020-08-03 talp Create field trial testing config for Per-agent Scheduling experiment. 2020-07-31 mpdenton Add CertVerifierService to field trial testing config. 2020-07-31 isamsonov Remove mac10.13_retina-blink-rel's configurations. 2020-07-31 behdadb Removed Experimental tag from representaives 2020-07-31 liviutinta Enable Field Trial for Browser Verified Mouse User Activation Trigger 2020-07-31 mattm Reland: Add CertVerifierBuiltin fieldtrial_testing_config for mac. 2020-07-31 liviutinta Enable Field Trial for Browser Verified Keyboard User Activation Trigger 2020-07-30 lindsayw [ios] Add missing 2nd generation identifier 2020-07-30 smcallis Rewrite is_linux flag for sandbox, servicse, ski and testing directories. 2020-07-30 jdeblasio [MIX-DL] Update field testing config for M84 stable launch. 2020-07-30 wenbinzhang [benchmarking] stop running ref build for android-pixel2 2020-07-30 lindsayw [ios] Update the iPad Pro naming to include 2nd gen. 2020-07-30 lindsayw [mac]Roll osxbeta to macOS 11.0 2020-07-30 skare Add field trial testing config for desktop QR code generator. 2020-07-30 justincohen Revert "[iOS] Add fieldtrial config for IOSRequestDesktopByDefault" 2020-07-30 collinbaker Include in-product help in DesktopTabGroups default field trial 2020-07-29 svenzheng [lacros] LUCI config for linux-ash-chromium-builder-fyi-rel 2020-07-29 pbos Add UseTextForUpdateButton to fieldtrial test config 2020-07-29 zhaoyangli [iOS][infra] Roll iOS13 builders & tests to Xcode 11e708 2020-07-29 hypan emulator: Disable flaky tests in weblayer_browsertests on MM 2020-07-29 ynovikov Shard SwANGLE angle_deqp_egl_tests 2020-07-29 avi Migrate to OS_MAC and OS_APPLE in testing 2020-07-29 svenzheng [lacros] LUCI rename fyi linux-lacros-builder-rel and linux-lacros-tester-rel 2020-07-29 michaeldo Revert "Roll bots to Xcode 12 beta 3" 2020-07-29 rmhasan weblayer, skew tests: Put Weblayer job configurations in variants.pyl 2020-07-29 mvanouwerkerk Remove Shared Clipboard WebRTC from testing config. 2020-07-29 liaoyuke [lacros] Run Lacros test targets with ash_chrome if needed 2020-07-29 bpastene Revert "Remove telemetry_unittests from the CrOS VM CQ bot." 2020-07-29 asanka [privacy_budget] Enable study for waterfall testing. 2020-07-29 wez [base] Add DisableOffSequenceTaskCancelation fieldtrial test config. 2020-07-29 gambard [iOS] Add fieldtrial config for IOSRequestDesktopByDefault 2020-07-29 alanlxl Add fieldtrial config for SmartDimNewMlAgent 2020-07-29 rushans Add SyncReuploadBookmarkFullTitles experiment to field trial testing config. 2020-07-29 jwata Revert "[mac-rel-swarming] add arm-64 Mac to the target bots" 2020-07-29 kimstephanie Remove chrome_public_test_apk temporarily from android-pie-arm64-rel 2020-07-28 jwata [mac-rel-swarming] add arm-64 Mac to the target bots 2020-07-28 dproy tools/perf: Add system_health.common benchmark with TBMv3 to FYI bots (...) 2020-07-27 jonross Disable angle_white_box_tests on Linux FYI Release (AMD R7 240) This test suite has been failing consistently for 11 days. 2020-07-27 sdefresne [apple] Add a `is_apple` gn variable and use it 2020-07-27 rsorokin [Sheriff] Disable */PlatformKeysServicePerUnavailableTokenBrowserTest.GenerateRsa/0 2020-07-26 liaoyuke Add xvfb.py as a data deps 2020-07-26 gangwu add field trial config for Omnibox tab switch suggestions 2020-07-25 svenzheng Disable BookmarkBubbleViewBrowserTest.InvokeUi_bookmark_details_signed_in 2020-07-25 gbeaty Revert "Remove GPU's Linux tests from the CQ." 2020-07-25 thestig Add SaveEditedPDFForm experiment to field trial testing config. 2020-07-25 behdadb Failure invalidation of rep_perf tests should show green status 2020-07-24 gbeaty Revert "Remove gl_tests_passthrough and gl_tests_validating from the Linux builders" 2020-07-23 hypan Remove gl_tests_passthrough and gl_tests_validating from the Linux builders 2020-07-23 jonross Revert "Re-add field trial testing config for DisableLatencyRecoveryDesktop" 2020-07-23 hypan Remove GPU's Linux tests from the CQ. 2020-07-23 fdoray [blink scheduler] Enable intensive wake up throttling in testing config. 2020-07-23 hypan android: Add test configs for android-nougat-arm64-rel 2020-07-23 kelvinjiang Revert "Add CertVerifierBuiltin fieldtrial_testing_config for mac." 2020-07-22 ianstruiksma Add luci and test configurations for Win10 x64 Tests 1909. 2020-07-22 gab [base] Enable PM_QS_ALLEVENTS in ProcessPumpReplacementMessage by default 2020-07-22 wylieb Update fieldtrial testing config for Assistant voice search 2020-07-22 ynovikov Revert "Explicitly name webgl/2 conformance tests on Windows" 2020-07-22 mattm Add CertVerifierBuiltin fieldtrial_testing_config for mac. 2020-07-22 jonahr Explicitly name webgl/2 conformance tests on Windows 2020-07-22 bpastene Move perf-fyi's CrOS tester to standard test pool. 2020-07-22 bttk ADCP: Add Field Trial config 2020-07-22 jdapena GCC: in perf result reporter, fix kInvalidCharacters initialization. 2020-07-22 pkotwicz Add compile target for errorprone plugin tests 2020-07-22 jds Adding a field trial config for the context menu performance hints experiment. 2020-07-22 natlee Add --use-gpu-in-tests flag to webgpu blink web tests. 2020-07-22 bpastene Move all CrOS HW tests to standard test pools. 2020-07-22 chriscycheng Adding 'android_lollipop_marshmallow_coverage_gtests' 2020-07-22 liaoyuke [lacros] Download and isolate ash-chrome on bots 2020-07-21 gbeaty Temporarily disable chrome_public_test_apk on android-pie-arm64-rel. 2020-07-21 gatong Infra: Moving mac-arm64 builder from FYI to being part of mac waterfall 2020-07-21 mohsen Re-add field trial testing config for DisableLatencyRecoveryDesktop 2020-07-21 wfh Allow CFG guards to be generated with gn config. 2020-07-21 svenzheng Mark some test suites as experimental 2020-07-21 sreejakshetty Filter out new content_browsertest failure with BackForwardCache 2020-07-21 ewannpv PageInfoRefactoring to Field Trial Testing Configuration 2020-07-21 rakina Check for bfcache flags on places where we check for Proactive BI swap 2020-07-21 hypan emulator: Have the android-marshmallow-x86-rel run on 4-cores GCE bots 2020-07-20 bpastene Enable pre-test flashing for all CrOS HW tests. 2020-07-20 mthiesse Migrate Omnibox native java unittests to batched Instrumentation tests 2020-07-20 bpastene Decrease primary task slice expiration from 10m to 5m for CrOS HW tests. 2020-07-20 alcooper Reland "Update vr_pixeltests exceptions" 2020-07-20 aboxhall Revert "Update vr_pixeltests exceptions" 2020-07-20 xiaochengh Enable FontPreloadingDelaysRendering by default on trunk 2020-07-18 liaoyuke [lacros] Make linux-lacros-tester-rel Run all targets 2020-07-17 alcooper Update vr_pixeltests exceptions 2020-07-17 liaoyuke Fix win coverage config - part 3 2020-07-17 wanderview Update CacheStorageSequenceChromeOS fieldtrial testing config. Roll third_party/googletest/ a781fe29b..e6e2d3b76 (5 commits) https://chromium.googlesource.com/external/github.com/google/googletest.git/+log/a781fe29bcf7..e6e2d3b7614f $ git log a781fe29b..e6e2d3b76 --date=short --no-merges --format='%ad %ae %s' 2020-07-28 absl-team Googletest export 2020-07-28 absl-team Googletest export 2020-07-26 ofats Googletest export 2020-07-19 jasjuang fix clang tidy modernize-use-equals-default warnings 2020-07-02 siliconearth Fix test failing when simple regex is used Roll third_party/spirv-headers/ 308bd0742..3fdabd0da (6 commits) https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Headers.git/+log/308bd0742435..3fdabd0da293 $ git log 308bd0742..3fdabd0da --date=short --no-merges --format='%ad %ae %s' 2020-08-03 44190824+mmerecki Reserve SPIR-V token range for upcoming Intel extensions. (#165) 2020-07-29 alanbaker Update BUILD.bazel and BUILD.gn (#166) 2020-07-29 alanbaker Publish the headers for the clspv embedded reflection non-semantic extended instruction set (#164) 2020-07-29 johnkslang Update the registry in spir-v.xml to modernize and split out opcodes. (#156) 2020-07-21 alanbaker Support SPV_KHR_terminate_invocation (#163) 2020-07-19 vkushwaha Add changes for SPV_EXT_shader_atomic_float Roll third_party/spirv-tools/ 717e7877c..d9c73ebd9 (52 commits) https://chromium.googlesource.com/external/github.com/KhronosGroup//SPIRV-Tools.git/+log/717e7877cac1..d9c73ebd9e80 $ git log 717e7877c..d9c73ebd9 --date=short --no-merges --format='%ad %ae %s' 2020-08-04 vasniktel spirv-fuzz: Handle capabilities during module donation (#3651) 2020-08-04 vasniktel spirv-fuzz: Refactor boilerplate in TransformationAddParameter (#3625) 2020-08-03 vasniktel spirv-fuzz: TransformationMoveInstructionDown (#3477) 2020-07-31 jaebaek Remove DebugDeclare only for target variables in ssa-rewrite (#3511) 2020-07-31 vasniktel Fix typo in ASAN CI build (#3623) 2020-07-30 stefanomil spirv-fuzz: Transformation to add loop preheader (#3599) 2020-07-30 stefanomil spirv-fuzz: Pass to replace int operands with ints of opposite signedness (#3612) 2020-07-30 jaebaek Debug info preservation in loop-unroll pass (#3548) 2020-07-30 alanbaker Validator support for non-semantic clspv reflection (#3618) 2020-07-30 vasniktel spirv-fuzz: Fix memory bugs (#3622) 2020-07-29 andreperezmaselco.developer spirv-fuzz: Implement the OpOuterProduct linear algebra case (#3617) 2020-07-30 vasniktel spirv-fuzz: Compute corollary facts from OpBitcast (#3538) 2020-07-29 dj2 Update some language usage. (#3611) 2020-07-29 vasniktel spirv-fuzz: Relax type constraints in DataSynonym facts (#3602) 2020-07-29 vasniktel spirv-fuzz: Remove non-deterministic behaviour (#3608) 2020-07-29 afdx Avoid use of 'sanity' and 'sanity check' in the code base (#3585) 2020-07-27 andreperezmaselco.developer spirv-fuzz: Add condition to make functions livesafe (#3587) 2020-07-27 rharrison Rolling 4 dependencies (#3601) 2020-07-27 andreperezmaselco.developer spirv-fuzz: Implement the OpTranspose linear algebra case (#3589) 2020-07-27 rdb Fix SyntaxWarning in Python 3.8 (#3388) 2020-07-27 bclayton CMake: Enable building with BUILD_SHARED_LIBS=1 (#3490) 2020-07-27 dneto Avoid operand type range checks (#3379) 2020-07-27 jaebaek Preserve debug info in scalar replacement pass (#3461) 2020-07-27 pierremoreau Update OpenCL capabilities validation (#3149) 2020-07-27 stevenperron build(deps): bump lodash from 4.17.15 to 4.17.19 in /tools/sva (#3596) 2020-07-27 antonikarp spirv-fuzz: adds TransformationReplaceLoadStoreWithCopyMemory (#3586) 2020-07-27 jaebaek Preserve OpenCL.DebugInfo.100 through private-to-local pass (#3571) 2020-07-27 stefanomil spirv-fuzz: Relax type checking for int contants (#3573) 2020-07-27 stefanomil spirv-fuzz: Generalise transformation access chain (#3546) 2020-07-27 stefanomil spirv-fuzz: Split blocks starting with OpPhi before trying to outline (#3581) 2020-07-27 afdx spirv-fuzz: Set message consumer in replayer when shrinking (#3591) 2020-07-24 vasniktel spirv-fuzz: Don't use default parameters (#3583) 2020-07-23 rharrison Change DEPS rolling script to point at external/ (#3584) 2020-07-23 vasniktel spirv-fuzz: Create a helper in fuzzerutil to reuse function type (#3572) 2020-07-23 vasniktel spirv-fuzz: Test usages of IdIsIrrelevant fact (#3578) 2020-07-23 antonikarp spirv-fuzz: adds TransformationReplaceCopyMemoryWithLoadStore (#3575) 2020-07-23 antonikarp spirv-fuzz: adds TransformationReplaceCopyObjectWithStoreLoad (#3567) 2020-07-22 stevenperron Start SPIRV-Tools v2020.5 2020-07-22 stevenperron Finalize SPIRV-Tools v2020.4 2020-07-22 vasniktel spirv-fuzz: Fix usages of irrelevant constants (#3566) 2020-07-22 stevenperron Update CHANGES 2020-07-22 alanbaker Support SPV_KHR_terminate_invocation (#3568) 2020-07-22 stevenperron Sink pointer instructions in merge return (#3569) 2020-07-21 greg Preserve OpenCL.DebugInfo.100 through elim-dead-code-aggressive (#3542) 2020-07-21 vasniktel spirv-fuzz: TransformationReplaceParamsWithStruct (#3455) 2020-07-21 38144211+vkushwaha-nv Add changes for SPV_EXT_shader_atomic_float (#3562) 2020-07-21 vasniktel spirv-fuzz: Use irrelevant constants (#3565) 2020-07-21 stefanomil spirv-fuzz: Extend TransformationRecordSynonymousConstants to allow composite constants (#3537) 2020-07-21 vasniktel spirv-fuzz: Add is_irrelevant parameter (#3563) 2020-07-20 vasniktel spirv-fuzz: Add IdIsIrrelevant fact (#3561) 2020-07-20 stefanomil spirv-fuzz: refactor to use RemoveAtRandomIndex (#3560) 2020-07-20 antonikarp spirv-fuzz: add TransformationAddRelaxedDecoration (#3545) Roll tools/clang/ 6412135b3..1078c4141 (5 commits) https://chromium.googlesource.com/chromium/src/tools/clang/+log/6412135b3979..1078c4141a00 $ git log 6412135b3..1078c4141 --date=short --no-merges --format='%ad %ae %s' 2020-08-02 thakis Roll clang n361601-7e8d5a90-1 : n362116-1bd7046e-2. 2020-08-01 lukasza Skip `ExprWithCleanup` AST node via `ignoringImplicit` AST matcher. 2020-07-29 hans Roll clang n359864-04b9a46c-1 : n361601-7e8d5a90-1. 2020-07-22 aeubanks Clang build.py: Open instrumented temp file as binary 2020-07-22 aeubanks Allow building Clang with ThinLTO Created with: roll-dep build buildtools testing third_party/googletest third_party/gpuweb-cts third_party/spirv-headers third_party/spirv-tools tools/clang Change-Id: I841ccb15000269ca48d09ac550bc36a06c2b354a Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/26280 Reviewed-by: Sarah Mashayekhi <sarahmashay@google.com>
2020-08-04 17:56:27 +00:00
debuginfo_insts_file = "${tint_spirv_headers_dir}/include/spirv/unified1/extinst.debuginfo.grammar.json"
cldebuginfo100_insts_file = "${tint_spirv_headers_dir}/include/spirv/unified1/extinst.opencl.debuginfo.100.grammar.json"
sources = [
cldebuginfo100_insts_file,
core_json_file,
debuginfo_insts_file,
]
outputs = [
core_insts_file,
operand_kinds_file,
]
args = [
"--spirv-core-grammar",
rebase_path(core_json_file, root_build_dir),
"--core-insts-output",
rebase_path(core_insts_file, root_build_dir),
"--extinst-debuginfo-grammar",
rebase_path(debuginfo_insts_file, root_build_dir),
"--extinst-cldebuginfo100-grammar",
rebase_path(cldebuginfo100_insts_file, root_build_dir),
"--operand-kinds-output",
rebase_path(operand_kinds_file, root_build_dir),
]
}
}
template("tint_core_enums") {
assert(defined(invoker.version), "Need version in $target_name generation.")
action("tint_core_enums_" + target_name) {
script = "${tint_spirv_tools_dir}/utils/generate_grammar_tables.py"
version = invoker.version
core_json_file = "${tint_spirv_headers_dir}/include/spirv/$version/spirv.core.grammar.json"
Rolling 7 dependencies and fix BUILD.gn Roll build/ 9b01e295f..6c915ac2a (140 commits) https://chromium.googlesource.com/chromium/src/build/+log/9b01e295f87e..6c915ac2af1a $ git log 9b01e295f..6c915ac2a --date=short --no-merges --format='%ad %ae %s' 2020-08-04 chromium-autoroll Roll Fuchsia SDK from 0.20200803.3.1 to 0.20200804.1.1 2020-08-04 chromium-autoroll Roll Fuchsia SDK from 0.20200803.2.1 to 0.20200803.3.1 2020-08-04 brucedawson Fix gn gen after vcvarsall.bat 2020-08-03 hypan Revert "Reland "emulator: Disable the feature GLDMA."" 2020-08-03 chromium-autoroll Roll Fuchsia SDK from 0.20200803.1.1 to 0.20200803.2.1 2020-08-03 bpastene chromeos: Don't swallow test args when '--' is present. 2020-08-03 hans [build] Disable call-graph-profile-sort by default 2020-08-03 chromium-autoroll Roll Fuchsia SDK from 0.20200803.0.1 to 0.20200803.1.1 2020-08-03 chromium-autoroll Roll Fuchsia SDK from 0.20200802.3.1 to 0.20200803.0.1 2020-08-02 chromium-autoroll Roll Fuchsia SDK from 0.20200802.1.1 to 0.20200802.3.1 2020-08-02 chromium-autoroll Roll Fuchsia SDK from 0.20200802.0.1 to 0.20200802.1.1 2020-08-02 chromium-autoroll Roll Fuchsia SDK from 0.20200801.3.1 to 0.20200802.0.1 2020-08-02 chromium-autoroll Roll Fuchsia SDK from 0.20200801.2.1 to 0.20200801.3.1 2020-08-01 chromium-autoroll Roll Fuchsia SDK from 0.20200801.1.1 to 0.20200801.2.1 2020-08-01 chromium-autoroll Roll Fuchsia SDK from 0.20200731.4.1 to 0.20200801.1.1 2020-08-01 chromium-autoroll Roll Fuchsia SDK from 0.20200731.2.1 to 0.20200731.4.1 2020-08-01 steveroe Log system statistics at beginning and end of emulator session. 2020-08-01 steveroe Fix fuchsia test runner_logs.py directory creation and error format bugs. 2020-07-31 avi Finish conversion to OS_MAC/OS_APPLE 2020-07-31 liaoyuke [lacros] Further increase timeout waiting for ash-chrome 2020-07-31 chromium-autoroll Roll Fuchsia SDK from 0.20200731.1.1 to 0.20200731.2.1 2020-07-31 hypan emulator: Add ram_size to avd.proto 2020-07-31 hans Build with -Wl,--no-call-graph-profile-sort on Android 2020-07-31 chromium-autoroll Roll Fuchsia SDK from 0.20200730.3.1 to 0.20200731.1.1 2020-07-31 smcallis Rewrite is_linux flag for base and build components. 2020-07-31 chromium-autoroll Roll Fuchsia SDK from 0.20200730.2.1 to 0.20200730.3.1 2020-07-31 hypan emulator: Add advanced_features to avd.proto 2020-07-31 ntfschr Permit bundletool to emit stderr 2020-07-30 chouinard Remove unneccessary UnusedResources suppressions 2020-07-30 liaoyuke [lacros] Increase timeout waiting for ash-chrome 2020-07-30 chromium-autoroll Roll Fuchsia SDK from 0.20200730.1.1 to 0.20200730.2.1 2020-07-30 wnwen Android: Removing baseline.xml regenerates it 2020-07-30 torne Remove obsolete build constant. 2020-07-30 bjoyce Fix Jacoco Report exclusion variable. 2020-07-30 agrieve android: Make treat_warnings_as_errors=false work for enable_jdk_library_desugaring 2020-07-30 chromium-autoroll Roll Fuchsia SDK from 0.20200730.0.1 to 0.20200730.1.1 2020-07-30 chromium-autoroll Roll Fuchsia SDK from 0.20200729.3.1 to 0.20200730.0.1 2020-07-29 chromium-autoroll Roll Fuchsia SDK from 0.20200729.1.1 to 0.20200729.3.1 2020-07-29 steveroe Fix typo in comment. 2020-07-29 agrieve Android: Make manifest expectations a bit more diff-friendly 2020-07-29 hans Roll clang n359864-04b9a46c-1 : n361601-7e8d5a90-1. 2020-07-29 avi Migrate to OS_MAC and OS_APPLE in build 2020-07-29 liaoyuke [lacros] Run Lacros test targets with ash_chrome if needed 2020-07-29 wnwen Android: Use a unified lint target 2020-07-29 chromium-autoroll Roll Fuchsia SDK from 0.20200729.0.1 to 0.20200729.1.1 2020-07-29 chromium-autoroll Roll Fuchsia SDK from 0.20200728.3.1 to 0.20200729.0.1 2020-07-29 huangdarwin ChromeOS: Expand build flag comment. 2020-07-29 chromium-autoroll Roll Fuchsia SDK from 0.20200728.1.1 to 0.20200728.3.1 2020-07-28 mheikal Allow material design to be pulled from outside of android_deps 2020-07-28 bjoyce Run host and device code coverage separately. (...) 2020-07-22 liaoyuke [lacros] Run tests with ash-chrome 2020-07-22 sokcevic Add missing commit change footer 2020-07-22 wnwen Android: Add comments for lint 2020-07-22 chromium-autoroll Roll Fuchsia SDK from 0.20200721.3.1 to 0.20200722.0.1 2020-07-22 chromium-autoroll Roll Fuchsia SDK from 0.20200721.2.1 to 0.20200721.3.1 2020-07-22 hypan android: Update the css/javascript for test_results_presentation.py 2020-07-22 bjoyce Only use device__jacoco_source files. 2020-07-22 liaoyuke [lacros] Download and isolate ash-chrome on bots 2020-07-21 ntfschr [AW][Dev-UI] fix lint issues 2020-07-21 ntfschr Android: expose CommandLine java methods 2020-07-21 agrieve Allow anyone to modify //build/android/lint/baseline.xml 2020-07-21 wfh Allow CFG guards to be generated with gn config. 2020-07-21 ntfschr AW docs: update references to go/clank-webview 2020-07-21 sebmarchand Few fixes for PGO on Linux 2020-07-21 chromium-autoroll Roll Fuchsia SDK from 0.20200721.1.1 to 0.20200721.2.1 2020-07-21 agrieve Reland #2 of "Android: Updates to warnings-as-errors when building" 2020-07-21 tmartino Revert #2 of "Android: Updates to warnings-as-errors when building" 2020-07-21 brucedawson Fix vs_toolchain.py for Python 3 2020-07-21 mheikal Fix build issues with creating R.java in java_library targets (Reland) 2020-07-21 agrieve Reland "Android: Updates to warnings-as-errors when building" 2020-07-21 chromium-autoroll Roll Fuchsia SDK from 0.20200720.3.1 to 0.20200721.1.1 2020-07-21 andruud Revert "Android: Updates to warnings-as-errors when building" 2020-07-21 chromium-autoroll Roll Fuchsia SDK from 0.20200720.2.2 to 0.20200720.3.1 2020-07-21 agrieve Android: Updates to warnings-as-errors when building 2020-07-21 wnwen Android: Fix lint and add baseline 2020-07-20 etiennep Reland "[Clank SSM]: Enable stack sampling in android browsertests." 2020-07-20 Richard.Townsend Fix MIDL cross-compilation for ARM64 Win32 targets 2020-07-20 chromium-autoroll Roll Fuchsia SDK from 0.20200720.1.1 to 0.20200720.2.2 2020-07-20 torne Try to fix ProcessSkiaGoldRenderTestResults. 2020-07-20 bpastene chromeos: Flash the right type of DUT image based on chrome-branding. 2020-07-20 wnwen Android: Add direct deps for chrome/browser 2020-07-20 treib Remove various references to third_party/cacheinvalidation 2020-07-20 agrieve Silence build logs about d8's desugaring 2020-07-20 agrieve Android: Suppress unused resource warning for *_expand_* 2020-07-20 chromium-autoroll Roll Fuchsia SDK from 0.20200719.3.1 to 0.20200720.1.1 2020-07-20 chromium-autoroll Roll Fuchsia SDK from 0.20200718.1.1 to 0.20200719.3.1 2020-07-19 chromium-autoroll Roll Fuchsia SDK from 0.20200717.3.1 to 0.20200718.1.1 2020-07-18 chromium-autoroll Roll Fuchsia SDK from 0.20200717.2.1 to 0.20200717.3.1 2020-07-18 liaoyuke [lacros] Make test runner differentiate different test targets 2020-07-18 mheikal Revert "Fix build issues with creating R.java in java_library targets" 2020-07-17 mheikal Fix build issues with creating R.java in java_library targets 2020-07-17 bjoyce Run jacoco on host jar files. 2020-07-17 chromium-autoroll Roll Fuchsia SDK from 0.20200717.1.1 to 0.20200717.2.1 2020-07-17 bpastene Reland "Simplify Simple Chrome's gclient and GN conditionals." 2020-07-17 chouinard Remove unnecessary UnusedResources suppressions 2020-07-17 liaoyuke [lacros] Remove unused ash-chrome versions 2020-07-17 wfh Re-enable CFG loader config in component builds. 2020-07-17 oysteine Revert "[Clank SSM]: Enable stack sampling in android browsertests." 2020-07-17 etiennep [Clank SSM]: Enable stack sampling in android browsertests. 2020-07-17 sdefresne [ios] Assert that Xcode version is recent enough Roll buildtools/ eb3987ec7..613921787 (3 commits) https://chromium.googlesource.com/chromium/src/buildtools/+log/eb3987ec709b..61392178782c $ git log eb3987ec7..613921787 --date=short --no-merges --format='%ad %ae %s' 2020-08-03 tikuta sort buildtools/.gitignore 2020-07-31 smcallis Rewrite is_linux flag for base and build components. 2020-07-20 sdefresne Roll GN from d585128c..3028c6a4 Roll testing/ cadd4e1eb..dc9b1969e (124 commits) https://chromium.googlesource.com/chromium/src/testing/+log/cadd4e1eb3a4..dc9b1969e7b2 $ git log cadd4e1eb..dc9b1969e --date=short --no-merges --format='%ad %ae %s' 2020-08-04 sinhak Revert "Bring parity between mac coverage and non-coverage build" 2020-08-04 mcdermottm Enable MediaApp in fieldtrial_testing_config.json. 2020-08-03 drubery Add fieldtrial_testing_config for CSD vision model 2020-08-03 pasthana Bring parity between mac coverage and non-coverage build 2020-08-03 svenzheng [lacros] LUCI config for linux-lacros-builder-rel and linux-lacros-tester-rel 2020-08-03 skare Remove "DesktopStudy" suffix from QRCodeGenerator study to match gcl. 2020-08-03 bpastene chromeos: Don't swallow test args when '--' is present. 2020-08-03 mohsen Remove stale field trial testing configs 2020-08-03 dtrainor Add support for reengagement notification 2020-08-03 rmcilroy [Perf] Move android-pixel2-perf bot to 64-bits. 2020-08-03 martiniss Remove production freeze 2020-08-03 seblalancette [iOS] Cleanup Bling QR Code Generation Flag 2020-08-03 ianstruiksma Add target to blink_web_tests for Win10 x64 1909 builder 2020-08-03 talp Create field trial testing config for Per-agent Scheduling experiment. 2020-07-31 mpdenton Add CertVerifierService to field trial testing config. 2020-07-31 isamsonov Remove mac10.13_retina-blink-rel's configurations. 2020-07-31 behdadb Removed Experimental tag from representaives 2020-07-31 liviutinta Enable Field Trial for Browser Verified Mouse User Activation Trigger 2020-07-31 mattm Reland: Add CertVerifierBuiltin fieldtrial_testing_config for mac. 2020-07-31 liviutinta Enable Field Trial for Browser Verified Keyboard User Activation Trigger 2020-07-30 lindsayw [ios] Add missing 2nd generation identifier 2020-07-30 smcallis Rewrite is_linux flag for sandbox, servicse, ski and testing directories. 2020-07-30 jdeblasio [MIX-DL] Update field testing config for M84 stable launch. 2020-07-30 wenbinzhang [benchmarking] stop running ref build for android-pixel2 2020-07-30 lindsayw [ios] Update the iPad Pro naming to include 2nd gen. 2020-07-30 lindsayw [mac]Roll osxbeta to macOS 11.0 2020-07-30 skare Add field trial testing config for desktop QR code generator. 2020-07-30 justincohen Revert "[iOS] Add fieldtrial config for IOSRequestDesktopByDefault" 2020-07-30 collinbaker Include in-product help in DesktopTabGroups default field trial 2020-07-29 svenzheng [lacros] LUCI config for linux-ash-chromium-builder-fyi-rel 2020-07-29 pbos Add UseTextForUpdateButton to fieldtrial test config 2020-07-29 zhaoyangli [iOS][infra] Roll iOS13 builders & tests to Xcode 11e708 2020-07-29 hypan emulator: Disable flaky tests in weblayer_browsertests on MM 2020-07-29 ynovikov Shard SwANGLE angle_deqp_egl_tests 2020-07-29 avi Migrate to OS_MAC and OS_APPLE in testing 2020-07-29 svenzheng [lacros] LUCI rename fyi linux-lacros-builder-rel and linux-lacros-tester-rel 2020-07-29 michaeldo Revert "Roll bots to Xcode 12 beta 3" 2020-07-29 rmhasan weblayer, skew tests: Put Weblayer job configurations in variants.pyl 2020-07-29 mvanouwerkerk Remove Shared Clipboard WebRTC from testing config. 2020-07-29 liaoyuke [lacros] Run Lacros test targets with ash_chrome if needed 2020-07-29 bpastene Revert "Remove telemetry_unittests from the CrOS VM CQ bot." 2020-07-29 asanka [privacy_budget] Enable study for waterfall testing. 2020-07-29 wez [base] Add DisableOffSequenceTaskCancelation fieldtrial test config. 2020-07-29 gambard [iOS] Add fieldtrial config for IOSRequestDesktopByDefault 2020-07-29 alanlxl Add fieldtrial config for SmartDimNewMlAgent 2020-07-29 rushans Add SyncReuploadBookmarkFullTitles experiment to field trial testing config. 2020-07-29 jwata Revert "[mac-rel-swarming] add arm-64 Mac to the target bots" 2020-07-29 kimstephanie Remove chrome_public_test_apk temporarily from android-pie-arm64-rel 2020-07-28 jwata [mac-rel-swarming] add arm-64 Mac to the target bots 2020-07-28 dproy tools/perf: Add system_health.common benchmark with TBMv3 to FYI bots (...) 2020-07-27 jonross Disable angle_white_box_tests on Linux FYI Release (AMD R7 240) This test suite has been failing consistently for 11 days. 2020-07-27 sdefresne [apple] Add a `is_apple` gn variable and use it 2020-07-27 rsorokin [Sheriff] Disable */PlatformKeysServicePerUnavailableTokenBrowserTest.GenerateRsa/0 2020-07-26 liaoyuke Add xvfb.py as a data deps 2020-07-26 gangwu add field trial config for Omnibox tab switch suggestions 2020-07-25 svenzheng Disable BookmarkBubbleViewBrowserTest.InvokeUi_bookmark_details_signed_in 2020-07-25 gbeaty Revert "Remove GPU's Linux tests from the CQ." 2020-07-25 thestig Add SaveEditedPDFForm experiment to field trial testing config. 2020-07-25 behdadb Failure invalidation of rep_perf tests should show green status 2020-07-24 gbeaty Revert "Remove gl_tests_passthrough and gl_tests_validating from the Linux builders" 2020-07-23 hypan Remove gl_tests_passthrough and gl_tests_validating from the Linux builders 2020-07-23 jonross Revert "Re-add field trial testing config for DisableLatencyRecoveryDesktop" 2020-07-23 hypan Remove GPU's Linux tests from the CQ. 2020-07-23 fdoray [blink scheduler] Enable intensive wake up throttling in testing config. 2020-07-23 hypan android: Add test configs for android-nougat-arm64-rel 2020-07-23 kelvinjiang Revert "Add CertVerifierBuiltin fieldtrial_testing_config for mac." 2020-07-22 ianstruiksma Add luci and test configurations for Win10 x64 Tests 1909. 2020-07-22 gab [base] Enable PM_QS_ALLEVENTS in ProcessPumpReplacementMessage by default 2020-07-22 wylieb Update fieldtrial testing config for Assistant voice search 2020-07-22 ynovikov Revert "Explicitly name webgl/2 conformance tests on Windows" 2020-07-22 mattm Add CertVerifierBuiltin fieldtrial_testing_config for mac. 2020-07-22 jonahr Explicitly name webgl/2 conformance tests on Windows 2020-07-22 bpastene Move perf-fyi's CrOS tester to standard test pool. 2020-07-22 bttk ADCP: Add Field Trial config 2020-07-22 jdapena GCC: in perf result reporter, fix kInvalidCharacters initialization. 2020-07-22 pkotwicz Add compile target for errorprone plugin tests 2020-07-22 jds Adding a field trial config for the context menu performance hints experiment. 2020-07-22 natlee Add --use-gpu-in-tests flag to webgpu blink web tests. 2020-07-22 bpastene Move all CrOS HW tests to standard test pools. 2020-07-22 chriscycheng Adding 'android_lollipop_marshmallow_coverage_gtests' 2020-07-22 liaoyuke [lacros] Download and isolate ash-chrome on bots 2020-07-21 gbeaty Temporarily disable chrome_public_test_apk on android-pie-arm64-rel. 2020-07-21 gatong Infra: Moving mac-arm64 builder from FYI to being part of mac waterfall 2020-07-21 mohsen Re-add field trial testing config for DisableLatencyRecoveryDesktop 2020-07-21 wfh Allow CFG guards to be generated with gn config. 2020-07-21 svenzheng Mark some test suites as experimental 2020-07-21 sreejakshetty Filter out new content_browsertest failure with BackForwardCache 2020-07-21 ewannpv PageInfoRefactoring to Field Trial Testing Configuration 2020-07-21 rakina Check for bfcache flags on places where we check for Proactive BI swap 2020-07-21 hypan emulator: Have the android-marshmallow-x86-rel run on 4-cores GCE bots 2020-07-20 bpastene Enable pre-test flashing for all CrOS HW tests. 2020-07-20 mthiesse Migrate Omnibox native java unittests to batched Instrumentation tests 2020-07-20 bpastene Decrease primary task slice expiration from 10m to 5m for CrOS HW tests. 2020-07-20 alcooper Reland "Update vr_pixeltests exceptions" 2020-07-20 aboxhall Revert "Update vr_pixeltests exceptions" 2020-07-20 xiaochengh Enable FontPreloadingDelaysRendering by default on trunk 2020-07-18 liaoyuke [lacros] Make linux-lacros-tester-rel Run all targets 2020-07-17 alcooper Update vr_pixeltests exceptions 2020-07-17 liaoyuke Fix win coverage config - part 3 2020-07-17 wanderview Update CacheStorageSequenceChromeOS fieldtrial testing config. Roll third_party/googletest/ a781fe29b..e6e2d3b76 (5 commits) https://chromium.googlesource.com/external/github.com/google/googletest.git/+log/a781fe29bcf7..e6e2d3b7614f $ git log a781fe29b..e6e2d3b76 --date=short --no-merges --format='%ad %ae %s' 2020-07-28 absl-team Googletest export 2020-07-28 absl-team Googletest export 2020-07-26 ofats Googletest export 2020-07-19 jasjuang fix clang tidy modernize-use-equals-default warnings 2020-07-02 siliconearth Fix test failing when simple regex is used Roll third_party/spirv-headers/ 308bd0742..3fdabd0da (6 commits) https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Headers.git/+log/308bd0742435..3fdabd0da293 $ git log 308bd0742..3fdabd0da --date=short --no-merges --format='%ad %ae %s' 2020-08-03 44190824+mmerecki Reserve SPIR-V token range for upcoming Intel extensions. (#165) 2020-07-29 alanbaker Update BUILD.bazel and BUILD.gn (#166) 2020-07-29 alanbaker Publish the headers for the clspv embedded reflection non-semantic extended instruction set (#164) 2020-07-29 johnkslang Update the registry in spir-v.xml to modernize and split out opcodes. (#156) 2020-07-21 alanbaker Support SPV_KHR_terminate_invocation (#163) 2020-07-19 vkushwaha Add changes for SPV_EXT_shader_atomic_float Roll third_party/spirv-tools/ 717e7877c..d9c73ebd9 (52 commits) https://chromium.googlesource.com/external/github.com/KhronosGroup//SPIRV-Tools.git/+log/717e7877cac1..d9c73ebd9e80 $ git log 717e7877c..d9c73ebd9 --date=short --no-merges --format='%ad %ae %s' 2020-08-04 vasniktel spirv-fuzz: Handle capabilities during module donation (#3651) 2020-08-04 vasniktel spirv-fuzz: Refactor boilerplate in TransformationAddParameter (#3625) 2020-08-03 vasniktel spirv-fuzz: TransformationMoveInstructionDown (#3477) 2020-07-31 jaebaek Remove DebugDeclare only for target variables in ssa-rewrite (#3511) 2020-07-31 vasniktel Fix typo in ASAN CI build (#3623) 2020-07-30 stefanomil spirv-fuzz: Transformation to add loop preheader (#3599) 2020-07-30 stefanomil spirv-fuzz: Pass to replace int operands with ints of opposite signedness (#3612) 2020-07-30 jaebaek Debug info preservation in loop-unroll pass (#3548) 2020-07-30 alanbaker Validator support for non-semantic clspv reflection (#3618) 2020-07-30 vasniktel spirv-fuzz: Fix memory bugs (#3622) 2020-07-29 andreperezmaselco.developer spirv-fuzz: Implement the OpOuterProduct linear algebra case (#3617) 2020-07-30 vasniktel spirv-fuzz: Compute corollary facts from OpBitcast (#3538) 2020-07-29 dj2 Update some language usage. (#3611) 2020-07-29 vasniktel spirv-fuzz: Relax type constraints in DataSynonym facts (#3602) 2020-07-29 vasniktel spirv-fuzz: Remove non-deterministic behaviour (#3608) 2020-07-29 afdx Avoid use of 'sanity' and 'sanity check' in the code base (#3585) 2020-07-27 andreperezmaselco.developer spirv-fuzz: Add condition to make functions livesafe (#3587) 2020-07-27 rharrison Rolling 4 dependencies (#3601) 2020-07-27 andreperezmaselco.developer spirv-fuzz: Implement the OpTranspose linear algebra case (#3589) 2020-07-27 rdb Fix SyntaxWarning in Python 3.8 (#3388) 2020-07-27 bclayton CMake: Enable building with BUILD_SHARED_LIBS=1 (#3490) 2020-07-27 dneto Avoid operand type range checks (#3379) 2020-07-27 jaebaek Preserve debug info in scalar replacement pass (#3461) 2020-07-27 pierremoreau Update OpenCL capabilities validation (#3149) 2020-07-27 stevenperron build(deps): bump lodash from 4.17.15 to 4.17.19 in /tools/sva (#3596) 2020-07-27 antonikarp spirv-fuzz: adds TransformationReplaceLoadStoreWithCopyMemory (#3586) 2020-07-27 jaebaek Preserve OpenCL.DebugInfo.100 through private-to-local pass (#3571) 2020-07-27 stefanomil spirv-fuzz: Relax type checking for int contants (#3573) 2020-07-27 stefanomil spirv-fuzz: Generalise transformation access chain (#3546) 2020-07-27 stefanomil spirv-fuzz: Split blocks starting with OpPhi before trying to outline (#3581) 2020-07-27 afdx spirv-fuzz: Set message consumer in replayer when shrinking (#3591) 2020-07-24 vasniktel spirv-fuzz: Don't use default parameters (#3583) 2020-07-23 rharrison Change DEPS rolling script to point at external/ (#3584) 2020-07-23 vasniktel spirv-fuzz: Create a helper in fuzzerutil to reuse function type (#3572) 2020-07-23 vasniktel spirv-fuzz: Test usages of IdIsIrrelevant fact (#3578) 2020-07-23 antonikarp spirv-fuzz: adds TransformationReplaceCopyMemoryWithLoadStore (#3575) 2020-07-23 antonikarp spirv-fuzz: adds TransformationReplaceCopyObjectWithStoreLoad (#3567) 2020-07-22 stevenperron Start SPIRV-Tools v2020.5 2020-07-22 stevenperron Finalize SPIRV-Tools v2020.4 2020-07-22 vasniktel spirv-fuzz: Fix usages of irrelevant constants (#3566) 2020-07-22 stevenperron Update CHANGES 2020-07-22 alanbaker Support SPV_KHR_terminate_invocation (#3568) 2020-07-22 stevenperron Sink pointer instructions in merge return (#3569) 2020-07-21 greg Preserve OpenCL.DebugInfo.100 through elim-dead-code-aggressive (#3542) 2020-07-21 vasniktel spirv-fuzz: TransformationReplaceParamsWithStruct (#3455) 2020-07-21 38144211+vkushwaha-nv Add changes for SPV_EXT_shader_atomic_float (#3562) 2020-07-21 vasniktel spirv-fuzz: Use irrelevant constants (#3565) 2020-07-21 stefanomil spirv-fuzz: Extend TransformationRecordSynonymousConstants to allow composite constants (#3537) 2020-07-21 vasniktel spirv-fuzz: Add is_irrelevant parameter (#3563) 2020-07-20 vasniktel spirv-fuzz: Add IdIsIrrelevant fact (#3561) 2020-07-20 stefanomil spirv-fuzz: refactor to use RemoveAtRandomIndex (#3560) 2020-07-20 antonikarp spirv-fuzz: add TransformationAddRelaxedDecoration (#3545) Roll tools/clang/ 6412135b3..1078c4141 (5 commits) https://chromium.googlesource.com/chromium/src/tools/clang/+log/6412135b3979..1078c4141a00 $ git log 6412135b3..1078c4141 --date=short --no-merges --format='%ad %ae %s' 2020-08-02 thakis Roll clang n361601-7e8d5a90-1 : n362116-1bd7046e-2. 2020-08-01 lukasza Skip `ExprWithCleanup` AST node via `ignoringImplicit` AST matcher. 2020-07-29 hans Roll clang n359864-04b9a46c-1 : n361601-7e8d5a90-1. 2020-07-22 aeubanks Clang build.py: Open instrumented temp file as binary 2020-07-22 aeubanks Allow building Clang with ThinLTO Created with: roll-dep build buildtools testing third_party/googletest third_party/gpuweb-cts third_party/spirv-headers third_party/spirv-tools tools/clang Change-Id: I841ccb15000269ca48d09ac550bc36a06c2b354a Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/26280 Reviewed-by: Sarah Mashayekhi <sarahmashay@google.com>
2020-08-04 17:56:27 +00:00
debuginfo_insts_file = "${tint_spirv_headers_dir}/include/spirv/unified1/extinst.debuginfo.grammar.json"
cldebuginfo100_insts_file = "${tint_spirv_headers_dir}/include/spirv/unified1/extinst.opencl.debuginfo.100.grammar.json"
extension_enum_file = "${target_gen_dir}/extension_enum.inc"
extension_map_file = "${target_gen_dir}/enum_string_mapping.inc"
args = [
"--spirv-core-grammar",
rebase_path(core_json_file, root_build_dir),
"--extinst-debuginfo-grammar",
rebase_path(debuginfo_insts_file, root_build_dir),
"--extinst-cldebuginfo100-grammar",
rebase_path(cldebuginfo100_insts_file, root_build_dir),
"--extension-enum-output",
rebase_path(extension_enum_file, root_build_dir),
"--enum-string-mapping-output",
rebase_path(extension_map_file, root_build_dir),
]
inputs = [
core_json_file,
debuginfo_insts_file,
cldebuginfo100_insts_file,
]
outputs = [
extension_enum_file,
extension_map_file,
]
}
}
template("tint_language_header") {
assert(defined(invoker.name), "Need name in $target_name generation.")
action("tint_language_header_" + target_name) {
script = "${tint_spirv_tools_dir}/utils/generate_language_headers.py"
name = invoker.name
extinst_output_path = "${target_gen_dir}/${name}.h"
args = [
"--extinst-grammar",
rebase_path(invoker.grammar_file, root_build_dir),
"--extinst-output-path",
rebase_path(extinst_output_path, root_build_dir),
]
inputs = [ invoker.grammar_file ]
outputs = [ "${extinst_output_path}" ]
}
}
tint_core_tables("unified1") {
version = "unified1"
}
tint_core_enums("unified1") {
version = "unified1"
}
tint_language_header("debuginfo") {
name = "DebugInfo"
Rolling 7 dependencies and fix BUILD.gn Roll build/ 9b01e295f..6c915ac2a (140 commits) https://chromium.googlesource.com/chromium/src/build/+log/9b01e295f87e..6c915ac2af1a $ git log 9b01e295f..6c915ac2a --date=short --no-merges --format='%ad %ae %s' 2020-08-04 chromium-autoroll Roll Fuchsia SDK from 0.20200803.3.1 to 0.20200804.1.1 2020-08-04 chromium-autoroll Roll Fuchsia SDK from 0.20200803.2.1 to 0.20200803.3.1 2020-08-04 brucedawson Fix gn gen after vcvarsall.bat 2020-08-03 hypan Revert "Reland "emulator: Disable the feature GLDMA."" 2020-08-03 chromium-autoroll Roll Fuchsia SDK from 0.20200803.1.1 to 0.20200803.2.1 2020-08-03 bpastene chromeos: Don't swallow test args when '--' is present. 2020-08-03 hans [build] Disable call-graph-profile-sort by default 2020-08-03 chromium-autoroll Roll Fuchsia SDK from 0.20200803.0.1 to 0.20200803.1.1 2020-08-03 chromium-autoroll Roll Fuchsia SDK from 0.20200802.3.1 to 0.20200803.0.1 2020-08-02 chromium-autoroll Roll Fuchsia SDK from 0.20200802.1.1 to 0.20200802.3.1 2020-08-02 chromium-autoroll Roll Fuchsia SDK from 0.20200802.0.1 to 0.20200802.1.1 2020-08-02 chromium-autoroll Roll Fuchsia SDK from 0.20200801.3.1 to 0.20200802.0.1 2020-08-02 chromium-autoroll Roll Fuchsia SDK from 0.20200801.2.1 to 0.20200801.3.1 2020-08-01 chromium-autoroll Roll Fuchsia SDK from 0.20200801.1.1 to 0.20200801.2.1 2020-08-01 chromium-autoroll Roll Fuchsia SDK from 0.20200731.4.1 to 0.20200801.1.1 2020-08-01 chromium-autoroll Roll Fuchsia SDK from 0.20200731.2.1 to 0.20200731.4.1 2020-08-01 steveroe Log system statistics at beginning and end of emulator session. 2020-08-01 steveroe Fix fuchsia test runner_logs.py directory creation and error format bugs. 2020-07-31 avi Finish conversion to OS_MAC/OS_APPLE 2020-07-31 liaoyuke [lacros] Further increase timeout waiting for ash-chrome 2020-07-31 chromium-autoroll Roll Fuchsia SDK from 0.20200731.1.1 to 0.20200731.2.1 2020-07-31 hypan emulator: Add ram_size to avd.proto 2020-07-31 hans Build with -Wl,--no-call-graph-profile-sort on Android 2020-07-31 chromium-autoroll Roll Fuchsia SDK from 0.20200730.3.1 to 0.20200731.1.1 2020-07-31 smcallis Rewrite is_linux flag for base and build components. 2020-07-31 chromium-autoroll Roll Fuchsia SDK from 0.20200730.2.1 to 0.20200730.3.1 2020-07-31 hypan emulator: Add advanced_features to avd.proto 2020-07-31 ntfschr Permit bundletool to emit stderr 2020-07-30 chouinard Remove unneccessary UnusedResources suppressions 2020-07-30 liaoyuke [lacros] Increase timeout waiting for ash-chrome 2020-07-30 chromium-autoroll Roll Fuchsia SDK from 0.20200730.1.1 to 0.20200730.2.1 2020-07-30 wnwen Android: Removing baseline.xml regenerates it 2020-07-30 torne Remove obsolete build constant. 2020-07-30 bjoyce Fix Jacoco Report exclusion variable. 2020-07-30 agrieve android: Make treat_warnings_as_errors=false work for enable_jdk_library_desugaring 2020-07-30 chromium-autoroll Roll Fuchsia SDK from 0.20200730.0.1 to 0.20200730.1.1 2020-07-30 chromium-autoroll Roll Fuchsia SDK from 0.20200729.3.1 to 0.20200730.0.1 2020-07-29 chromium-autoroll Roll Fuchsia SDK from 0.20200729.1.1 to 0.20200729.3.1 2020-07-29 steveroe Fix typo in comment. 2020-07-29 agrieve Android: Make manifest expectations a bit more diff-friendly 2020-07-29 hans Roll clang n359864-04b9a46c-1 : n361601-7e8d5a90-1. 2020-07-29 avi Migrate to OS_MAC and OS_APPLE in build 2020-07-29 liaoyuke [lacros] Run Lacros test targets with ash_chrome if needed 2020-07-29 wnwen Android: Use a unified lint target 2020-07-29 chromium-autoroll Roll Fuchsia SDK from 0.20200729.0.1 to 0.20200729.1.1 2020-07-29 chromium-autoroll Roll Fuchsia SDK from 0.20200728.3.1 to 0.20200729.0.1 2020-07-29 huangdarwin ChromeOS: Expand build flag comment. 2020-07-29 chromium-autoroll Roll Fuchsia SDK from 0.20200728.1.1 to 0.20200728.3.1 2020-07-28 mheikal Allow material design to be pulled from outside of android_deps 2020-07-28 bjoyce Run host and device code coverage separately. (...) 2020-07-22 liaoyuke [lacros] Run tests with ash-chrome 2020-07-22 sokcevic Add missing commit change footer 2020-07-22 wnwen Android: Add comments for lint 2020-07-22 chromium-autoroll Roll Fuchsia SDK from 0.20200721.3.1 to 0.20200722.0.1 2020-07-22 chromium-autoroll Roll Fuchsia SDK from 0.20200721.2.1 to 0.20200721.3.1 2020-07-22 hypan android: Update the css/javascript for test_results_presentation.py 2020-07-22 bjoyce Only use device__jacoco_source files. 2020-07-22 liaoyuke [lacros] Download and isolate ash-chrome on bots 2020-07-21 ntfschr [AW][Dev-UI] fix lint issues 2020-07-21 ntfschr Android: expose CommandLine java methods 2020-07-21 agrieve Allow anyone to modify //build/android/lint/baseline.xml 2020-07-21 wfh Allow CFG guards to be generated with gn config. 2020-07-21 ntfschr AW docs: update references to go/clank-webview 2020-07-21 sebmarchand Few fixes for PGO on Linux 2020-07-21 chromium-autoroll Roll Fuchsia SDK from 0.20200721.1.1 to 0.20200721.2.1 2020-07-21 agrieve Reland #2 of "Android: Updates to warnings-as-errors when building" 2020-07-21 tmartino Revert #2 of "Android: Updates to warnings-as-errors when building" 2020-07-21 brucedawson Fix vs_toolchain.py for Python 3 2020-07-21 mheikal Fix build issues with creating R.java in java_library targets (Reland) 2020-07-21 agrieve Reland "Android: Updates to warnings-as-errors when building" 2020-07-21 chromium-autoroll Roll Fuchsia SDK from 0.20200720.3.1 to 0.20200721.1.1 2020-07-21 andruud Revert "Android: Updates to warnings-as-errors when building" 2020-07-21 chromium-autoroll Roll Fuchsia SDK from 0.20200720.2.2 to 0.20200720.3.1 2020-07-21 agrieve Android: Updates to warnings-as-errors when building 2020-07-21 wnwen Android: Fix lint and add baseline 2020-07-20 etiennep Reland "[Clank SSM]: Enable stack sampling in android browsertests." 2020-07-20 Richard.Townsend Fix MIDL cross-compilation for ARM64 Win32 targets 2020-07-20 chromium-autoroll Roll Fuchsia SDK from 0.20200720.1.1 to 0.20200720.2.2 2020-07-20 torne Try to fix ProcessSkiaGoldRenderTestResults. 2020-07-20 bpastene chromeos: Flash the right type of DUT image based on chrome-branding. 2020-07-20 wnwen Android: Add direct deps for chrome/browser 2020-07-20 treib Remove various references to third_party/cacheinvalidation 2020-07-20 agrieve Silence build logs about d8's desugaring 2020-07-20 agrieve Android: Suppress unused resource warning for *_expand_* 2020-07-20 chromium-autoroll Roll Fuchsia SDK from 0.20200719.3.1 to 0.20200720.1.1 2020-07-20 chromium-autoroll Roll Fuchsia SDK from 0.20200718.1.1 to 0.20200719.3.1 2020-07-19 chromium-autoroll Roll Fuchsia SDK from 0.20200717.3.1 to 0.20200718.1.1 2020-07-18 chromium-autoroll Roll Fuchsia SDK from 0.20200717.2.1 to 0.20200717.3.1 2020-07-18 liaoyuke [lacros] Make test runner differentiate different test targets 2020-07-18 mheikal Revert "Fix build issues with creating R.java in java_library targets" 2020-07-17 mheikal Fix build issues with creating R.java in java_library targets 2020-07-17 bjoyce Run jacoco on host jar files. 2020-07-17 chromium-autoroll Roll Fuchsia SDK from 0.20200717.1.1 to 0.20200717.2.1 2020-07-17 bpastene Reland "Simplify Simple Chrome's gclient and GN conditionals." 2020-07-17 chouinard Remove unnecessary UnusedResources suppressions 2020-07-17 liaoyuke [lacros] Remove unused ash-chrome versions 2020-07-17 wfh Re-enable CFG loader config in component builds. 2020-07-17 oysteine Revert "[Clank SSM]: Enable stack sampling in android browsertests." 2020-07-17 etiennep [Clank SSM]: Enable stack sampling in android browsertests. 2020-07-17 sdefresne [ios] Assert that Xcode version is recent enough Roll buildtools/ eb3987ec7..613921787 (3 commits) https://chromium.googlesource.com/chromium/src/buildtools/+log/eb3987ec709b..61392178782c $ git log eb3987ec7..613921787 --date=short --no-merges --format='%ad %ae %s' 2020-08-03 tikuta sort buildtools/.gitignore 2020-07-31 smcallis Rewrite is_linux flag for base and build components. 2020-07-20 sdefresne Roll GN from d585128c..3028c6a4 Roll testing/ cadd4e1eb..dc9b1969e (124 commits) https://chromium.googlesource.com/chromium/src/testing/+log/cadd4e1eb3a4..dc9b1969e7b2 $ git log cadd4e1eb..dc9b1969e --date=short --no-merges --format='%ad %ae %s' 2020-08-04 sinhak Revert "Bring parity between mac coverage and non-coverage build" 2020-08-04 mcdermottm Enable MediaApp in fieldtrial_testing_config.json. 2020-08-03 drubery Add fieldtrial_testing_config for CSD vision model 2020-08-03 pasthana Bring parity between mac coverage and non-coverage build 2020-08-03 svenzheng [lacros] LUCI config for linux-lacros-builder-rel and linux-lacros-tester-rel 2020-08-03 skare Remove "DesktopStudy" suffix from QRCodeGenerator study to match gcl. 2020-08-03 bpastene chromeos: Don't swallow test args when '--' is present. 2020-08-03 mohsen Remove stale field trial testing configs 2020-08-03 dtrainor Add support for reengagement notification 2020-08-03 rmcilroy [Perf] Move android-pixel2-perf bot to 64-bits. 2020-08-03 martiniss Remove production freeze 2020-08-03 seblalancette [iOS] Cleanup Bling QR Code Generation Flag 2020-08-03 ianstruiksma Add target to blink_web_tests for Win10 x64 1909 builder 2020-08-03 talp Create field trial testing config for Per-agent Scheduling experiment. 2020-07-31 mpdenton Add CertVerifierService to field trial testing config. 2020-07-31 isamsonov Remove mac10.13_retina-blink-rel's configurations. 2020-07-31 behdadb Removed Experimental tag from representaives 2020-07-31 liviutinta Enable Field Trial for Browser Verified Mouse User Activation Trigger 2020-07-31 mattm Reland: Add CertVerifierBuiltin fieldtrial_testing_config for mac. 2020-07-31 liviutinta Enable Field Trial for Browser Verified Keyboard User Activation Trigger 2020-07-30 lindsayw [ios] Add missing 2nd generation identifier 2020-07-30 smcallis Rewrite is_linux flag for sandbox, servicse, ski and testing directories. 2020-07-30 jdeblasio [MIX-DL] Update field testing config for M84 stable launch. 2020-07-30 wenbinzhang [benchmarking] stop running ref build for android-pixel2 2020-07-30 lindsayw [ios] Update the iPad Pro naming to include 2nd gen. 2020-07-30 lindsayw [mac]Roll osxbeta to macOS 11.0 2020-07-30 skare Add field trial testing config for desktop QR code generator. 2020-07-30 justincohen Revert "[iOS] Add fieldtrial config for IOSRequestDesktopByDefault" 2020-07-30 collinbaker Include in-product help in DesktopTabGroups default field trial 2020-07-29 svenzheng [lacros] LUCI config for linux-ash-chromium-builder-fyi-rel 2020-07-29 pbos Add UseTextForUpdateButton to fieldtrial test config 2020-07-29 zhaoyangli [iOS][infra] Roll iOS13 builders & tests to Xcode 11e708 2020-07-29 hypan emulator: Disable flaky tests in weblayer_browsertests on MM 2020-07-29 ynovikov Shard SwANGLE angle_deqp_egl_tests 2020-07-29 avi Migrate to OS_MAC and OS_APPLE in testing 2020-07-29 svenzheng [lacros] LUCI rename fyi linux-lacros-builder-rel and linux-lacros-tester-rel 2020-07-29 michaeldo Revert "Roll bots to Xcode 12 beta 3" 2020-07-29 rmhasan weblayer, skew tests: Put Weblayer job configurations in variants.pyl 2020-07-29 mvanouwerkerk Remove Shared Clipboard WebRTC from testing config. 2020-07-29 liaoyuke [lacros] Run Lacros test targets with ash_chrome if needed 2020-07-29 bpastene Revert "Remove telemetry_unittests from the CrOS VM CQ bot." 2020-07-29 asanka [privacy_budget] Enable study for waterfall testing. 2020-07-29 wez [base] Add DisableOffSequenceTaskCancelation fieldtrial test config. 2020-07-29 gambard [iOS] Add fieldtrial config for IOSRequestDesktopByDefault 2020-07-29 alanlxl Add fieldtrial config for SmartDimNewMlAgent 2020-07-29 rushans Add SyncReuploadBookmarkFullTitles experiment to field trial testing config. 2020-07-29 jwata Revert "[mac-rel-swarming] add arm-64 Mac to the target bots" 2020-07-29 kimstephanie Remove chrome_public_test_apk temporarily from android-pie-arm64-rel 2020-07-28 jwata [mac-rel-swarming] add arm-64 Mac to the target bots 2020-07-28 dproy tools/perf: Add system_health.common benchmark with TBMv3 to FYI bots (...) 2020-07-27 jonross Disable angle_white_box_tests on Linux FYI Release (AMD R7 240) This test suite has been failing consistently for 11 days. 2020-07-27 sdefresne [apple] Add a `is_apple` gn variable and use it 2020-07-27 rsorokin [Sheriff] Disable */PlatformKeysServicePerUnavailableTokenBrowserTest.GenerateRsa/0 2020-07-26 liaoyuke Add xvfb.py as a data deps 2020-07-26 gangwu add field trial config for Omnibox tab switch suggestions 2020-07-25 svenzheng Disable BookmarkBubbleViewBrowserTest.InvokeUi_bookmark_details_signed_in 2020-07-25 gbeaty Revert "Remove GPU's Linux tests from the CQ." 2020-07-25 thestig Add SaveEditedPDFForm experiment to field trial testing config. 2020-07-25 behdadb Failure invalidation of rep_perf tests should show green status 2020-07-24 gbeaty Revert "Remove gl_tests_passthrough and gl_tests_validating from the Linux builders" 2020-07-23 hypan Remove gl_tests_passthrough and gl_tests_validating from the Linux builders 2020-07-23 jonross Revert "Re-add field trial testing config for DisableLatencyRecoveryDesktop" 2020-07-23 hypan Remove GPU's Linux tests from the CQ. 2020-07-23 fdoray [blink scheduler] Enable intensive wake up throttling in testing config. 2020-07-23 hypan android: Add test configs for android-nougat-arm64-rel 2020-07-23 kelvinjiang Revert "Add CertVerifierBuiltin fieldtrial_testing_config for mac." 2020-07-22 ianstruiksma Add luci and test configurations for Win10 x64 Tests 1909. 2020-07-22 gab [base] Enable PM_QS_ALLEVENTS in ProcessPumpReplacementMessage by default 2020-07-22 wylieb Update fieldtrial testing config for Assistant voice search 2020-07-22 ynovikov Revert "Explicitly name webgl/2 conformance tests on Windows" 2020-07-22 mattm Add CertVerifierBuiltin fieldtrial_testing_config for mac. 2020-07-22 jonahr Explicitly name webgl/2 conformance tests on Windows 2020-07-22 bpastene Move perf-fyi's CrOS tester to standard test pool. 2020-07-22 bttk ADCP: Add Field Trial config 2020-07-22 jdapena GCC: in perf result reporter, fix kInvalidCharacters initialization. 2020-07-22 pkotwicz Add compile target for errorprone plugin tests 2020-07-22 jds Adding a field trial config for the context menu performance hints experiment. 2020-07-22 natlee Add --use-gpu-in-tests flag to webgpu blink web tests. 2020-07-22 bpastene Move all CrOS HW tests to standard test pools. 2020-07-22 chriscycheng Adding 'android_lollipop_marshmallow_coverage_gtests' 2020-07-22 liaoyuke [lacros] Download and isolate ash-chrome on bots 2020-07-21 gbeaty Temporarily disable chrome_public_test_apk on android-pie-arm64-rel. 2020-07-21 gatong Infra: Moving mac-arm64 builder from FYI to being part of mac waterfall 2020-07-21 mohsen Re-add field trial testing config for DisableLatencyRecoveryDesktop 2020-07-21 wfh Allow CFG guards to be generated with gn config. 2020-07-21 svenzheng Mark some test suites as experimental 2020-07-21 sreejakshetty Filter out new content_browsertest failure with BackForwardCache 2020-07-21 ewannpv PageInfoRefactoring to Field Trial Testing Configuration 2020-07-21 rakina Check for bfcache flags on places where we check for Proactive BI swap 2020-07-21 hypan emulator: Have the android-marshmallow-x86-rel run on 4-cores GCE bots 2020-07-20 bpastene Enable pre-test flashing for all CrOS HW tests. 2020-07-20 mthiesse Migrate Omnibox native java unittests to batched Instrumentation tests 2020-07-20 bpastene Decrease primary task slice expiration from 10m to 5m for CrOS HW tests. 2020-07-20 alcooper Reland "Update vr_pixeltests exceptions" 2020-07-20 aboxhall Revert "Update vr_pixeltests exceptions" 2020-07-20 xiaochengh Enable FontPreloadingDelaysRendering by default on trunk 2020-07-18 liaoyuke [lacros] Make linux-lacros-tester-rel Run all targets 2020-07-17 alcooper Update vr_pixeltests exceptions 2020-07-17 liaoyuke Fix win coverage config - part 3 2020-07-17 wanderview Update CacheStorageSequenceChromeOS fieldtrial testing config. Roll third_party/googletest/ a781fe29b..e6e2d3b76 (5 commits) https://chromium.googlesource.com/external/github.com/google/googletest.git/+log/a781fe29bcf7..e6e2d3b7614f $ git log a781fe29b..e6e2d3b76 --date=short --no-merges --format='%ad %ae %s' 2020-07-28 absl-team Googletest export 2020-07-28 absl-team Googletest export 2020-07-26 ofats Googletest export 2020-07-19 jasjuang fix clang tidy modernize-use-equals-default warnings 2020-07-02 siliconearth Fix test failing when simple regex is used Roll third_party/spirv-headers/ 308bd0742..3fdabd0da (6 commits) https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Headers.git/+log/308bd0742435..3fdabd0da293 $ git log 308bd0742..3fdabd0da --date=short --no-merges --format='%ad %ae %s' 2020-08-03 44190824+mmerecki Reserve SPIR-V token range for upcoming Intel extensions. (#165) 2020-07-29 alanbaker Update BUILD.bazel and BUILD.gn (#166) 2020-07-29 alanbaker Publish the headers for the clspv embedded reflection non-semantic extended instruction set (#164) 2020-07-29 johnkslang Update the registry in spir-v.xml to modernize and split out opcodes. (#156) 2020-07-21 alanbaker Support SPV_KHR_terminate_invocation (#163) 2020-07-19 vkushwaha Add changes for SPV_EXT_shader_atomic_float Roll third_party/spirv-tools/ 717e7877c..d9c73ebd9 (52 commits) https://chromium.googlesource.com/external/github.com/KhronosGroup//SPIRV-Tools.git/+log/717e7877cac1..d9c73ebd9e80 $ git log 717e7877c..d9c73ebd9 --date=short --no-merges --format='%ad %ae %s' 2020-08-04 vasniktel spirv-fuzz: Handle capabilities during module donation (#3651) 2020-08-04 vasniktel spirv-fuzz: Refactor boilerplate in TransformationAddParameter (#3625) 2020-08-03 vasniktel spirv-fuzz: TransformationMoveInstructionDown (#3477) 2020-07-31 jaebaek Remove DebugDeclare only for target variables in ssa-rewrite (#3511) 2020-07-31 vasniktel Fix typo in ASAN CI build (#3623) 2020-07-30 stefanomil spirv-fuzz: Transformation to add loop preheader (#3599) 2020-07-30 stefanomil spirv-fuzz: Pass to replace int operands with ints of opposite signedness (#3612) 2020-07-30 jaebaek Debug info preservation in loop-unroll pass (#3548) 2020-07-30 alanbaker Validator support for non-semantic clspv reflection (#3618) 2020-07-30 vasniktel spirv-fuzz: Fix memory bugs (#3622) 2020-07-29 andreperezmaselco.developer spirv-fuzz: Implement the OpOuterProduct linear algebra case (#3617) 2020-07-30 vasniktel spirv-fuzz: Compute corollary facts from OpBitcast (#3538) 2020-07-29 dj2 Update some language usage. (#3611) 2020-07-29 vasniktel spirv-fuzz: Relax type constraints in DataSynonym facts (#3602) 2020-07-29 vasniktel spirv-fuzz: Remove non-deterministic behaviour (#3608) 2020-07-29 afdx Avoid use of 'sanity' and 'sanity check' in the code base (#3585) 2020-07-27 andreperezmaselco.developer spirv-fuzz: Add condition to make functions livesafe (#3587) 2020-07-27 rharrison Rolling 4 dependencies (#3601) 2020-07-27 andreperezmaselco.developer spirv-fuzz: Implement the OpTranspose linear algebra case (#3589) 2020-07-27 rdb Fix SyntaxWarning in Python 3.8 (#3388) 2020-07-27 bclayton CMake: Enable building with BUILD_SHARED_LIBS=1 (#3490) 2020-07-27 dneto Avoid operand type range checks (#3379) 2020-07-27 jaebaek Preserve debug info in scalar replacement pass (#3461) 2020-07-27 pierremoreau Update OpenCL capabilities validation (#3149) 2020-07-27 stevenperron build(deps): bump lodash from 4.17.15 to 4.17.19 in /tools/sva (#3596) 2020-07-27 antonikarp spirv-fuzz: adds TransformationReplaceLoadStoreWithCopyMemory (#3586) 2020-07-27 jaebaek Preserve OpenCL.DebugInfo.100 through private-to-local pass (#3571) 2020-07-27 stefanomil spirv-fuzz: Relax type checking for int contants (#3573) 2020-07-27 stefanomil spirv-fuzz: Generalise transformation access chain (#3546) 2020-07-27 stefanomil spirv-fuzz: Split blocks starting with OpPhi before trying to outline (#3581) 2020-07-27 afdx spirv-fuzz: Set message consumer in replayer when shrinking (#3591) 2020-07-24 vasniktel spirv-fuzz: Don't use default parameters (#3583) 2020-07-23 rharrison Change DEPS rolling script to point at external/ (#3584) 2020-07-23 vasniktel spirv-fuzz: Create a helper in fuzzerutil to reuse function type (#3572) 2020-07-23 vasniktel spirv-fuzz: Test usages of IdIsIrrelevant fact (#3578) 2020-07-23 antonikarp spirv-fuzz: adds TransformationReplaceCopyMemoryWithLoadStore (#3575) 2020-07-23 antonikarp spirv-fuzz: adds TransformationReplaceCopyObjectWithStoreLoad (#3567) 2020-07-22 stevenperron Start SPIRV-Tools v2020.5 2020-07-22 stevenperron Finalize SPIRV-Tools v2020.4 2020-07-22 vasniktel spirv-fuzz: Fix usages of irrelevant constants (#3566) 2020-07-22 stevenperron Update CHANGES 2020-07-22 alanbaker Support SPV_KHR_terminate_invocation (#3568) 2020-07-22 stevenperron Sink pointer instructions in merge return (#3569) 2020-07-21 greg Preserve OpenCL.DebugInfo.100 through elim-dead-code-aggressive (#3542) 2020-07-21 vasniktel spirv-fuzz: TransformationReplaceParamsWithStruct (#3455) 2020-07-21 38144211+vkushwaha-nv Add changes for SPV_EXT_shader_atomic_float (#3562) 2020-07-21 vasniktel spirv-fuzz: Use irrelevant constants (#3565) 2020-07-21 stefanomil spirv-fuzz: Extend TransformationRecordSynonymousConstants to allow composite constants (#3537) 2020-07-21 vasniktel spirv-fuzz: Add is_irrelevant parameter (#3563) 2020-07-20 vasniktel spirv-fuzz: Add IdIsIrrelevant fact (#3561) 2020-07-20 stefanomil spirv-fuzz: refactor to use RemoveAtRandomIndex (#3560) 2020-07-20 antonikarp spirv-fuzz: add TransformationAddRelaxedDecoration (#3545) Roll tools/clang/ 6412135b3..1078c4141 (5 commits) https://chromium.googlesource.com/chromium/src/tools/clang/+log/6412135b3979..1078c4141a00 $ git log 6412135b3..1078c4141 --date=short --no-merges --format='%ad %ae %s' 2020-08-02 thakis Roll clang n361601-7e8d5a90-1 : n362116-1bd7046e-2. 2020-08-01 lukasza Skip `ExprWithCleanup` AST node via `ignoringImplicit` AST matcher. 2020-07-29 hans Roll clang n359864-04b9a46c-1 : n361601-7e8d5a90-1. 2020-07-22 aeubanks Clang build.py: Open instrumented temp file as binary 2020-07-22 aeubanks Allow building Clang with ThinLTO Created with: roll-dep build buildtools testing third_party/googletest third_party/gpuweb-cts third_party/spirv-headers third_party/spirv-tools tools/clang Change-Id: I841ccb15000269ca48d09ac550bc36a06c2b354a Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/26280 Reviewed-by: Sarah Mashayekhi <sarahmashay@google.com>
2020-08-04 17:56:27 +00:00
grammar_file = "${tint_spirv_headers_dir}/include/spirv/unified1/extinst.debuginfo.grammar.json"
}
tint_language_header("cldebuginfo100") {
name = "OpenCLDebugInfo100"
Rolling 7 dependencies and fix BUILD.gn Roll build/ 9b01e295f..6c915ac2a (140 commits) https://chromium.googlesource.com/chromium/src/build/+log/9b01e295f87e..6c915ac2af1a $ git log 9b01e295f..6c915ac2a --date=short --no-merges --format='%ad %ae %s' 2020-08-04 chromium-autoroll Roll Fuchsia SDK from 0.20200803.3.1 to 0.20200804.1.1 2020-08-04 chromium-autoroll Roll Fuchsia SDK from 0.20200803.2.1 to 0.20200803.3.1 2020-08-04 brucedawson Fix gn gen after vcvarsall.bat 2020-08-03 hypan Revert "Reland "emulator: Disable the feature GLDMA."" 2020-08-03 chromium-autoroll Roll Fuchsia SDK from 0.20200803.1.1 to 0.20200803.2.1 2020-08-03 bpastene chromeos: Don't swallow test args when '--' is present. 2020-08-03 hans [build] Disable call-graph-profile-sort by default 2020-08-03 chromium-autoroll Roll Fuchsia SDK from 0.20200803.0.1 to 0.20200803.1.1 2020-08-03 chromium-autoroll Roll Fuchsia SDK from 0.20200802.3.1 to 0.20200803.0.1 2020-08-02 chromium-autoroll Roll Fuchsia SDK from 0.20200802.1.1 to 0.20200802.3.1 2020-08-02 chromium-autoroll Roll Fuchsia SDK from 0.20200802.0.1 to 0.20200802.1.1 2020-08-02 chromium-autoroll Roll Fuchsia SDK from 0.20200801.3.1 to 0.20200802.0.1 2020-08-02 chromium-autoroll Roll Fuchsia SDK from 0.20200801.2.1 to 0.20200801.3.1 2020-08-01 chromium-autoroll Roll Fuchsia SDK from 0.20200801.1.1 to 0.20200801.2.1 2020-08-01 chromium-autoroll Roll Fuchsia SDK from 0.20200731.4.1 to 0.20200801.1.1 2020-08-01 chromium-autoroll Roll Fuchsia SDK from 0.20200731.2.1 to 0.20200731.4.1 2020-08-01 steveroe Log system statistics at beginning and end of emulator session. 2020-08-01 steveroe Fix fuchsia test runner_logs.py directory creation and error format bugs. 2020-07-31 avi Finish conversion to OS_MAC/OS_APPLE 2020-07-31 liaoyuke [lacros] Further increase timeout waiting for ash-chrome 2020-07-31 chromium-autoroll Roll Fuchsia SDK from 0.20200731.1.1 to 0.20200731.2.1 2020-07-31 hypan emulator: Add ram_size to avd.proto 2020-07-31 hans Build with -Wl,--no-call-graph-profile-sort on Android 2020-07-31 chromium-autoroll Roll Fuchsia SDK from 0.20200730.3.1 to 0.20200731.1.1 2020-07-31 smcallis Rewrite is_linux flag for base and build components. 2020-07-31 chromium-autoroll Roll Fuchsia SDK from 0.20200730.2.1 to 0.20200730.3.1 2020-07-31 hypan emulator: Add advanced_features to avd.proto 2020-07-31 ntfschr Permit bundletool to emit stderr 2020-07-30 chouinard Remove unneccessary UnusedResources suppressions 2020-07-30 liaoyuke [lacros] Increase timeout waiting for ash-chrome 2020-07-30 chromium-autoroll Roll Fuchsia SDK from 0.20200730.1.1 to 0.20200730.2.1 2020-07-30 wnwen Android: Removing baseline.xml regenerates it 2020-07-30 torne Remove obsolete build constant. 2020-07-30 bjoyce Fix Jacoco Report exclusion variable. 2020-07-30 agrieve android: Make treat_warnings_as_errors=false work for enable_jdk_library_desugaring 2020-07-30 chromium-autoroll Roll Fuchsia SDK from 0.20200730.0.1 to 0.20200730.1.1 2020-07-30 chromium-autoroll Roll Fuchsia SDK from 0.20200729.3.1 to 0.20200730.0.1 2020-07-29 chromium-autoroll Roll Fuchsia SDK from 0.20200729.1.1 to 0.20200729.3.1 2020-07-29 steveroe Fix typo in comment. 2020-07-29 agrieve Android: Make manifest expectations a bit more diff-friendly 2020-07-29 hans Roll clang n359864-04b9a46c-1 : n361601-7e8d5a90-1. 2020-07-29 avi Migrate to OS_MAC and OS_APPLE in build 2020-07-29 liaoyuke [lacros] Run Lacros test targets with ash_chrome if needed 2020-07-29 wnwen Android: Use a unified lint target 2020-07-29 chromium-autoroll Roll Fuchsia SDK from 0.20200729.0.1 to 0.20200729.1.1 2020-07-29 chromium-autoroll Roll Fuchsia SDK from 0.20200728.3.1 to 0.20200729.0.1 2020-07-29 huangdarwin ChromeOS: Expand build flag comment. 2020-07-29 chromium-autoroll Roll Fuchsia SDK from 0.20200728.1.1 to 0.20200728.3.1 2020-07-28 mheikal Allow material design to be pulled from outside of android_deps 2020-07-28 bjoyce Run host and device code coverage separately. (...) 2020-07-22 liaoyuke [lacros] Run tests with ash-chrome 2020-07-22 sokcevic Add missing commit change footer 2020-07-22 wnwen Android: Add comments for lint 2020-07-22 chromium-autoroll Roll Fuchsia SDK from 0.20200721.3.1 to 0.20200722.0.1 2020-07-22 chromium-autoroll Roll Fuchsia SDK from 0.20200721.2.1 to 0.20200721.3.1 2020-07-22 hypan android: Update the css/javascript for test_results_presentation.py 2020-07-22 bjoyce Only use device__jacoco_source files. 2020-07-22 liaoyuke [lacros] Download and isolate ash-chrome on bots 2020-07-21 ntfschr [AW][Dev-UI] fix lint issues 2020-07-21 ntfschr Android: expose CommandLine java methods 2020-07-21 agrieve Allow anyone to modify //build/android/lint/baseline.xml 2020-07-21 wfh Allow CFG guards to be generated with gn config. 2020-07-21 ntfschr AW docs: update references to go/clank-webview 2020-07-21 sebmarchand Few fixes for PGO on Linux 2020-07-21 chromium-autoroll Roll Fuchsia SDK from 0.20200721.1.1 to 0.20200721.2.1 2020-07-21 agrieve Reland #2 of "Android: Updates to warnings-as-errors when building" 2020-07-21 tmartino Revert #2 of "Android: Updates to warnings-as-errors when building" 2020-07-21 brucedawson Fix vs_toolchain.py for Python 3 2020-07-21 mheikal Fix build issues with creating R.java in java_library targets (Reland) 2020-07-21 agrieve Reland "Android: Updates to warnings-as-errors when building" 2020-07-21 chromium-autoroll Roll Fuchsia SDK from 0.20200720.3.1 to 0.20200721.1.1 2020-07-21 andruud Revert "Android: Updates to warnings-as-errors when building" 2020-07-21 chromium-autoroll Roll Fuchsia SDK from 0.20200720.2.2 to 0.20200720.3.1 2020-07-21 agrieve Android: Updates to warnings-as-errors when building 2020-07-21 wnwen Android: Fix lint and add baseline 2020-07-20 etiennep Reland "[Clank SSM]: Enable stack sampling in android browsertests." 2020-07-20 Richard.Townsend Fix MIDL cross-compilation for ARM64 Win32 targets 2020-07-20 chromium-autoroll Roll Fuchsia SDK from 0.20200720.1.1 to 0.20200720.2.2 2020-07-20 torne Try to fix ProcessSkiaGoldRenderTestResults. 2020-07-20 bpastene chromeos: Flash the right type of DUT image based on chrome-branding. 2020-07-20 wnwen Android: Add direct deps for chrome/browser 2020-07-20 treib Remove various references to third_party/cacheinvalidation 2020-07-20 agrieve Silence build logs about d8's desugaring 2020-07-20 agrieve Android: Suppress unused resource warning for *_expand_* 2020-07-20 chromium-autoroll Roll Fuchsia SDK from 0.20200719.3.1 to 0.20200720.1.1 2020-07-20 chromium-autoroll Roll Fuchsia SDK from 0.20200718.1.1 to 0.20200719.3.1 2020-07-19 chromium-autoroll Roll Fuchsia SDK from 0.20200717.3.1 to 0.20200718.1.1 2020-07-18 chromium-autoroll Roll Fuchsia SDK from 0.20200717.2.1 to 0.20200717.3.1 2020-07-18 liaoyuke [lacros] Make test runner differentiate different test targets 2020-07-18 mheikal Revert "Fix build issues with creating R.java in java_library targets" 2020-07-17 mheikal Fix build issues with creating R.java in java_library targets 2020-07-17 bjoyce Run jacoco on host jar files. 2020-07-17 chromium-autoroll Roll Fuchsia SDK from 0.20200717.1.1 to 0.20200717.2.1 2020-07-17 bpastene Reland "Simplify Simple Chrome's gclient and GN conditionals." 2020-07-17 chouinard Remove unnecessary UnusedResources suppressions 2020-07-17 liaoyuke [lacros] Remove unused ash-chrome versions 2020-07-17 wfh Re-enable CFG loader config in component builds. 2020-07-17 oysteine Revert "[Clank SSM]: Enable stack sampling in android browsertests." 2020-07-17 etiennep [Clank SSM]: Enable stack sampling in android browsertests. 2020-07-17 sdefresne [ios] Assert that Xcode version is recent enough Roll buildtools/ eb3987ec7..613921787 (3 commits) https://chromium.googlesource.com/chromium/src/buildtools/+log/eb3987ec709b..61392178782c $ git log eb3987ec7..613921787 --date=short --no-merges --format='%ad %ae %s' 2020-08-03 tikuta sort buildtools/.gitignore 2020-07-31 smcallis Rewrite is_linux flag for base and build components. 2020-07-20 sdefresne Roll GN from d585128c..3028c6a4 Roll testing/ cadd4e1eb..dc9b1969e (124 commits) https://chromium.googlesource.com/chromium/src/testing/+log/cadd4e1eb3a4..dc9b1969e7b2 $ git log cadd4e1eb..dc9b1969e --date=short --no-merges --format='%ad %ae %s' 2020-08-04 sinhak Revert "Bring parity between mac coverage and non-coverage build" 2020-08-04 mcdermottm Enable MediaApp in fieldtrial_testing_config.json. 2020-08-03 drubery Add fieldtrial_testing_config for CSD vision model 2020-08-03 pasthana Bring parity between mac coverage and non-coverage build 2020-08-03 svenzheng [lacros] LUCI config for linux-lacros-builder-rel and linux-lacros-tester-rel 2020-08-03 skare Remove "DesktopStudy" suffix from QRCodeGenerator study to match gcl. 2020-08-03 bpastene chromeos: Don't swallow test args when '--' is present. 2020-08-03 mohsen Remove stale field trial testing configs 2020-08-03 dtrainor Add support for reengagement notification 2020-08-03 rmcilroy [Perf] Move android-pixel2-perf bot to 64-bits. 2020-08-03 martiniss Remove production freeze 2020-08-03 seblalancette [iOS] Cleanup Bling QR Code Generation Flag 2020-08-03 ianstruiksma Add target to blink_web_tests for Win10 x64 1909 builder 2020-08-03 talp Create field trial testing config for Per-agent Scheduling experiment. 2020-07-31 mpdenton Add CertVerifierService to field trial testing config. 2020-07-31 isamsonov Remove mac10.13_retina-blink-rel's configurations. 2020-07-31 behdadb Removed Experimental tag from representaives 2020-07-31 liviutinta Enable Field Trial for Browser Verified Mouse User Activation Trigger 2020-07-31 mattm Reland: Add CertVerifierBuiltin fieldtrial_testing_config for mac. 2020-07-31 liviutinta Enable Field Trial for Browser Verified Keyboard User Activation Trigger 2020-07-30 lindsayw [ios] Add missing 2nd generation identifier 2020-07-30 smcallis Rewrite is_linux flag for sandbox, servicse, ski and testing directories. 2020-07-30 jdeblasio [MIX-DL] Update field testing config for M84 stable launch. 2020-07-30 wenbinzhang [benchmarking] stop running ref build for android-pixel2 2020-07-30 lindsayw [ios] Update the iPad Pro naming to include 2nd gen. 2020-07-30 lindsayw [mac]Roll osxbeta to macOS 11.0 2020-07-30 skare Add field trial testing config for desktop QR code generator. 2020-07-30 justincohen Revert "[iOS] Add fieldtrial config for IOSRequestDesktopByDefault" 2020-07-30 collinbaker Include in-product help in DesktopTabGroups default field trial 2020-07-29 svenzheng [lacros] LUCI config for linux-ash-chromium-builder-fyi-rel 2020-07-29 pbos Add UseTextForUpdateButton to fieldtrial test config 2020-07-29 zhaoyangli [iOS][infra] Roll iOS13 builders & tests to Xcode 11e708 2020-07-29 hypan emulator: Disable flaky tests in weblayer_browsertests on MM 2020-07-29 ynovikov Shard SwANGLE angle_deqp_egl_tests 2020-07-29 avi Migrate to OS_MAC and OS_APPLE in testing 2020-07-29 svenzheng [lacros] LUCI rename fyi linux-lacros-builder-rel and linux-lacros-tester-rel 2020-07-29 michaeldo Revert "Roll bots to Xcode 12 beta 3" 2020-07-29 rmhasan weblayer, skew tests: Put Weblayer job configurations in variants.pyl 2020-07-29 mvanouwerkerk Remove Shared Clipboard WebRTC from testing config. 2020-07-29 liaoyuke [lacros] Run Lacros test targets with ash_chrome if needed 2020-07-29 bpastene Revert "Remove telemetry_unittests from the CrOS VM CQ bot." 2020-07-29 asanka [privacy_budget] Enable study for waterfall testing. 2020-07-29 wez [base] Add DisableOffSequenceTaskCancelation fieldtrial test config. 2020-07-29 gambard [iOS] Add fieldtrial config for IOSRequestDesktopByDefault 2020-07-29 alanlxl Add fieldtrial config for SmartDimNewMlAgent 2020-07-29 rushans Add SyncReuploadBookmarkFullTitles experiment to field trial testing config. 2020-07-29 jwata Revert "[mac-rel-swarming] add arm-64 Mac to the target bots" 2020-07-29 kimstephanie Remove chrome_public_test_apk temporarily from android-pie-arm64-rel 2020-07-28 jwata [mac-rel-swarming] add arm-64 Mac to the target bots 2020-07-28 dproy tools/perf: Add system_health.common benchmark with TBMv3 to FYI bots (...) 2020-07-27 jonross Disable angle_white_box_tests on Linux FYI Release (AMD R7 240) This test suite has been failing consistently for 11 days. 2020-07-27 sdefresne [apple] Add a `is_apple` gn variable and use it 2020-07-27 rsorokin [Sheriff] Disable */PlatformKeysServicePerUnavailableTokenBrowserTest.GenerateRsa/0 2020-07-26 liaoyuke Add xvfb.py as a data deps 2020-07-26 gangwu add field trial config for Omnibox tab switch suggestions 2020-07-25 svenzheng Disable BookmarkBubbleViewBrowserTest.InvokeUi_bookmark_details_signed_in 2020-07-25 gbeaty Revert "Remove GPU's Linux tests from the CQ." 2020-07-25 thestig Add SaveEditedPDFForm experiment to field trial testing config. 2020-07-25 behdadb Failure invalidation of rep_perf tests should show green status 2020-07-24 gbeaty Revert "Remove gl_tests_passthrough and gl_tests_validating from the Linux builders" 2020-07-23 hypan Remove gl_tests_passthrough and gl_tests_validating from the Linux builders 2020-07-23 jonross Revert "Re-add field trial testing config for DisableLatencyRecoveryDesktop" 2020-07-23 hypan Remove GPU's Linux tests from the CQ. 2020-07-23 fdoray [blink scheduler] Enable intensive wake up throttling in testing config. 2020-07-23 hypan android: Add test configs for android-nougat-arm64-rel 2020-07-23 kelvinjiang Revert "Add CertVerifierBuiltin fieldtrial_testing_config for mac." 2020-07-22 ianstruiksma Add luci and test configurations for Win10 x64 Tests 1909. 2020-07-22 gab [base] Enable PM_QS_ALLEVENTS in ProcessPumpReplacementMessage by default 2020-07-22 wylieb Update fieldtrial testing config for Assistant voice search 2020-07-22 ynovikov Revert "Explicitly name webgl/2 conformance tests on Windows" 2020-07-22 mattm Add CertVerifierBuiltin fieldtrial_testing_config for mac. 2020-07-22 jonahr Explicitly name webgl/2 conformance tests on Windows 2020-07-22 bpastene Move perf-fyi's CrOS tester to standard test pool. 2020-07-22 bttk ADCP: Add Field Trial config 2020-07-22 jdapena GCC: in perf result reporter, fix kInvalidCharacters initialization. 2020-07-22 pkotwicz Add compile target for errorprone plugin tests 2020-07-22 jds Adding a field trial config for the context menu performance hints experiment. 2020-07-22 natlee Add --use-gpu-in-tests flag to webgpu blink web tests. 2020-07-22 bpastene Move all CrOS HW tests to standard test pools. 2020-07-22 chriscycheng Adding 'android_lollipop_marshmallow_coverage_gtests' 2020-07-22 liaoyuke [lacros] Download and isolate ash-chrome on bots 2020-07-21 gbeaty Temporarily disable chrome_public_test_apk on android-pie-arm64-rel. 2020-07-21 gatong Infra: Moving mac-arm64 builder from FYI to being part of mac waterfall 2020-07-21 mohsen Re-add field trial testing config for DisableLatencyRecoveryDesktop 2020-07-21 wfh Allow CFG guards to be generated with gn config. 2020-07-21 svenzheng Mark some test suites as experimental 2020-07-21 sreejakshetty Filter out new content_browsertest failure with BackForwardCache 2020-07-21 ewannpv PageInfoRefactoring to Field Trial Testing Configuration 2020-07-21 rakina Check for bfcache flags on places where we check for Proactive BI swap 2020-07-21 hypan emulator: Have the android-marshmallow-x86-rel run on 4-cores GCE bots 2020-07-20 bpastene Enable pre-test flashing for all CrOS HW tests. 2020-07-20 mthiesse Migrate Omnibox native java unittests to batched Instrumentation tests 2020-07-20 bpastene Decrease primary task slice expiration from 10m to 5m for CrOS HW tests. 2020-07-20 alcooper Reland "Update vr_pixeltests exceptions" 2020-07-20 aboxhall Revert "Update vr_pixeltests exceptions" 2020-07-20 xiaochengh Enable FontPreloadingDelaysRendering by default on trunk 2020-07-18 liaoyuke [lacros] Make linux-lacros-tester-rel Run all targets 2020-07-17 alcooper Update vr_pixeltests exceptions 2020-07-17 liaoyuke Fix win coverage config - part 3 2020-07-17 wanderview Update CacheStorageSequenceChromeOS fieldtrial testing config. Roll third_party/googletest/ a781fe29b..e6e2d3b76 (5 commits) https://chromium.googlesource.com/external/github.com/google/googletest.git/+log/a781fe29bcf7..e6e2d3b7614f $ git log a781fe29b..e6e2d3b76 --date=short --no-merges --format='%ad %ae %s' 2020-07-28 absl-team Googletest export 2020-07-28 absl-team Googletest export 2020-07-26 ofats Googletest export 2020-07-19 jasjuang fix clang tidy modernize-use-equals-default warnings 2020-07-02 siliconearth Fix test failing when simple regex is used Roll third_party/spirv-headers/ 308bd0742..3fdabd0da (6 commits) https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Headers.git/+log/308bd0742435..3fdabd0da293 $ git log 308bd0742..3fdabd0da --date=short --no-merges --format='%ad %ae %s' 2020-08-03 44190824+mmerecki Reserve SPIR-V token range for upcoming Intel extensions. (#165) 2020-07-29 alanbaker Update BUILD.bazel and BUILD.gn (#166) 2020-07-29 alanbaker Publish the headers for the clspv embedded reflection non-semantic extended instruction set (#164) 2020-07-29 johnkslang Update the registry in spir-v.xml to modernize and split out opcodes. (#156) 2020-07-21 alanbaker Support SPV_KHR_terminate_invocation (#163) 2020-07-19 vkushwaha Add changes for SPV_EXT_shader_atomic_float Roll third_party/spirv-tools/ 717e7877c..d9c73ebd9 (52 commits) https://chromium.googlesource.com/external/github.com/KhronosGroup//SPIRV-Tools.git/+log/717e7877cac1..d9c73ebd9e80 $ git log 717e7877c..d9c73ebd9 --date=short --no-merges --format='%ad %ae %s' 2020-08-04 vasniktel spirv-fuzz: Handle capabilities during module donation (#3651) 2020-08-04 vasniktel spirv-fuzz: Refactor boilerplate in TransformationAddParameter (#3625) 2020-08-03 vasniktel spirv-fuzz: TransformationMoveInstructionDown (#3477) 2020-07-31 jaebaek Remove DebugDeclare only for target variables in ssa-rewrite (#3511) 2020-07-31 vasniktel Fix typo in ASAN CI build (#3623) 2020-07-30 stefanomil spirv-fuzz: Transformation to add loop preheader (#3599) 2020-07-30 stefanomil spirv-fuzz: Pass to replace int operands with ints of opposite signedness (#3612) 2020-07-30 jaebaek Debug info preservation in loop-unroll pass (#3548) 2020-07-30 alanbaker Validator support for non-semantic clspv reflection (#3618) 2020-07-30 vasniktel spirv-fuzz: Fix memory bugs (#3622) 2020-07-29 andreperezmaselco.developer spirv-fuzz: Implement the OpOuterProduct linear algebra case (#3617) 2020-07-30 vasniktel spirv-fuzz: Compute corollary facts from OpBitcast (#3538) 2020-07-29 dj2 Update some language usage. (#3611) 2020-07-29 vasniktel spirv-fuzz: Relax type constraints in DataSynonym facts (#3602) 2020-07-29 vasniktel spirv-fuzz: Remove non-deterministic behaviour (#3608) 2020-07-29 afdx Avoid use of 'sanity' and 'sanity check' in the code base (#3585) 2020-07-27 andreperezmaselco.developer spirv-fuzz: Add condition to make functions livesafe (#3587) 2020-07-27 rharrison Rolling 4 dependencies (#3601) 2020-07-27 andreperezmaselco.developer spirv-fuzz: Implement the OpTranspose linear algebra case (#3589) 2020-07-27 rdb Fix SyntaxWarning in Python 3.8 (#3388) 2020-07-27 bclayton CMake: Enable building with BUILD_SHARED_LIBS=1 (#3490) 2020-07-27 dneto Avoid operand type range checks (#3379) 2020-07-27 jaebaek Preserve debug info in scalar replacement pass (#3461) 2020-07-27 pierremoreau Update OpenCL capabilities validation (#3149) 2020-07-27 stevenperron build(deps): bump lodash from 4.17.15 to 4.17.19 in /tools/sva (#3596) 2020-07-27 antonikarp spirv-fuzz: adds TransformationReplaceLoadStoreWithCopyMemory (#3586) 2020-07-27 jaebaek Preserve OpenCL.DebugInfo.100 through private-to-local pass (#3571) 2020-07-27 stefanomil spirv-fuzz: Relax type checking for int contants (#3573) 2020-07-27 stefanomil spirv-fuzz: Generalise transformation access chain (#3546) 2020-07-27 stefanomil spirv-fuzz: Split blocks starting with OpPhi before trying to outline (#3581) 2020-07-27 afdx spirv-fuzz: Set message consumer in replayer when shrinking (#3591) 2020-07-24 vasniktel spirv-fuzz: Don't use default parameters (#3583) 2020-07-23 rharrison Change DEPS rolling script to point at external/ (#3584) 2020-07-23 vasniktel spirv-fuzz: Create a helper in fuzzerutil to reuse function type (#3572) 2020-07-23 vasniktel spirv-fuzz: Test usages of IdIsIrrelevant fact (#3578) 2020-07-23 antonikarp spirv-fuzz: adds TransformationReplaceCopyMemoryWithLoadStore (#3575) 2020-07-23 antonikarp spirv-fuzz: adds TransformationReplaceCopyObjectWithStoreLoad (#3567) 2020-07-22 stevenperron Start SPIRV-Tools v2020.5 2020-07-22 stevenperron Finalize SPIRV-Tools v2020.4 2020-07-22 vasniktel spirv-fuzz: Fix usages of irrelevant constants (#3566) 2020-07-22 stevenperron Update CHANGES 2020-07-22 alanbaker Support SPV_KHR_terminate_invocation (#3568) 2020-07-22 stevenperron Sink pointer instructions in merge return (#3569) 2020-07-21 greg Preserve OpenCL.DebugInfo.100 through elim-dead-code-aggressive (#3542) 2020-07-21 vasniktel spirv-fuzz: TransformationReplaceParamsWithStruct (#3455) 2020-07-21 38144211+vkushwaha-nv Add changes for SPV_EXT_shader_atomic_float (#3562) 2020-07-21 vasniktel spirv-fuzz: Use irrelevant constants (#3565) 2020-07-21 stefanomil spirv-fuzz: Extend TransformationRecordSynonymousConstants to allow composite constants (#3537) 2020-07-21 vasniktel spirv-fuzz: Add is_irrelevant parameter (#3563) 2020-07-20 vasniktel spirv-fuzz: Add IdIsIrrelevant fact (#3561) 2020-07-20 stefanomil spirv-fuzz: refactor to use RemoveAtRandomIndex (#3560) 2020-07-20 antonikarp spirv-fuzz: add TransformationAddRelaxedDecoration (#3545) Roll tools/clang/ 6412135b3..1078c4141 (5 commits) https://chromium.googlesource.com/chromium/src/tools/clang/+log/6412135b3979..1078c4141a00 $ git log 6412135b3..1078c4141 --date=short --no-merges --format='%ad %ae %s' 2020-08-02 thakis Roll clang n361601-7e8d5a90-1 : n362116-1bd7046e-2. 2020-08-01 lukasza Skip `ExprWithCleanup` AST node via `ignoringImplicit` AST matcher. 2020-07-29 hans Roll clang n359864-04b9a46c-1 : n361601-7e8d5a90-1. 2020-07-22 aeubanks Clang build.py: Open instrumented temp file as binary 2020-07-22 aeubanks Allow building Clang with ThinLTO Created with: roll-dep build buildtools testing third_party/googletest third_party/gpuweb-cts third_party/spirv-headers third_party/spirv-tools tools/clang Change-Id: I841ccb15000269ca48d09ac550bc36a06c2b354a Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/26280 Reviewed-by: Sarah Mashayekhi <sarahmashay@google.com>
2020-08-04 17:56:27 +00:00
grammar_file = "${tint_spirv_headers_dir}/include/spirv/unified1/extinst.opencl.debuginfo.100.grammar.json"
}
###############################################################################
# Library - Tint core and optional modules of libtint
###############################################################################
# libtint source sets are divided into a non-optional core in :libtint_core_src
# and optional :libtint_*_src subsets, because ninja does not like having
# multiple source files with the same name, like function.cc, in the same
# source set
# target.
#
# Targets that want to use tint as a library should depend on ":libtint" and
# use the build flags to control what is included, instead of trying to specify
# the subsets that they want.
source_set("libtint_core_src") {
sources = [
"src/ast/access_control.cc",
"src/ast/access_control.h",
"src/ast/access_decoration.cc",
"src/ast/access_decoration.h",
"src/ast/array_accessor_expression.cc",
"src/ast/array_accessor_expression.h",
"src/ast/array_decoration.cc",
"src/ast/array_decoration.h",
"src/ast/assignment_statement.cc",
"src/ast/assignment_statement.h",
"src/ast/binary_expression.cc",
"src/ast/binary_expression.h",
"src/ast/binding_decoration.cc",
"src/ast/binding_decoration.h",
"src/ast/bitcast_expression.cc",
"src/ast/bitcast_expression.h",
"src/ast/block_statement.cc",
"src/ast/block_statement.h",
"src/ast/bool_literal.cc",
"src/ast/bool_literal.h",
"src/ast/break_statement.cc",
"src/ast/break_statement.h",
"src/ast/builtin.cc",
"src/ast/builtin.h",
"src/ast/builtin_decoration.cc",
"src/ast/builtin_decoration.h",
"src/ast/call_expression.cc",
"src/ast/call_expression.h",
"src/ast/call_statement.cc",
"src/ast/call_statement.h",
"src/ast/case_statement.cc",
"src/ast/case_statement.h",
"src/ast/constant_id_decoration.cc",
"src/ast/constant_id_decoration.h",
"src/ast/constructor_expression.cc",
"src/ast/constructor_expression.h",
"src/ast/continue_statement.cc",
"src/ast/continue_statement.h",
"src/ast/decoration.cc",
"src/ast/decoration.h",
"src/ast/discard_statement.cc",
"src/ast/discard_statement.h",
"src/ast/else_statement.cc",
"src/ast/else_statement.h",
"src/ast/expression.cc",
"src/ast/expression.h",
"src/ast/fallthrough_statement.cc",
"src/ast/fallthrough_statement.h",
"src/ast/float_literal.cc",
"src/ast/float_literal.h",
"src/ast/function.cc",
"src/ast/function.h",
"src/ast/function_decoration.cc",
"src/ast/function_decoration.h",
"src/ast/group_decoration.cc",
"src/ast/group_decoration.h",
"src/ast/identifier_expression.cc",
"src/ast/identifier_expression.h",
"src/ast/if_statement.cc",
"src/ast/if_statement.h",
"src/ast/int_literal.cc",
"src/ast/int_literal.h",
"src/ast/literal.cc",
"src/ast/literal.h",
"src/ast/location_decoration.cc",
"src/ast/location_decoration.h",
"src/ast/loop_statement.cc",
"src/ast/loop_statement.h",
"src/ast/member_accessor_expression.cc",
"src/ast/member_accessor_expression.h",
"src/ast/module.cc",
"src/ast/module.h",
"src/ast/node.cc",
"src/ast/node.h",
"src/ast/null_literal.cc",
"src/ast/null_literal.h",
"src/ast/pipeline_stage.cc",
"src/ast/pipeline_stage.h",
"src/ast/return_statement.cc",
"src/ast/return_statement.h",
"src/ast/scalar_constructor_expression.cc",
"src/ast/scalar_constructor_expression.h",
"src/ast/sint_literal.cc",
"src/ast/sint_literal.h",
"src/ast/stage_decoration.cc",
"src/ast/stage_decoration.h",
"src/ast/statement.cc",
"src/ast/statement.h",
"src/ast/storage_class.cc",
"src/ast/storage_class.h",
"src/ast/stride_decoration.cc",
"src/ast/stride_decoration.h",
"src/ast/struct.cc",
"src/ast/struct.h",
"src/ast/struct_block_decoration.cc",
"src/ast/struct_block_decoration.h",
"src/ast/struct_decoration.cc",
"src/ast/struct_decoration.h",
"src/ast/struct_member.cc",
"src/ast/struct_member.h",
"src/ast/struct_member_decoration.cc",
"src/ast/struct_member_decoration.h",
"src/ast/struct_member_offset_decoration.cc",
"src/ast/struct_member_offset_decoration.h",
"src/ast/switch_statement.cc",
"src/ast/switch_statement.h",
"src/ast/type_constructor_expression.cc",
"src/ast/type_constructor_expression.h",
"src/ast/type_decoration.cc",
"src/ast/type_decoration.h",
"src/ast/uint_literal.cc",
"src/ast/uint_literal.h",
"src/ast/unary_op.cc",
"src/ast/unary_op.h",
"src/ast/unary_op_expression.cc",
"src/ast/unary_op_expression.h",
"src/ast/variable.cc",
"src/ast/variable.h",
"src/ast/variable_decl_statement.cc",
"src/ast/variable_decl_statement.h",
"src/ast/variable_decoration.cc",
"src/ast/variable_decoration.h",
"src/ast/workgroup_decoration.cc",
"src/ast/workgroup_decoration.h",
"src/block_allocator.h",
"src/castable.cc",
"src/castable.h",
"src/clone_context.cc",
"src/clone_context.h",
"src/demangler.cc",
"src/demangler.h",
Add IntrinsicTable Provides a centeralized table for all intrinsic overloads. IntrinsicTable::Lookup() takes the intrinsic type and list of arguments, returning either the matched overload, or a sensible error message. The validator has expectations that the TypeDeterminer resolves the return type of an intrinsic call, even when the signature doesn't match. To handle this, create semantic::Intrinsic nodes even when the overload fails to match. A significant portion of the Validator's logic for handling intrinsics can be removed (future change). There are a number of benefits to migrating the TypeDeterminer and Validator over to the IntrinsicTable: * There's far less intrininsic-bespoke code to maintain (no more duplicate `kIntrinsicData` tables in TypeDeterminer and Validator). * Adding or adjusting an intrinsic overload involves adding or adjusting a single Register() line. * Error messages give helpful suggestions for related overloads when given incorrect arguments. * Error messages are consistent for all intrinsics. * Error messages are far more understandable than those produced by the TypeDeterminer. * Further improvements on the error messages produced by the IntrinsicTable will benefit _all_ the intrinsics and their overloads. * The IntrinsicTable generates correct parameter information, including whether parameters are pointers or not. * The IntrinsicTable will help with implementing autocomplete for a language server Change-Id: I4bfa88533396b0b372aef41a62fe47b738531aed Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/40504 Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org>
2021-02-08 22:42:54 +00:00
"src/intrinsic_table.cc",
"src/intrinsic_table.h",
"src/diagnostic/diagnostic.cc",
"src/diagnostic/diagnostic.h",
"src/diagnostic/formatter.cc",
"src/diagnostic/formatter.h",
"src/diagnostic/printer.cc",
"src/diagnostic/printer.h",
"src/inspector/entry_point.cc",
"src/inspector/entry_point.h",
"src/inspector/inspector.cc",
"src/inspector/inspector.h",
"src/inspector/scalar.cc",
"src/inspector/scalar.h",
"src/namer.cc",
"src/namer.h",
"src/program.cc",
"src/program.h",
"src/program_builder.cc",
"src/program_builder.h",
"src/reader/reader.cc",
"src/reader/reader.h",
"src/scope_stack.h",
"src/semantic/call.h",
"src/semantic/expression.h",
"src/semantic/info.h",
"src/semantic/intrinsic.h",
"src/semantic/node.h",
"src/semantic/sem_call.cc",
"src/semantic/sem_call_target.cc",
"src/semantic/sem_expression.cc",
"src/semantic/sem_function.cc",
"src/semantic/sem_info.cc",
"src/semantic/sem_intrinsic.cc",
"src/semantic/sem_member_accessor_expression.cc",
"src/semantic/sem_node.cc",
"src/semantic/sem_variable.cc",
"src/semantic/type_mappings.h",
"src/source.cc",
"src/source.h",
"src/symbol.cc",
"src/symbol.h",
"src/symbol_table.cc",
"src/symbol_table.h",
"src/traits.h",
"src/transform/bound_array_accessors.cc",
"src/transform/bound_array_accessors.h",
"src/transform/emit_vertex_point_size.cc",
"src/transform/emit_vertex_point_size.h",
"src/transform/first_index_offset.cc",
"src/transform/first_index_offset.h",
"src/transform/manager.cc",
"src/transform/manager.h",
"src/transform/transform.cc",
"src/transform/transform.h",
"src/transform/vertex_pulling.cc",
"src/transform/vertex_pulling.h",
"src/type/access_control_type.cc",
"src/type/access_control_type.h",
"src/type/alias_type.cc",
"src/type/alias_type.h",
"src/type/array_type.cc",
"src/type/array_type.h",
"src/type/bool_type.cc",
"src/type/bool_type.h",
"src/type/depth_texture_type.cc",
"src/type/depth_texture_type.h",
"src/type/f32_type.cc",
"src/type/f32_type.h",
"src/type/i32_type.cc",
"src/type/i32_type.h",
"src/type/matrix_type.cc",
"src/type/matrix_type.h",
"src/type/multisampled_texture_type.cc",
"src/type/multisampled_texture_type.h",
"src/type/pointer_type.cc",
"src/type/pointer_type.h",
"src/type/sampled_texture_type.cc",
"src/type/sampled_texture_type.h",
"src/type/sampler_type.cc",
"src/type/sampler_type.h",
"src/type/storage_texture_type.cc",
"src/type/storage_texture_type.h",
"src/type/struct_type.cc",
"src/type/struct_type.h",
"src/type/texture_type.cc",
"src/type/texture_type.h",
"src/type/type.cc",
"src/type/type.h",
"src/type/type_manager.cc",
"src/type/type_manager.h",
"src/type/u32_type.cc",
"src/type/u32_type.h",
"src/type/vector_type.cc",
"src/type/vector_type.h",
"src/type/void_type.cc",
"src/type/void_type.h",
"src/type_determiner.cc",
"src/type_determiner.h",
"src/validator/validator.cc",
"src/validator/validator.h",
"src/validator/validator_impl.cc",
"src/validator/validator_impl.h",
"src/writer/append_vector.cc",
"src/writer/append_vector.h",
"src/writer/float_to_string.cc",
"src/writer/float_to_string.h",
"src/writer/text.cc",
"src/writer/text.h",
"src/writer/text_generator.cc",
"src/writer/text_generator.h",
"src/writer/writer.cc",
"src/writer/writer.h",
]
if (is_linux) {
sources += [ "src/diagnostic/printer_linux.cc" ]
} else if (is_win) {
sources += [ "src/diagnostic/printer_windows.cc" ]
} else {
sources += [ "src/diagnostic/printer_other.cc" ]
}
public_deps = [
":tint_core_enums_unified1",
":tint_core_tables_unified1",
":tint_language_header_cldebuginfo100",
":tint_language_header_debuginfo",
"${tint_spirv_headers_dir}:spv_headers",
"${tint_spirv_tools_dir}:spvtools_headers",
]
configs += [ ":tint_common_config" ]
public_configs = [ ":tint_public_config" ]
if (build_with_chromium) {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
}
}
source_set("libtint_spv_reader_src") {
sources = [
"src/reader/spirv/construct.cc",
"src/reader/spirv/construct.h",
"src/reader/spirv/entry_point_info.h",
"src/reader/spirv/enum_converter.cc",
"src/reader/spirv/enum_converter.h",
"src/reader/spirv/fail_stream.h",
"src/reader/spirv/function.cc",
"src/reader/spirv/function.h",
"src/reader/spirv/namer.cc",
"src/reader/spirv/namer.h",
"src/reader/spirv/parser.cc",
"src/reader/spirv/parser.h",
"src/reader/spirv/parser_impl.cc",
"src/reader/spirv/parser_impl.h",
"src/reader/spirv/usage.cc",
"src/reader/spirv/usage.h",
]
deps = [
":tint_core_enums_unified1",
":tint_core_tables_unified1",
":tint_language_header_cldebuginfo100",
":tint_language_header_debuginfo",
"${tint_spirv_tools_dir}/:spvtools",
"${tint_spirv_tools_dir}/:spvtools_opt",
"${tint_spirv_tools_dir}/:spvtools_val",
]
configs += [ ":tint_common_config" ]
public_configs = [ ":tint_public_config" ]
if (build_with_chromium) {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
}
public_deps = [ ":libtint_core_src" ]
}
source_set("libtint_spv_writer_src") {
sources = [
"src/writer/spirv/binary_writer.cc",
"src/writer/spirv/binary_writer.h",
"src/writer/spirv/builder.cc",
"src/writer/spirv/builder.h",
"src/writer/spirv/function.cc",
"src/writer/spirv/function.h",
"src/writer/spirv/generator.cc",
"src/writer/spirv/generator.h",
"src/writer/spirv/instruction.cc",
"src/writer/spirv/instruction.h",
"src/writer/spirv/operand.cc",
"src/writer/spirv/operand.h",
]
configs += [ ":tint_common_config" ]
public_configs = [ ":tint_public_config" ]
if (build_with_chromium) {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
}
public_deps = [ ":libtint_core_src" ]
}
source_set("libtint_wgsl_reader_src") {
sources = [
"src/reader/wgsl/lexer.cc",
"src/reader/wgsl/lexer.h",
"src/reader/wgsl/parser.cc",
"src/reader/wgsl/parser.h",
"src/reader/wgsl/parser_impl.cc",
"src/reader/wgsl/parser_impl.h",
"src/reader/wgsl/parser_impl_detail.h",
"src/reader/wgsl/token.cc",
"src/reader/wgsl/token.h",
]
configs += [ ":tint_common_config" ]
public_configs = [ ":tint_public_config" ]
if (build_with_chromium) {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
}
public_deps = [ ":libtint_core_src" ]
}
source_set("libtint_wgsl_writer_src") {
sources = [
"src/writer/wgsl/generator.cc",
"src/writer/wgsl/generator.h",
"src/writer/wgsl/generator_impl.cc",
"src/writer/wgsl/generator_impl.h",
]
configs += [ ":tint_common_config" ]
public_configs = [ ":tint_public_config" ]
if (build_with_chromium) {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
}
public_deps = [ ":libtint_core_src" ]
}
source_set("libtint_msl_writer_src") {
sources = [
"src/writer/msl/generator.cc",
"src/writer/msl/generator.h",
"src/writer/msl/generator_impl.cc",
"src/writer/msl/generator_impl.h",
"src/writer/msl/namer.cc",
"src/writer/msl/namer.h",
]
configs += [ ":tint_common_config" ]
public_configs = [ ":tint_public_config" ]
if (build_with_chromium) {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
}
public_deps = [ ":libtint_core_src" ]
}
source_set("libtint_hlsl_writer_src") {
sources = [
"src/writer/hlsl/generator.cc",
"src/writer/hlsl/generator.h",
"src/writer/hlsl/generator_impl.cc",
"src/writer/hlsl/generator_impl.h",
"src/writer/hlsl/namer.cc",
"src/writer/hlsl/namer.h",
]
configs += [ ":tint_common_config" ]
public_configs = [ ":tint_public_config" ]
if (build_with_chromium) {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
}
public_deps = [ ":libtint_core_src" ]
}
source_set("libtint") {
public_deps = [ ":libtint_core_src" ]
if (tint_build_spv_reader) {
public_deps += [ ":libtint_spv_reader_src" ]
}
if (tint_build_spv_writer) {
public_deps += [ ":libtint_spv_writer_src" ]
}
if (tint_build_wgsl_reader) {
public_deps += [ ":libtint_wgsl_reader_src" ]
}
if (tint_build_wgsl_writer) {
public_deps += [ ":libtint_wgsl_writer_src" ]
}
if (tint_build_msl_writer) {
public_deps += [ ":libtint_msl_writer_src" ]
}
if (tint_build_hlsl_writer) {
public_deps += [ ":libtint_hlsl_writer_src" ]
}
configs += [ ":tint_common_config" ]
public_configs = [ ":tint_public_config" ]
if (build_with_chromium) {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
}
}
###############################################################################
# Gtest Gmock - Handle building inside and outside of Chromium.
###############################################################################
# When building outside of Chromium we need to define our own targets for GTest
# and GMock. However when compiling inside of Chromium we need to reuse the
# existing targets, both because Chromium has a special harness for swarming
# and because otherwise the "gn check" fails.
if (!build_with_chromium) {
# When we aren't in Chromium we define out own targets based on the location
# of the googletest repo.
config("gtest_config") {
include_dirs = [
"${tint_googletest_dir}/googletest",
"${tint_googletest_dir}/googletest/include",
]
}
static_library("gtest") {
testonly = true
sources = [ "${tint_googletest_dir}/googletest/src/gtest-all.cc" ]
public_configs = [ ":gtest_config" ]
}
config("gmock_config") {
include_dirs = [
"${tint_googletest_dir}/googlemock",
"${tint_googletest_dir}/googlemock/include",
"${tint_googletest_dir}/googletest/include",
]
}
static_library("gmock") {
testonly = true
sources = [
"${tint_googletest_dir}/googlemock/src/gmock-all.cc",
"${tint_googletest_dir}/googlemock/src/gmock_main.cc",
]
public_configs = [ ":gmock_config" ]
}
group("gmock_and_gtest") {
testonly = true
public_deps = [
":gmock",
":gtest",
]
}
} else {
# When we are in Chromium we reuse its targets, and also add some deps that
# are needed to launch the test in swarming mode.
group("gmock_and_gtest") {
testonly = true
public_deps = [
"//base",
"//base/test:test_support",
"//testing/gmock",
"//testing/gtest",
"//third_party/googletest:gmock",
]
}
}
###############################################################################
# Wrapping of Chromium targets
###############################################################################
# These targets are separated because they are Chromium sources files that
# can't use the tint_internal config, otherwise Tint's warning flags get
# applied while compiling a bunch of Chromium's //base (via header inclusion)
if (build_with_chromium) {
source_set("tint_unittests_main") {
testonly = true
deps = [ ":gmock_and_gtest" ]
sources = [ "//gpu/tint_unittests_main.cc" ]
}
}
###############################################################################
# Tests - For libtint core and optional modules
###############################################################################
config("tint_unittests_config") {
include_dirs = [
"${tint_googletest_dir}/googlemock/include",
"${tint_googletest_dir}/googletest/include",
]
}
source_set("tint_unittests_core_src") {
sources = [
"src/ast/access_decoration_test.cc",
"src/ast/array_accessor_expression_test.cc",
"src/ast/assignment_statement_test.cc",
"src/ast/binary_expression_test.cc",
"src/ast/binding_decoration_test.cc",
"src/ast/bitcast_expression_test.cc",
"src/ast/block_statement_test.cc",
"src/ast/bool_literal_test.cc",
"src/ast/break_statement_test.cc",
"src/ast/builtin_decoration_test.cc",
"src/ast/call_expression_test.cc",
"src/ast/call_statement_test.cc",
"src/ast/case_statement_test.cc",
"src/ast/constant_id_decoration_test.cc",
"src/ast/continue_statement_test.cc",
"src/ast/decoration_test.cc",
"src/ast/discard_statement_test.cc",
"src/ast/else_statement_test.cc",
"src/ast/fallthrough_statement_test.cc",
"src/ast/float_literal_test.cc",
"src/ast/function_test.cc",
"src/ast/group_decoration_test.cc",
"src/ast/identifier_expression_test.cc",
"src/ast/if_statement_test.cc",
"src/ast/int_literal_test.cc",
"src/ast/intrinsic_texture_helper_test.cc",
"src/ast/intrinsic_texture_helper_test.h",
"src/ast/location_decoration_test.cc",
"src/ast/loop_statement_test.cc",
"src/ast/member_accessor_expression_test.cc",
"src/ast/module_clone_test.cc",
"src/ast/module_test.cc",
"src/ast/null_literal_test.cc",
"src/ast/return_statement_test.cc",
"src/ast/scalar_constructor_expression_test.cc",
"src/ast/sint_literal_test.cc",
"src/ast/stage_decoration_test.cc",
"src/ast/stride_decoration_test.cc",
"src/ast/struct_member_offset_decoration_test.cc",
"src/ast/struct_member_test.cc",
"src/ast/struct_test.cc",
"src/ast/switch_statement_test.cc",
"src/ast/test_helper.h",
"src/ast/type_constructor_expression_test.cc",
"src/ast/uint_literal_test.cc",
"src/ast/unary_op_expression_test.cc",
"src/ast/variable_decl_statement_test.cc",
"src/ast/variable_test.cc",
"src/ast/workgroup_decoration_test.cc",
"src/block_allocator_test.cc",
"src/castable_test.cc",
"src/clone_context_test.cc",
"src/demangler_test.cc",
"src/diagnostic/formatter_test.cc",
"src/diagnostic/printer_test.cc",
"src/inspector/inspector_test.cc",
"src/namer_test.cc",
"src/program_builder_test.cc",
"src/program_test.cc",
"src/scope_stack_test.cc",
"src/symbol_table_test.cc",
"src/symbol_test.cc",
"src/traits_test.cc",
"src/transform/bound_array_accessors_test.cc",
"src/transform/emit_vertex_point_size_test.cc",
"src/transform/first_index_offset_test.cc",
"src/transform/test_helper.h",
"src/transform/vertex_pulling_test.cc",
"src/type/access_control_type_test.cc",
"src/type/alias_type_test.cc",
"src/type/array_type_test.cc",
"src/type/bool_type_test.cc",
"src/type/depth_texture_type_test.cc",
"src/type/f32_type_test.cc",
"src/type/i32_type_test.cc",
"src/type/matrix_type_test.cc",
"src/type/multisampled_texture_type_test.cc",
"src/type/pointer_type_test.cc",
"src/type/sampled_texture_type_test.cc",
"src/type/sampler_type_test.cc",
"src/type/storage_texture_type_test.cc",
"src/type/struct_type_test.cc",
"src/type/texture_type_test.cc",
"src/type/type_manager_test.cc",
"src/type/u32_type_test.cc",
"src/type/vector_type_test.cc",
"src/type_determiner_test.cc",
"src/validator/validator_builtins_test.cc",
"src/validator/validator_control_block_test.cc",
"src/validator/validator_function_test.cc",
"src/validator/validator_test.cc",
Add IntrinsicTable Provides a centeralized table for all intrinsic overloads. IntrinsicTable::Lookup() takes the intrinsic type and list of arguments, returning either the matched overload, or a sensible error message. The validator has expectations that the TypeDeterminer resolves the return type of an intrinsic call, even when the signature doesn't match. To handle this, create semantic::Intrinsic nodes even when the overload fails to match. A significant portion of the Validator's logic for handling intrinsics can be removed (future change). There are a number of benefits to migrating the TypeDeterminer and Validator over to the IntrinsicTable: * There's far less intrininsic-bespoke code to maintain (no more duplicate `kIntrinsicData` tables in TypeDeterminer and Validator). * Adding or adjusting an intrinsic overload involves adding or adjusting a single Register() line. * Error messages give helpful suggestions for related overloads when given incorrect arguments. * Error messages are consistent for all intrinsics. * Error messages are far more understandable than those produced by the TypeDeterminer. * Further improvements on the error messages produced by the IntrinsicTable will benefit _all_ the intrinsics and their overloads. * The IntrinsicTable generates correct parameter information, including whether parameters are pointers or not. * The IntrinsicTable will help with implementing autocomplete for a language server Change-Id: I4bfa88533396b0b372aef41a62fe47b738531aed Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/40504 Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org>
2021-02-08 22:42:54 +00:00
"src/validator/validator_test_helper.cc",
"src/validator/validator_test_helper.h",
"src/writer/float_to_string_test.cc",
]
configs += [
":tint_common_config",
":tint_unittests_config",
]
public_configs = [ ":tint_public_config" ]
if (build_with_chromium) {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
}
testonly = true
deps = [
":gmock_and_gtest",
":libtint_core_src",
":libtint_wgsl_reader_src",
":libtint_wgsl_writer_src",
]
}
source_set("tint_unittests_spv_reader_src") {
sources = [
"src/reader/spirv/enum_converter_test.cc",
"src/reader/spirv/fail_stream_test.cc",
"src/reader/spirv/function_arithmetic_test.cc",
"src/reader/spirv/function_bit_test.cc",
"src/reader/spirv/function_call_test.cc",
"src/reader/spirv/function_cfg_test.cc",
"src/reader/spirv/function_composite_test.cc",
"src/reader/spirv/function_conversion_test.cc",
"src/reader/spirv/function_decl_test.cc",
"src/reader/spirv/function_glsl_std_450_test.cc",
"src/reader/spirv/function_logical_test.cc",
"src/reader/spirv/function_memory_test.cc",
"src/reader/spirv/function_misc_test.cc",
"src/reader/spirv/function_var_test.cc",
"src/reader/spirv/namer_test.cc",
"src/reader/spirv/parser_impl_convert_member_decoration_test.cc",
"src/reader/spirv/parser_impl_convert_type_test.cc",
"src/reader/spirv/parser_impl_function_decl_test.cc",
"src/reader/spirv/parser_impl_get_decorations_test.cc",
"src/reader/spirv/parser_impl_handle_test.cc",
"src/reader/spirv/parser_impl_import_test.cc",
"src/reader/spirv/parser_impl_module_var_test.cc",
"src/reader/spirv/parser_impl_named_types_test.cc",
"src/reader/spirv/parser_impl_test.cc",
"src/reader/spirv/parser_impl_user_name_test.cc",
"src/reader/spirv/parser_test.cc",
"src/reader/spirv/spirv_tools_helpers_test.cc",
"src/reader/spirv/spirv_tools_helpers_test.h",
"src/reader/spirv/usage_test.cc",
]
configs += [
":tint_common_config",
":tint_unittests_config",
]
public_configs = [ ":tint_public_config" ]
if (build_with_chromium) {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
}
testonly = true
deps = [
":gmock_and_gtest",
":libtint_spv_reader_src",
":tint_unittests_core_src",
]
}
source_set("tint_unittests_spv_writer_src") {
sources = [
"src/writer/spirv/binary_writer_test.cc",
"src/writer/spirv/builder_accessor_expression_test.cc",
"src/writer/spirv/builder_assign_test.cc",
"src/writer/spirv/builder_binary_expression_test.cc",
"src/writer/spirv/builder_bitcast_expression_test.cc",
"src/writer/spirv/builder_block_test.cc",
"src/writer/spirv/builder_call_test.cc",
"src/writer/spirv/builder_constructor_expression_test.cc",
"src/writer/spirv/builder_discard_test.cc",
"src/writer/spirv/builder_format_conversion_test.cc",
"src/writer/spirv/builder_function_decoration_test.cc",
"src/writer/spirv/builder_function_test.cc",
"src/writer/spirv/builder_function_variable_test.cc",
"src/writer/spirv/builder_global_variable_test.cc",
"src/writer/spirv/builder_ident_expression_test.cc",
"src/writer/spirv/builder_if_test.cc",
"src/writer/spirv/builder_intrinsic_test.cc",
"src/writer/spirv/builder_intrinsic_texture_test.cc",
"src/writer/spirv/builder_literal_test.cc",
"src/writer/spirv/builder_loop_test.cc",
"src/writer/spirv/builder_return_test.cc",
"src/writer/spirv/builder_switch_test.cc",
"src/writer/spirv/builder_test.cc",
"src/writer/spirv/builder_type_test.cc",
"src/writer/spirv/builder_unary_op_expression_test.cc",
"src/writer/spirv/instruction_test.cc",
"src/writer/spirv/operand_test.cc",
"src/writer/spirv/spv_dump.cc",
"src/writer/spirv/spv_dump.h",
"src/writer/spirv/test_helper.h",
]
configs += [
":tint_common_config",
":tint_unittests_config",
]
public_configs = [ ":tint_public_config" ]
if (build_with_chromium) {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
}
testonly = true
deps = [
":gmock_and_gtest",
":libtint_spv_writer_src",
":tint_unittests_core_src",
]
}
source_set("tint_unittests_wgsl_reader_src") {
sources = [
"src/reader/wgsl/lexer_test.cc",
"src/reader/wgsl/parser_impl_additive_expression_test.cc",
"src/reader/wgsl/parser_impl_and_expression_test.cc",
"src/reader/wgsl/parser_impl_argument_expression_list_test.cc",
"src/reader/wgsl/parser_impl_assignment_stmt_test.cc",
"src/reader/wgsl/parser_impl_body_stmt_test.cc",
"src/reader/wgsl/parser_impl_break_stmt_test.cc",
"src/reader/wgsl/parser_impl_call_stmt_test.cc",
"src/reader/wgsl/parser_impl_case_body_test.cc",
"src/reader/wgsl/parser_impl_const_expr_test.cc",
"src/reader/wgsl/parser_impl_const_literal_test.cc",
"src/reader/wgsl/parser_impl_continue_stmt_test.cc",
"src/reader/wgsl/parser_impl_continuing_stmt_test.cc",
"src/reader/wgsl/parser_impl_depth_texture_type_test.cc",
"src/reader/wgsl/parser_impl_else_stmt_test.cc",
"src/reader/wgsl/parser_impl_elseif_stmt_test.cc",
"src/reader/wgsl/parser_impl_equality_expression_test.cc",
"src/reader/wgsl/parser_impl_error_msg_test.cc",
"src/reader/wgsl/parser_impl_error_resync_test.cc",
"src/reader/wgsl/parser_impl_exclusive_or_expression_test.cc",
"src/reader/wgsl/parser_impl_for_stmt_test.cc",
"src/reader/wgsl/parser_impl_function_decl_test.cc",
"src/reader/wgsl/parser_impl_function_decoration_list_test.cc",
"src/reader/wgsl/parser_impl_function_decoration_test.cc",
"src/reader/wgsl/parser_impl_function_header_test.cc",
"src/reader/wgsl/parser_impl_function_type_decl_test.cc",
"src/reader/wgsl/parser_impl_global_constant_decl_test.cc",
"src/reader/wgsl/parser_impl_global_decl_test.cc",
"src/reader/wgsl/parser_impl_global_variable_decl_test.cc",
"src/reader/wgsl/parser_impl_if_stmt_test.cc",
"src/reader/wgsl/parser_impl_image_storage_type_test.cc",
"src/reader/wgsl/parser_impl_inclusive_or_expression_test.cc",
"src/reader/wgsl/parser_impl_logical_and_expression_test.cc",
"src/reader/wgsl/parser_impl_logical_or_expression_test.cc",
"src/reader/wgsl/parser_impl_loop_stmt_test.cc",
"src/reader/wgsl/parser_impl_multiplicative_expression_test.cc",
"src/reader/wgsl/parser_impl_param_list_test.cc",
"src/reader/wgsl/parser_impl_paren_rhs_stmt_test.cc",
"src/reader/wgsl/parser_impl_pipeline_stage_test.cc",
"src/reader/wgsl/parser_impl_postfix_expression_test.cc",
"src/reader/wgsl/parser_impl_primary_expression_test.cc",
"src/reader/wgsl/parser_impl_relational_expression_test.cc",
"src/reader/wgsl/parser_impl_sampled_texture_type_test.cc",
"src/reader/wgsl/parser_impl_sampler_type_test.cc",
"src/reader/wgsl/parser_impl_shift_expression_test.cc",
"src/reader/wgsl/parser_impl_statement_test.cc",
"src/reader/wgsl/parser_impl_statements_test.cc",
"src/reader/wgsl/parser_impl_storage_class_test.cc",
"src/reader/wgsl/parser_impl_storage_texture_type_test.cc",
"src/reader/wgsl/parser_impl_struct_body_decl_test.cc",
"src/reader/wgsl/parser_impl_struct_decl_test.cc",
"src/reader/wgsl/parser_impl_struct_decoration_decl_test.cc",
"src/reader/wgsl/parser_impl_struct_decoration_test.cc",
"src/reader/wgsl/parser_impl_struct_member_decoration_decl_test.cc",
"src/reader/wgsl/parser_impl_struct_member_decoration_test.cc",
"src/reader/wgsl/parser_impl_struct_member_test.cc",
"src/reader/wgsl/parser_impl_switch_body_test.cc",
"src/reader/wgsl/parser_impl_switch_stmt_test.cc",
"src/reader/wgsl/parser_impl_test.cc",
"src/reader/wgsl/parser_impl_test_helper.cc",
"src/reader/wgsl/parser_impl_test_helper.h",
"src/reader/wgsl/parser_impl_texture_sampler_types_test.cc",
"src/reader/wgsl/parser_impl_type_alias_test.cc",
"src/reader/wgsl/parser_impl_type_decl_test.cc",
"src/reader/wgsl/parser_impl_unary_expression_test.cc",
"src/reader/wgsl/parser_impl_variable_decl_test.cc",
"src/reader/wgsl/parser_impl_variable_decoration_list_test.cc",
"src/reader/wgsl/parser_impl_variable_decoration_test.cc",
"src/reader/wgsl/parser_impl_variable_ident_decl_test.cc",
"src/reader/wgsl/parser_impl_variable_stmt_test.cc",
"src/reader/wgsl/parser_impl_variable_storage_decoration_test.cc",
"src/reader/wgsl/parser_test.cc",
"src/reader/wgsl/token_test.cc",
]
configs += [
":tint_common_config",
":tint_unittests_config",
]
public_configs = [ ":tint_public_config" ]
if (build_with_chromium) {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
}
testonly = true
deps = [
":gmock_and_gtest",
":libtint_wgsl_reader_src",
":tint_unittests_core_src",
]
}
source_set("tint_unittests_wgsl_writer_src") {
sources = [
"src/writer/wgsl/generator_impl_alias_type_test.cc",
"src/writer/wgsl/generator_impl_array_accessor_test.cc",
"src/writer/wgsl/generator_impl_assign_test.cc",
"src/writer/wgsl/generator_impl_binary_test.cc",
"src/writer/wgsl/generator_impl_bitcast_test.cc",
"src/writer/wgsl/generator_impl_block_test.cc",
"src/writer/wgsl/generator_impl_break_test.cc",
"src/writer/wgsl/generator_impl_call_test.cc",
"src/writer/wgsl/generator_impl_case_test.cc",
"src/writer/wgsl/generator_impl_cast_test.cc",
"src/writer/wgsl/generator_impl_constructor_test.cc",
"src/writer/wgsl/generator_impl_continue_test.cc",
"src/writer/wgsl/generator_impl_discard_test.cc",
"src/writer/wgsl/generator_impl_fallthrough_test.cc",
"src/writer/wgsl/generator_impl_function_test.cc",
"src/writer/wgsl/generator_impl_identifier_test.cc",
"src/writer/wgsl/generator_impl_if_test.cc",
"src/writer/wgsl/generator_impl_loop_test.cc",
"src/writer/wgsl/generator_impl_member_accessor_test.cc",
"src/writer/wgsl/generator_impl_return_test.cc",
"src/writer/wgsl/generator_impl_switch_test.cc",
"src/writer/wgsl/generator_impl_test.cc",
"src/writer/wgsl/generator_impl_type_test.cc",
"src/writer/wgsl/generator_impl_unary_op_test.cc",
"src/writer/wgsl/generator_impl_variable_decl_statement_test.cc",
"src/writer/wgsl/generator_impl_variable_test.cc",
"src/writer/wgsl/test_helper.h",
]
configs += [
":tint_common_config",
":tint_unittests_config",
]
public_configs = [ ":tint_public_config" ]
if (build_with_chromium) {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
}
testonly = true
deps = [
":gmock_and_gtest",
":libtint_wgsl_writer_src",
":tint_unittests_core_src",
]
}
source_set("tint_unittests_msl_writer_src") {
sources = [
"src/writer/msl/generator_impl_alias_type_test.cc",
"src/writer/msl/generator_impl_array_accessor_test.cc",
"src/writer/msl/generator_impl_assign_test.cc",
"src/writer/msl/generator_impl_binary_test.cc",
"src/writer/msl/generator_impl_bitcast_test.cc",
"src/writer/msl/generator_impl_block_test.cc",
"src/writer/msl/generator_impl_break_test.cc",
"src/writer/msl/generator_impl_call_test.cc",
"src/writer/msl/generator_impl_case_test.cc",
"src/writer/msl/generator_impl_cast_test.cc",
"src/writer/msl/generator_impl_constructor_test.cc",
"src/writer/msl/generator_impl_continue_test.cc",
"src/writer/msl/generator_impl_discard_test.cc",
"src/writer/msl/generator_impl_function_entry_point_data_test.cc",
"src/writer/msl/generator_impl_function_test.cc",
"src/writer/msl/generator_impl_identifier_test.cc",
"src/writer/msl/generator_impl_if_test.cc",
"src/writer/msl/generator_impl_import_test.cc",
"src/writer/msl/generator_impl_intrinsic_test.cc",
"src/writer/msl/generator_impl_intrinsic_texture_test.cc",
"src/writer/msl/generator_impl_loop_test.cc",
"src/writer/msl/generator_impl_member_accessor_test.cc",
"src/writer/msl/generator_impl_module_constant_test.cc",
"src/writer/msl/generator_impl_return_test.cc",
"src/writer/msl/generator_impl_switch_test.cc",
"src/writer/msl/generator_impl_test.cc",
"src/writer/msl/generator_impl_type_test.cc",
"src/writer/msl/generator_impl_unary_op_test.cc",
"src/writer/msl/generator_impl_variable_decl_statement_test.cc",
"src/writer/msl/namer_test.cc",
"src/writer/msl/test_helper.h",
]
configs += [
":tint_common_config",
":tint_unittests_config",
]
public_configs = [ ":tint_public_config" ]
if (build_with_chromium) {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
}
testonly = true
deps = [
":gmock_and_gtest",
":libtint_msl_writer_src",
":tint_unittests_core_src",
]
}
source_set("tint_unittests_hlsl_writer_src") {
sources = [
"src/writer/hlsl/generator_impl_alias_type_test.cc",
"src/writer/hlsl/generator_impl_array_accessor_test.cc",
"src/writer/hlsl/generator_impl_assign_test.cc",
"src/writer/hlsl/generator_impl_binary_test.cc",
"src/writer/hlsl/generator_impl_bitcast_test.cc",
"src/writer/hlsl/generator_impl_block_test.cc",
"src/writer/hlsl/generator_impl_break_test.cc",
"src/writer/hlsl/generator_impl_call_test.cc",
"src/writer/hlsl/generator_impl_case_test.cc",
"src/writer/hlsl/generator_impl_cast_test.cc",
"src/writer/hlsl/generator_impl_constructor_test.cc",
"src/writer/hlsl/generator_impl_continue_test.cc",
"src/writer/hlsl/generator_impl_discard_test.cc",
"src/writer/hlsl/generator_impl_function_entry_point_data_test.cc",
"src/writer/hlsl/generator_impl_function_test.cc",
"src/writer/hlsl/generator_impl_identifier_test.cc",
"src/writer/hlsl/generator_impl_if_test.cc",
"src/writer/hlsl/generator_impl_import_test.cc",
"src/writer/hlsl/generator_impl_intrinsic_test.cc",
"src/writer/hlsl/generator_impl_intrinsic_texture_test.cc",
"src/writer/hlsl/generator_impl_loop_test.cc",
"src/writer/hlsl/generator_impl_member_accessor_test.cc",
"src/writer/hlsl/generator_impl_module_constant_test.cc",
"src/writer/hlsl/generator_impl_return_test.cc",
"src/writer/hlsl/generator_impl_switch_test.cc",
"src/writer/hlsl/generator_impl_test.cc",
"src/writer/hlsl/generator_impl_type_test.cc",
"src/writer/hlsl/generator_impl_unary_op_test.cc",
"src/writer/hlsl/generator_impl_variable_decl_statement_test.cc",
"src/writer/hlsl/namer_test.cc",
"src/writer/hlsl/test_helper.h",
]
configs += [
":tint_common_config",
":tint_unittests_config",
]
public_configs = [ ":tint_public_config" ]
if (build_with_chromium) {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
}
testonly = true
deps = [
":gmock_and_gtest",
":libtint_hlsl_writer_src",
":tint_unittests_core_src",
]
}
source_set("tint_unittests_src") {
testonly = true
deps = [ ":tint_unittests_core_src" ]
if (tint_build_spv_reader) {
deps += [ ":tint_unittests_spv_reader_src" ]
}
if (tint_build_spv_writer) {
deps += [ ":tint_unittests_spv_writer_src" ]
}
if (tint_build_wgsl_reader) {
deps += [ ":tint_unittests_wgsl_reader_src" ]
}
if (tint_build_wgsl_writer) {
deps += [ ":tint_unittests_wgsl_writer_src" ]
}
if (tint_build_msl_writer) {
deps += [ ":tint_unittests_msl_writer_src" ]
}
if (tint_build_hlsl_writer) {
deps += [ ":tint_unittests_hlsl_writer_src" ]
}
configs += [
":tint_common_config",
":tint_unittests_config",
]
public_configs = [ ":tint_public_config" ]
if (build_with_chromium) {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
}
}
test("tint_unittests") {
deps = [
":gmock_and_gtest",
":tint_unittests_src",
"${tint_spirv_tools_dir}/:spvtools",
"${tint_spirv_tools_dir}/:spvtools_opt",
"${tint_spirv_tools_dir}/:spvtools_val",
]
if (build_with_chromium) {
deps += [ ":tint_unittests_main" ]
}
configs += [
":tint_common_config",
":tint_unittests_config",
]
public_configs = [ ":tint_public_config" ]
if (build_with_chromium) {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
}
testonly = true
}
###############################################################################
# Fuzzers - Libfuzzer based fuzzing targets for Chromium
###############################################################################
# To run the fuzzers outside of Chromium, use the CMake based builds.
if (build_with_chromium) {
import("//testing/libfuzzer/fuzzer_test.gni")
# fuzzer_test doesn't have configs members, so need to define them in an empty
# source_set.
source_set("tint_fuzzer_common") {
public_configs = [
":tint_config",
":tint_common_config",
":tint_public_config",
]
public_deps = [ ":libtint" ]
sources = [
"fuzzers/tint_common_fuzzer.cc",
"fuzzers/tint_common_fuzzer.h",
]
}
if (tint_build_wgsl_reader) {
fuzzer_test("tint_wgsl_reader_fuzzer") {
sources = [ "fuzzers/tint_wgsl_reader_fuzzer.cc" ]
deps = [ ":tint_fuzzer_common" ]
}
}
if (tint_build_wgsl_reader && tint_build_wgsl_writer) {
fuzzer_test("tint_wgsl_reader_wgsl_writer_fuzzer") {
sources = [ "fuzzers/tint_wgsl_reader_wgsl_writer_fuzzer.cc" ]
deps = [ ":tint_fuzzer_common" ]
}
}
if (tint_build_wgsl_reader && tint_build_spv_writer) {
fuzzer_test("tint_wgsl_reader_spv_writer_fuzzer") {
sources = [ "fuzzers/tint_wgsl_reader_spv_writer_fuzzer.cc" ]
deps = [ ":tint_fuzzer_common" ]
}
fuzzer_test("tint_all_transforms_fuzzer") {
sources = [ "fuzzers/tint_all_transforms_fuzzer.cc" ]
deps = [ ":tint_fuzzer_common" ]
}
fuzzer_test("tint_bound_array_accessors_fuzzer") {
sources = [ "fuzzers/tint_bound_array_accessors_fuzzer.cc" ]
deps = [ ":tint_fuzzer_common" ]
}
fuzzer_test("tint_emit_vertex_point_size_fuzzer") {
sources = [ "fuzzers/tint_emit_vertex_point_size_fuzzer.cc" ]
deps = [ ":tint_fuzzer_common" ]
}
fuzzer_test("tint_first_index_offset_fuzzer") {
sources = [ "fuzzers/tint_first_index_offset_fuzzer.cc" ]
deps = [ ":tint_fuzzer_common" ]
}
fuzzer_test("tint_inspector_fuzzer") {
sources = [ "fuzzers/tint_inspector_fuzzer.cc" ]
deps = [ ":tint_fuzzer_common" ]
}
}
if (tint_build_wgsl_reader && tint_build_hlsl_writer) {
fuzzer_test("tint_wgsl_reader_hlsl_writer_fuzzer") {
sources = [ "fuzzers/tint_wgsl_reader_hlsl_writer_fuzzer.cc" ]
deps = [ ":tint_fuzzer_common" ]
}
}
if (tint_build_wgsl_reader && tint_build_msl_writer) {
fuzzer_test("tint_wgsl_reader_msl_writer_fuzzer") {
sources = [ "fuzzers/tint_wgsl_reader_msl_writer_fuzzer.cc" ]
deps = [ ":tint_fuzzer_common" ]
}
}
if (tint_build_spv_reader) {
fuzzer_test("tint_spv_reader_fuzzer") {
sources = [ "fuzzers/tint_spv_reader_fuzzer.cc" ]
deps = [ ":tint_fuzzer_common" ]
}
}
if (tint_build_spv_reader && tint_build_wgsl_writer) {
fuzzer_test("tint_spv_reader_wgsl_writer_fuzzer") {
sources = [ "fuzzers/tint_spv_reader_wgsl_writer_fuzzer.cc" ]
deps = [ ":tint_fuzzer_common" ]
}
}
if (tint_build_spv_reader && tint_build_spv_writer) {
fuzzer_test("tint_spv_reader_spv_writer_fuzzer") {
sources = [ "fuzzers/tint_spv_reader_spv_writer_fuzzer.cc" ]
deps = [ ":tint_fuzzer_common" ]
}
}
if (tint_build_spv_reader && tint_build_hlsl_writer) {
fuzzer_test("tint_spv_reader_hlsl_writer_fuzzer") {
sources = [ "fuzzers/tint_spv_reader_hlsl_writer_fuzzer.cc" ]
deps = [ ":tint_fuzzer_common" ]
}
}
if (tint_build_spv_reader && tint_build_msl_writer) {
fuzzer_test("tint_spv_reader_msl_writer_fuzzer") {
sources = [ "fuzzers/tint_spv_reader_msl_writer_fuzzer.cc" ]
deps = [ ":tint_fuzzer_common" ]
}
}
if (tint_build_wgsl_reader && tint_build_wgsl_writer) {
fuzzer_test("tint_ast_clone_fuzzer") {
sources = [ "fuzzers/tint_ast_clone_fuzzer.cc" ]
deps = [ ":tint_fuzzer_common" ]
}
}
}
###############################################################################
# Samples - Executables exposing command line functionality
###############################################################################
executable("tint") {
sources = [ "samples/main.cc" ]
deps = [
":libtint",
"${tint_spirv_tools_dir}/:spvtools",
"${tint_spirv_tools_dir}/:spvtools_opt",
"${tint_spirv_tools_dir}/:spvtools_val",
]
configs += [
":tint_common_config",
":tint_config",
]
public_configs = [ ":tint_public_config" ]
if (build_with_chromium) {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
}
}