0

Add DirectX-Headers as Chromium dependency

DirectX-Headers hosts the official Direct3D 12 and DirectML headers.
These headers are made available under the MIT license rather than
the traditional Windows SDK license.

Chromium will use these header files to use DirectX features that
ship before official Windows releases. Testing will be performed with
either the Direct3D Agility SDK or the version of DirectML available
through the NuGet package.

https://github.com/microsoft/directx-headers is already mirrored in
Google Source and is currently a dependency of Dawn for non-Windows
builds of DXC.

Bug: 331925104
Change-Id: Ib47d4efeecf23ba59848a51adbf7a0e5cfde7cf2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5441670
Reviewed-by: Rick Byers <rbyers@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Rafael Cintron <rafael.cintron@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1294673}
This commit is contained in:
Rafael Cintron
2024-04-30 23:36:05 +00:00
committed by Chromium LUCI CQ
parent 7f6a35dd44
commit 0d6fd88d3f
6 changed files with 33 additions and 0 deletions

4
.gitmodules vendored

@ -422,6 +422,10 @@
path = third_party/material_design_icons/src
url = https://chromium.googlesource.com/external/github.com/google/material-design-icons
gclient-condition = checkout_ios
[submodule "third_party/microsoft_dxheaders/src"]
path = third_party/microsoft_dxheaders/src
url = https://chromium.googlesource.com/external/github.com/microsoft/DirectX-Headers
gclient-condition = checkout_win
[submodule "third_party/minigbm/src"]
path = third_party/minigbm/src
url = https://chromium.googlesource.com/chromiumos/platform/minigbm

5
DEPS

@ -1688,6 +1688,11 @@ deps = {
'condition': 'checkout_ios',
},
'src/third_party/microsoft_dxheaders/src': {
'url': Var('chromium_git') + '/external/github.com/microsoft/DirectX-Headers.git' + '@' + 'aafb798404373bec7875e6a36a8d9635642587c1',
'condition': 'checkout_win',
},
'src/third_party/mig/bin': {
'packages': [
{

@ -100,6 +100,7 @@
/llvm-build-tools
/cronet_android_mainline_clang/linux-amd64
/mesa/src
/microsoft_dxheaders/src
/mingw-w64
/mkl
/mocha

@ -0,0 +1,2 @@
sunnyps@chromium.org
rafael.cintron@chromium.org

@ -0,0 +1,20 @@
Name: Headers for DirectX APIs.
Short Name: DirectX-Headers
URL: https://github.com/microsoft/directx-headers
Version: v1.613.1
Revision: aafb798404373bec7875e6a36a8d9635642587c1
License: MIT
License File: src/LICENSE
Security Critical: Yes
Shipped: Yes
Description:
DirectX-Headers hosts the official Direct3D 12 and DirectML headers. These
headers are made available under the MIT license rather than the traditional
Windows SDK license.
Chromium code uses these header files to use DirectX features that ship before
official Windows releases. Testing is performed with either the Direct3D
Agility SDK or the version of DirectML available through the NuGet package.
Local Modifications: None