commit | 3e025a4e74c4e4a9838a314bec3c21dc607c8fd2 | [log] [tgz] |
---|---|---|
author | David Neto <dneto@google.com> | Fri May 08 13:56:54 2020 +0000 |
committer | David Neto <dneto@google.com> | Fri May 08 13:56:54 2020 +0000 |
tree | a23d5f5d220beb1e4c83aa86c77d94f17859bfaf | |
parent | cad427e7871aa31046143745529cd9fd4ab6e1ba [diff] |
Rolling 6 dependencies Roll build/ ad38f3729..6f820da25 (71 commits) https://chromium.googlesource.com/chromium/src/build/+log/ad38f37298b5..6f820da25494 $ git log ad38f3729..6f820da25 --date=short --no-merges --format='%ad %ae %s' 2020-05-08 thakis mac: Stop using -all_load. 2020-05-08 chromium-autoroll Roll Fuchsia SDK from 0.20200507.3.1 to 0.20200508.0.1 2020-05-08 hzjian Remove package name check in write_build_config.py 2020-05-08 chromium-autoroll Roll Fuchsia SDK from 0.20200507.2.1 to 0.20200507.3.1 2020-05-07 tcwang Disable -Wmax-tokens for Chrome OS 2020-05-07 cduvall Move system_webview_apk_target to declare_args() 2020-05-07 wnwen Android: Lint chrome_public_test_apk 2020-05-07 chromium-autoroll Roll Fuchsia SDK from 0.20200507.1.1 to 0.20200507.2.1 2020-05-07 agrieve Android: Use different outputs for turbine vs ijar 2020-05-07 agrieve Android: Use non-dummy multiprocessing in compile_resources.py 2020-05-07 chromium-autoroll Roll Fuchsia SDK from 0.20200505.3.1 to 0.20200507.1.1 2020-05-07 bjoyce Remove jetifcation of resources. 2020-05-07 agrieve Android: Add .arsc resource filtering 2020-05-06 perrier Reland "[Android] add sr-Latn to locales.gni and resource packs" 2020-05-06 agrieve Stop building monochrome_public_apk on android-binary-size trybot 2020-05-06 thomasanderson Reland "Remove third_party/binutils"" 2020-05-06 wnwen Android: Run lint only on nontest apks and bundles 2020-05-06 agrieve AndroidWebView: Add assert_no_deps for material_design 2020-05-06 agrieve generate_gradle.py: Use ninja from PATH 2020-05-06 wez Revert "Roll Fuchsia SDK from 0.20200505.3.1 to 0.20200506.0.1" 2020-05-06 chromium-autoroll Roll Fuchsia SDK from 0.20200505.3.1 to 0.20200506.0.1 2020-05-06 steveroe [fuchsia] Add test runner diagnostics for emulator exit status. 2020-05-06 chromium-autoroll Roll Fuchsia SDK from 0.20200505.2.1 to 0.20200505.3.1 2020-05-05 sclittle Revert "Remove third_party/binutils"" 2020-05-05 thomasanderson Remove third_party/binutils" 2020-05-05 chromium-autoroll Roll Fuchsia SDK from 0.20200505.1.1 to 0.20200505.2.1 2020-05-05 hypan emulator: Add textpb files for avd creation 2020-05-05 sebmarchand Enable PGO for all Win official builds 2020-05-05 hzjian Make crazy. library prefixing an explicit build setting 2020-05-05 spang [fuchsia] Add scenic to test manifest 2020-05-05 agrieve Android: Disable proguard mapping for incremental APKs in release 2020-05-05 chromium-autoroll Roll Fuchsia SDK from 0.20200504.3.1 to 0.20200505.1.1 2020-05-05 cduvall Only add WebLayer translations package for bundles 2020-05-05 chromium-autoroll Roll Fuchsia SDK from 0.20200504.2.1 to 0.20200504.3.1 2020-05-04 cduvall [WebLayer] Fix crash when other shared resource library is loaded 2020-05-04 sebmarchand Enable PGO for all Mac official builds 2020-05-04 cduvall Mark WebLayer specific resources as final in standalone WebView 2020-05-04 wez [fuchsia] Suppress [[[ELF ...]]] lines in symbolizer output. 2020-05-04 yuezhanggg Add strings for conditional tab strip 2020-05-04 chromium-autoroll Roll Fuchsia SDK from 0.20200504.1.1 to 0.20200504.2.1 2020-05-04 thakis mac: Disable assert for using hermetic xcode for official builds. 2020-05-04 chromium-autoroll Roll Fuchsia SDK from 0.20200503.3.1 to 0.20200504.1.1 2020-05-04 chromium-autoroll Roll Fuchsia SDK from 0.20200503.2.1 to 0.20200503.3.1 2020-05-03 chromium-autoroll Roll Fuchsia SDK from 0.20200503.1.1 to 0.20200503.2.1 2020-05-03 chromium-autoroll Roll Fuchsia SDK from 0.20200503.0.1 to 0.20200503.1.1 2020-05-03 chromium-autoroll Roll Fuchsia SDK from 0.20200501.3.3 to 0.20200503.0.1 2020-05-03 sebmarchand Revert "Automatically do a PGO build when setting the official bit on Win & Mac" 2020-05-02 thakis Reland "mac: Reorganize how SDK search paths are set when using hermetic Xcode." 2020-05-02 sebmarchand Automatically do a PGO build when setting the official bit on Win & Mac 2020-05-02 chromium-autoroll Roll Fuchsia SDK from 0.20200501.2.1 to 0.20200501.3.3 2020-05-01 bjoyce Add enable_jetify dummy step. 2020-05-01 mthiesse Allow test apks to run even when test server spawning fails 2020-05-01 adithyas Revert "mac: Reorganize how SDK search paths are set when using hermetic Xcode." 2020-05-01 thakis mac: Reorganize how SDK search paths are set when using hermetic Xcode. 2020-05-01 bpastene chromeos: Allow arbitrary env vars to be specified for device tests. 2020-05-01 chromium-autoroll Roll Fuchsia SDK from 0.20200501.1.1 to 0.20200501.2.1 2020-05-01 mheikal Separate native libs expectation files by target_cpu 2020-05-01 chromium-autoroll Roll Fuchsia SDK from 0.20200430.3.1 to 0.20200501.1.1 2020-05-01 chromium-autoroll Roll Fuchsia SDK from 0.20200430.2.2 to 0.20200430.3.1 2020-05-01 mheikal Create separate targets for expectation checking 2020-04-30 wez [fuchsia] Cleanup unnecessary variables from Fuchsia's common.py. 2020-04-30 chromium-autoroll Roll Fuchsia SDK from 0.20200430.1.1 to 0.20200430.2.2 2020-04-30 thomasanderson Keep symbols TOC files unsorted 2020-04-30 hzjian Add support for AndroidManifest check for downstream targets 2020-04-30 cduvall Fix WebView bundles not having translations in base modules 2020-04-30 agrieve Reland: Android: Use R8 for dex splitting 2020-04-30 chromium-autoroll Roll Fuchsia SDK from 0.20200430.0.1 to 0.20200430.1.1 2020-04-30 mthiesse Remove slow (dead?) debug code in local_device_gtest_run.py 2020-04-30 nator [WebLayer] Actually filter components_chromium_strings. 2020-04-30 chromium-autoroll Roll Fuchsia SDK from 0.20200429.3.1 to 0.20200430.0.1 2020-04-30 chromium-autoroll Roll Fuchsia SDK from 0.20200429.2.1 to 0.20200429.3.1 Roll testing/ d7c3cca9b..46f9803f0 (70 commits) https://chromium.googlesource.com/chromium/src/testing/+log/d7c3cca9bc8c..46f9803f0ca3 $ git log d7c3cca9b..46f9803f0 --date=short --no-merges --format='%ad %ae %s' 2020-05-08 donnd [TTS] Update the test config for 2 new experiments 2020-05-08 bpastene Increase shard count of browser_tests on Linux ChromiumOS MSan Tests. 2020-05-07 hypan Reland "android: Add AR test to android-10-arm64-rel builder" 2020-05-07 jonahr Run metal dEQP tests in a single process + launcher. 2020-05-07 bsheedy Support multiple expected device IDs 2020-05-07 grt Fix use of ConnectNamedPipe in FileUtilTest.ReadFileToStringWithNamedPipe. 2020-05-07 isamsonov Additional buildbot config for mac10.15-blink-rel 2020-05-07 bsheedy Run GPU Mac experimental on 10.15.4 2020-05-07 gangwu [Omnibox] Enable reducing Omnibox Clipboard suggestion age by default 2020-05-07 gbeaty Add a flag for the location of the LUCI configuration files. 2020-05-07 jeffyoon [pgo] Migrate isolate_coverage_data to isolate_profile_data 2020-05-07 mohsen Remove field trial config for DisableLatencyRecoveryDesktop 2020-05-07 gbeaty Avoid dumping output on success in generate_buildbot_json_unittest. 2020-05-07 chonggu [Fuchsia] Enable capture_unittests on Fuchsia CI bots. 2020-05-07 magchen Add GpuWatchdogV2NewTimeout to fieldtrial_testing_config 2020-05-06 ewannpv Adds EnablePersistentDownloads to Field Trial Testing Configuration 2020-05-06 bsheedy Switch experimental GPU Win Intel driver version 2020-05-06 thomasanderson Reland "Remove third_party/binutils"" 2020-05-06 lindsayw [ios] Upgrade to target MacOS10.15 for iOS bots 2020-05-06 jonahr Enable metal-backend dEQP tests on the GPU waterfall 2020-05-06 jmadill Set angle_perftests batch limit on Android. 2020-05-06 chonggu [Fuchsia] Use headless ozone for Fuchsia ARM64 bots. 2020-05-06 wez [Fuchsia] Un-filter some URLRequestQuicTest.*CancelPush* tests. 2020-05-06 iopopesc Fixed several visual bugs for the eye dropper. 2020-05-06 bsheedy Run Telemetry minidump tests on Android 2020-05-06 xiaochengh Reland "Add field trial entry for FontPreloadingDelaysRendering" 2020-05-05 jeffyoon [pgo] removing the pgo test definitions in src 2020-05-05 sclittle Revert "Remove third_party/binutils"" 2020-05-05 thomasanderson Remove third_party/binutils" 2020-05-05 bsheedy Reland "Run telemetry_perf_unittests with Crashpad" 2020-05-05 zhaoyangli [iOS][code coverage] Config LLVM path when initing ChromeWebView. 2020-05-05 estaab Add test expectations for WebLayer skew tests. 2020-05-05 bpastene Disable ReloadMultipleSadTabs on storage-flavor of interactive_ui_tests. 2020-05-05 gbeaty Remove configuration for chromium.lkgr master. 2020-05-05 bpastene Add vaapi_unittests to CrOS VM testers. 2020-05-05 gangwu [Omnibox] Enable Omnibox clipboard suggestions removal by default 2020-05-05 collinbaker Update WebUITabStrip entry in fieldtrial_testing_config.json 2020-05-05 agable Remove redundant testing spec for mac-rel 2020-05-05 twellington Clean-up after bookmarks reordering launch 2020-05-05 engedy Revert "Run telemetry_perf_unittests with Crashpad" 2020-05-05 msisov ozone: tests: enable compositor_unittests on Ozone X11/Wayland Testers. 2020-05-05 grt Diagnose FileUtilTest.ReadFileToStringWithNamedPipe flakes. 2020-05-04 bsheedy Run telemetry_perf_unittests with Crashpad 2020-05-04 rdevlin.cronin [Extensions Menu] Add a fieldtrial_testing_config 2020-05-04 mheikal Check 64bit expectations on android-pie-arm64-rel 2020-05-04 rockot Move Storage Service tests to CQ; sandboxed to FYI 2020-05-04 behdadb Removed experimental tag from Perf tests on Windows 2020-05-04 msisov ozone/x11/wayland: enable content_browsertests 2020-05-04 jkim a11y: Include AXPlatformNodeBaseTest only with native accessibility 2020-05-02 jeffyoon [pgo] add sparse option for .profraw files in code coverage merge scripts 2020-05-02 chonggu [Fuchsia] Add more unittests to Fuchsia FYI Bot. 2020-05-02 liaoyuke Print profdata command to assist debugging 2020-05-02 xiaochengh Revert "Add field trial entry for FontPreloadingDelaysRendering" 2020-05-01 jeffyoon [pgo] sparse disable flag for code_coverage merge scripts 2020-05-01 rushans [Sync] Remove MergeBookmarksUsingGUIDs from field trial config. 2020-05-01 enga Run the WebGPU CTS with backend validation layers enabled 2020-05-01 manukh [omnibox] Add HQP midword features to fieldtrial_testing_config.json 2020-05-01 jeffyoon Revert "[code coverage/pgo] defaulting sparse to false" 2020-05-01 msisov xvfb: weston: Disable idle time out. 2020-05-01 jeffyoon [code coverage/pgo] defaulting sparse to false 2020-05-01 wenyufu [HomepagePromo] Add homepage promo controller 2020-05-01 hypan webrtc: Upgrade the K Nexus5 fyi builder to L due to k deprecation. 2020-04-30 yoangela [omnibox] Remove reference to physical web from fieldtrial_testing_config.json 2020-04-30 penghuang Add virtual/android tests from skiarenderer_(vulkan|gl)_blink_web_tests 2020-04-30 rsorokin cros: Fix LoginUtilsTest.RlzInitialized test 2020-04-30 mvanouwerkerk Enable Remote Copy and Unido On Signin v2 by default. 2020-04-30 zhaoyangli [iOS][code coverage] Add device types to iOS code coverage tests. 2020-04-29 fangzhoug Add SynchronousPageFlipTesting to field trial config 2020-04-29 jonahr Re-enable swangle passthrough webgl tests 2020-04-29 mamir Enable Pixel Test for the now Parameterised PasswordBubbleBrowserTest Roll third_party/binutils/ f9ce77769..256677820 (3 commits) https://chromium.googlesource.com/chromium/src/third_party/binutils/+log/f9ce777698a8..2566778206fd $ git log f9ce77769..256677820 --date=short --no-merges --format='%ad %ae %s' 2020-05-06 thomasanderson Reland "Remove third_party/binutils"" 2020-05-05 sclittle Revert "Remove third_party/binutils"" 2020-05-05 thomasanderson Remove third_party/binutils" Roll third_party/googletest/ dcc92d0ab..a09ea700d (20 commits) https://chromium.googlesource.com/external/github.com/google/googletest.git/+log/dcc92d0ab6c4..a09ea700d32b $ git log dcc92d0ab..a09ea700d --date=short --no-merges --format='%ad %ae %s' 2020-05-07 absl-team Googletest export 2020-05-04 absl-team Googletest export 2020-04-30 absl-team Googletest export 2020-04-28 absl-team Googletest export 2020-04-27 absl-team Googletest export 2020-04-24 absl-team Googletest export 2020-04-23 absl-team Googletest export 2020-04-20 absl-team Googletest export 2020-04-20 absl-team Googletest export 2020-04-17 absl-team Googletest export 2020-05-01 56075233+keshavgbpecdelhi Removed a typo in README.md 2020-03-28 arthur.j.odwyer Add -Wdeprecated to the build configuration. 2020-04-16 arthur.j.odwyer Fix a -Wdeprecated warning. 2020-04-16 arthur.j.odwyer Fix a -Wdeprecated warning. 2020-04-16 arthur.j.odwyer Fix a -Wdeprecated warning. 2020-04-16 arthur.j.odwyer Remove all uses of GTEST_DISALLOW_{MOVE_,}ASSIGN_. 2020-04-19 igor.n.nazarenko Enable protobuf printing for open-source proto messages. 2020-04-16 arthur.j.odwyer VariadicMatcher needs a non-defaulted move constructor for compile-time performance. 2020-04-05 jijyunneng Remove duplicate codes existed in get-nprocessors.sh 2020-03-18 calum.robinson Add GTEST_BRIEF option Roll third_party/spirv-tools/ 49ca250b4..c8590c18b (5 commits) https://chromium.googlesource.com/external/github.com/KhronosGroup//SPIRV-Tools.git/+log/49ca250b44c6..c8590c18bd0c $ git log 49ca250b4..c8590c18b --date=short --no-merges --format='%ad %ae %s' 2020-05-06 jaebaek Preserve debug info for wrap-opkill (#3331) 2020-05-05 jbolz Validate ShaderCallKHR memory scope (#3332) 2020-05-01 afdx spirv-fuzz: Do not allow adding stores to read-only pointers (#3316) 2020-04-30 paulthomson reduce: increase default step limit (#3327) 2020-04-30 afdx Generalize IsReadOnlyVariable() to apply to pointers (#3325) Roll tools/clang/ 948b9d009..54f2e0def (4 commits) https://chromium.googlesource.com/chromium/src/tools/clang/+log/948b9d0097a3..54f2e0def126 $ git log 948b9d009..54f2e0def --date=short --no-merges --format='%ad %ae %s' 2020-05-06 lukasza Inserting an include of the new header during the rewrite. 2020-05-02 sebmarchand clang upload script: Use Cq-Include-Trybots: for official builders 2020-04-30 thakis clang: Only copy msdia140.dll next to llvm-symbolizers when building clang. 2020-04-30 hans Clang build script: prefer Python 2 on Mac until infra problem is fixed Created with: roll-dep build buildtools testing third_party/binutils third_party/googletest third_party/spirv-headers third_party/spirv-tools tools/clang Change-Id: I90db087ffcea4d67caf1b6b63d53d1cbed8f2828 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/21380 Reviewed-by: David Neto <dneto@google.com>
Tint is a compiler for the WebGPU Shader Language (WGSL).
This is not an officially supported Google product.
TINT_BUILD_SPV_READER
: enable the SPIR-V input reader (off by default)TINT_BUILD_WGSL_READER
: enable the WGSL input reader (on by default)TINT_BUILD_SPV_WRITER
: enable the SPIR-V output writer (on by default)TINT_BUILD_WGSL_WRITER
: enable the WGSL output writer (on by default)TINT_BUILD_FUZZERS
: enable building fuzzzers (off by default)Tint uses Chromium dependency management so you need to install depot_tools and add it to your PATH.
# Clone the repo as "tint" git clone https://dawn.googlesource.com/tint tint && cd tint # Bootstrap the gclient configuration cp standalone.gclient .gclient # Fetch external dependencies and toolchains with gclient gclient sync
mkdir -p out/Debug cd out/Debug cmake -GNinja ../.. ninja # or autoninja
mkdir -p out/Debug cd out/Debug cmake ../.. make # -j N for N-way parallel build
mkdir -p out/Debug gn gen out/Debug autoninja -C out/Debug
If you are attempting fuzz, using TINT_BUILD_FUZZERS=ON
, the version of llvm in the XCode SDK does not have the needed libfuzzer functionality included.
The build error that you will see from using the XCode SDK will look something like this:
ld: file not found:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/lib/darwin/libclang_rt.fuzzer_osx.a
The solution to this problem is to use a full version llvm, like what you would get via homebrew, brew install llvm
, and use something like CC=<path to full clang> cmake ..
to setup a build using that toolchain.
The gn based work flow uses the Chromium toolchain for building in anticipation of integration of Tint into Chromium based projects. This toolchain has additional plugins for checking for style issues, which are marked with [chromium-style] in log messages. This means that this toolchain is more strict then the default clang toolchain.
In the future we will have a CQ that will build this work flow and flag issues automatically. Until that is in place, to avoid causing breakages you can run the [chromium-style] checks using the CMake based work flows. This requires setting CC
to the version of clang checked out by gclient sync
and setting the TINT_CHECK_CHROMIUM_STYLE
to ON
.
mkdir -p out/style cd out/style cmake ../.. CC=../../third_party/llvm-build/Release+Asserts/bin/clang cmake -DTINT_CHECK_CHROMIUM_STYLE=ON ../../ # add -GNinja for ninja builds
Please file any issues or feature requests at https://bugs.chromium.org/p/tint/issues/entry
Please see the CONTRIBUTING and CODE_OF_CONDUCT files on how to contribute to Tint.