)]}'
{
  "commit": "a45d5b2b40d12d0f650e3f8cdd70a20c853ff5a0",
  "tree": "ff7737db0d2725c2582c4e589abc801277a855c3",
  "parents": [
    "93bb947aa2de2fdb1b2d891199be08ff4f80edb6"
  ],
  "author": {
    "name": "Rafael Cintron",
    "email": "rafael.cintron@microsoft.com",
    "time": "Tue Jul 01 14:12:47 2025 -0700"
  },
  "committer": {
    "name": "Dawn LUCI CQ",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Tue Jul 01 14:12:47 2025 -0700"
  },
  "message": "Reland \"Reland \"Improve DX compiler library loading\"\"\n\nThis is a reland of commit e579b628e5d5276086b6a2eaefa1718586bc7e18\n\nAdd dawn_force_system_component_load for projects (like Skia) which\nrequire that Dawn load all compiler DLL from System32. Best security\nis to leave the default value which (now) loads compiler DLLs from the\nsame directory as Dawn code.\n\nOn Chromium builds (such as x86) which do not build DXC, place the\nDLLs from the SDK into the build folder to appease infra tools that\ncopy the DLLs unconditionally.\n\nImprove DAWN_USE_BUILT_DXC to use the #define to skip loading the DLLs\naltogether.\n\nOriginal change\u0027s description:\n\u003e Reland \"Improve DX compiler library loading\"\n\u003e\n\u003e This is a reland of commit e4d4669d79501b1acdd2bf017ba491b611d741da\n\u003e\n\u003e Remove build_with_chromium statements in test GN files that copy\n\u003e DLLs. Rely on copies instructions which already exist with the D3D12\n\u003e files.\n\u003e\n\u003e To appease Skia builds which do not depend on the Windows SDK,\n\u003e fallback to system FXC if the local directory version is not found.\n\u003e\n\u003e Original change\u0027s description:\n\u003e \u003e Improve DX compiler library loading\n\u003e \u003e\n\u003e \u003e Previously, DX compiler DLLs were loaded using LoadLibrary with no path.\n\u003e \u003e D3D12 compiler DLLs were further sourced from the local user\u0027s SDK\n\u003e \u003e directory as a fallback.\n\u003e \u003e\n\u003e \u003e For better security, load DX compiler DLLs using full paths, with\n\u003e \u003e SEARCH_DLL_LOAD_DIR | SEARCH_DEFAULT_DIRS for better security. Scenarios\n\u003e \u003e such as Skia and x86 builds where we need dawn_use_built_dxc will\n\u003e \u003e fallback to FXC. No fallbacks to local user SDK directories.\n\u003e \u003e\n\u003e \u003e Bug:356665092\n\u003e \u003e Change-Id: Ib4148f9b89da694e3868b4f3c3c329a4b06ce922\n\u003e \u003e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/229754\n\u003e \u003e Reviewed-by: Corentin Wallez \u003ccwallez@chromium.org\u003e\n\u003e \u003e Commit-Queue: Rafael Cintron \u003crafael.cintron@microsoft.com\u003e\n\u003e \u003e Reviewed-by: Antonio Maiorano \u003camaiorano@google.com\u003e\n\u003e\n\u003e Bug: 356665092\n\u003e Change-Id: Ic05d20c47c5db3021f9e38b724bf527bfba52a5e\n\u003e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/233216\n\u003e Reviewed-by: Corentin Wallez \u003ccwallez@chromium.org\u003e\n\u003e Reviewed-by: Antonio Maiorano \u003camaiorano@google.com\u003e\n\u003e Commit-Queue: Rafael Cintron \u003crafael.cintron@microsoft.com\u003e\n\nBug: 356665092\nChange-Id: I83db06312db28123f9d5aee29617a8746768bb3d\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/234919\nReviewed-by: Antonio Maiorano \u003camaiorano@google.com\u003e\nReviewed-by: Corentin Wallez \u003ccwallez@chromium.org\u003e\nCommit-Queue: Rafael Cintron \u003crafael.cintron@microsoft.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "baca383a81982dd88b2d62a0e7e9b3b4fe7826f2",
      "old_mode": 33188,
      "old_path": "CMakeLists.txt",
      "new_id": "8dc8c3cbd6cf65833f29a2b5333222c7d6d66d09",
      "new_mode": 33188,
      "new_path": "CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "873d516366a5ee52963b663e931163c3236dfdce",
      "old_mode": 33188,
      "old_path": "scripts/dawn_features.gni",
      "new_id": "f4f375f95e90f0c196b44d85516ef6a68ebcbcbe",
      "new_mode": 33188,
      "new_path": "scripts/dawn_features.gni"
    },
    {
      "type": "modify",
      "old_id": "a79e7a24dfc090fa609dd9795fd92b99ca72b456",
      "old_mode": 33188,
      "old_path": "src/dawn/common/BUILD.gn",
      "new_id": "e3ef4ca680c71c598af4cdabdd4c7a89d6dcf279",
      "new_mode": 33188,
      "new_path": "src/dawn/common/BUILD.gn"
    },
    {
      "type": "modify",
      "old_id": "c1457dfb677cf4e82d0a69713fda2a99fb0bfaca",
      "old_mode": 33188,
      "old_path": "src/dawn/common/DynamicLib.cpp",
      "new_id": "f7db34c59879f6c8e4e06a25d16a3c63227b8bb6",
      "new_mode": 33188,
      "new_path": "src/dawn/common/DynamicLib.cpp"
    },
    {
      "type": "modify",
      "old_id": "1e3bcd0521441ab8084b10b2837b1269d067514a",
      "old_mode": 33188,
      "old_path": "src/dawn/native/d3d/D3DCompilationRequest.h",
      "new_id": "5080eb0432697fffa954ca36b95196f9804d2a27",
      "new_mode": 33188,
      "new_path": "src/dawn/native/d3d/D3DCompilationRequest.h"
    },
    {
      "type": "modify",
      "old_id": "cd51833c6087025728995214ffb1e85e93c67b6c",
      "old_mode": 33188,
      "old_path": "src/dawn/native/d3d/PlatformFunctions.cpp",
      "new_id": "b7ce6cc1bc2d67be56fa012fcd0121c4688b9063",
      "new_mode": 33188,
      "new_path": "src/dawn/native/d3d/PlatformFunctions.cpp"
    },
    {
      "type": "modify",
      "old_id": "8ef732ddab4ca297b0dd6af302a75c8ccd8ce46a",
      "old_mode": 33188,
      "old_path": "src/dawn/native/d3d11/ShaderModuleD3D11.cpp",
      "new_id": "49677a5771d316217a180ecf7e853f55dcc539b8",
      "new_mode": 33188,
      "new_path": "src/dawn/native/d3d11/ShaderModuleD3D11.cpp"
    },
    {
      "type": "modify",
      "old_id": "a94fb139ee7f2d2665868fcab56ea6abe54aa78f",
      "old_mode": 33188,
      "old_path": "src/dawn/native/d3d12/BackendD3D12.cpp",
      "new_id": "92636bee058424d9e282735a77779920992abe87",
      "new_mode": 33188,
      "new_path": "src/dawn/native/d3d12/BackendD3D12.cpp"
    },
    {
      "type": "modify",
      "old_id": "57dd2e520051b77f6406099a67082f98d3ffb730",
      "old_mode": 33188,
      "old_path": "src/dawn/native/d3d12/BackendD3D12.h",
      "new_id": "edfa645f75a06b39601b8564730925cad42f4ff1",
      "new_mode": 33188,
      "new_path": "src/dawn/native/d3d12/BackendD3D12.h"
    },
    {
      "type": "modify",
      "old_id": "2247e3c8034bc281f268c27f7d12871c8bb22654",
      "old_mode": 33188,
      "old_path": "src/dawn/native/d3d12/DeviceD3D12.cpp",
      "new_id": "21aaf5e6ac1bba2dd536b8262d75145675b4b9d0",
      "new_mode": 33188,
      "new_path": "src/dawn/native/d3d12/DeviceD3D12.cpp"
    },
    {
      "type": "modify",
      "old_id": "f9083d98991b70b5369279d5873541bf600b3418",
      "old_mode": 33188,
      "old_path": "src/dawn/native/d3d12/PhysicalDeviceD3D12.cpp",
      "new_id": "02c37921c2aa3da2bd38155f3727fcabe6013583",
      "new_mode": 33188,
      "new_path": "src/dawn/native/d3d12/PhysicalDeviceD3D12.cpp"
    },
    {
      "type": "modify",
      "old_id": "c84c8e47c5a5f9670667835816116328961f3a3a",
      "old_mode": 33188,
      "old_path": "src/dawn/native/d3d12/PlatformFunctionsD3D12.cpp",
      "new_id": "f135ccfb8f9c91437979348be32887e73fa758cd",
      "new_mode": 33188,
      "new_path": "src/dawn/native/d3d12/PlatformFunctionsD3D12.cpp"
    },
    {
      "type": "modify",
      "old_id": "b242deee97f6112f44fab1bd8180c8a1be82fef3",
      "old_mode": 33188,
      "old_path": "src/dawn/native/d3d12/PlatformFunctionsD3D12.h",
      "new_id": "0f06a698f672f9d02f9399d51116a88b3eaa085f",
      "new_mode": 33188,
      "new_path": "src/dawn/native/d3d12/PlatformFunctionsD3D12.h"
    },
    {
      "type": "modify",
      "old_id": "9a9eac231c85ad4d9a3312eea3e7851633f80813",
      "old_mode": 33188,
      "old_path": "src/dawn/native/d3d12/ShaderModuleD3D12.cpp",
      "new_id": "c2dd378852607365c2ed37b514b5e1f46f8976ad",
      "new_mode": 33188,
      "new_path": "src/dawn/native/d3d12/ShaderModuleD3D12.cpp"
    },
    {
      "type": "modify",
      "old_id": "76206b89c0e0a897fe71cdd6741208ad3a5ff40a",
      "old_mode": 33188,
      "old_path": "src/dawn/tests/BUILD.gn",
      "new_id": "b8ec2a23c86d4689f6eb25cbcf43a37ce1be539a",
      "new_mode": 33188,
      "new_path": "src/dawn/tests/BUILD.gn"
    }
  ]
}
