)]}'
{
  "commit": "d422999adcd7f354d95aaced75b18f4f5b1f05b2",
  "tree": "1728a96034d652b25cc2c324553009a60ee4fe46",
  "parents": [
    "c89bc8277740daa76712527da2bcab8765a1fc5e"
  ],
  "author": {
    "name": "BogDan Vatra",
    "email": "bogdan@kde.org",
    "time": "Fri Feb 07 10:46:40 2020 +0200"
  },
  "committer": {
    "name": "Commit Bot",
    "email": "commit-bot@chromium.org",
    "time": "Thu Feb 20 17:50:20 2020 +0000"
  },
  "message": "WIP: Fix (cross)compile with MinGW\n\nTested on debian with the floowing settings:\n$ export AR\u003dx86_64-w64-mingw32-ar\n$ export LD\u003dx86_64-w64-mingw32-g++\n$ export CXX\u003dx86_64-w64-mingw32-g++\n$ ./build/gen.py --out-path\u003d$PWD/mingw --platform\u003dmingw --host\u003dlinux\n$ ninja -C mingw\n\nIt compiles fine and most of the tests are working.\nSadly it\u0027s using some exotic functions that seems to not be implemented\nin wine and some tests are failing:\n\nbogdan@dragon:~/.wine/drive_c/gn$ wine gn_unittests.exe\n000b:fixme:winediag:start_process Wine Staging 4.0-rc2 is a testing\nversion containing experimental patches.\n000b:fixme:winediag:start_process Please mention your exact version when\nfiling bug reports on winehq.org.\n[134/547] SourceDi002a:fixme:nls:CompareStringEx semi-stub behavior for\nflag(s) 0x10\n002a:fixme:file:FindFirstFileExW flags not implemented 0x00000002\n002a:fixme:file:FindFirstFileExW flags not implemented 0x00000002\n[3002a:fixme:file:FindFirstFileExW flags not implemented 0x00000002\n002a:fixme:file:FindFirstFileExW flags not implemented 0x00000002\n[414/547] FilesystemUtils.SourceDirForPath\n*** FAILURE ../src/gn/filesystem_utils_unittest.cc:578: \"//baR/\" \u003d\u003d\nSourceDirForPath(root, base::FilePath(u\"c:/SOURCE\\\\Foo/baR/\")).value()\n\n002a:fixme:file:FindFirstFileExW flags not implemented 0x00000002\n002a:fixme:file:FindFirstFileExW flags not implemented 0x00000002\n002a:fixme:file:FindFirstFileExW flags not implemented 0x00000002\n[438/547] FormatTest.001\n*** FAILURE ../src/gn/command_format_unittest.cc:47:\nbase::ReadFileToString( base::FilePath(FILE_PATH_LITERAL(\"src/gn/\nformat_test_data/\") FILE_PATH_LITERAL(\"001\") FILE_PATH_LITERAL(\".gn\")),\n\u0026input)\n\n[439/547] FormatTest.002\n*** FAILURE ../src/gn/command_format_unittest.cc:48:\nbase::ReadFileToString( base::FilePath(FILE_PATH_LITERAL(\"src/gn/\nformat_test_data/\") FILE_PATH_LITERAL(\"002\") FILE_PATH_LITERAL(\".gn\")),\n\u0026input)\n\ncontinue with tons of same errors, till:\n\n[516/547] FormatTest.081\n*** FAILURE ../src/gn/command_format_unittest.cc:128:\nbase::ReadFileToString( base::FilePath(FILE_PATH_LITERAL(\"src/gn/\nformat_test_data/\") FILE_PATH_LITERAL(\"081\") FILE_PATH_LITERAL(\".gn\")),\n\u0026input)\n\nChange-Id: Ie64d7009a085221967b02b2b8b6f375c7e5b874e\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/7360\nCommit-Queue: Brett Wilson \u003cbrettw@chromium.org\u003e\nReviewed-by: Brett Wilson \u003cbrettw@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "989eb5a9660ba7ca87ee8a76deb341e7cd4f5800",
      "old_mode": 33261,
      "old_path": "build/gen.py",
      "new_id": "0911f3537da2455c99bd1dc1a6c2be2eaa03b4df",
      "new_mode": 33261,
      "new_path": "build/gen.py"
    },
    {
      "type": "modify",
      "old_id": "fe5c22591c10c4be84c12c1d3dd9741b44934fab",
      "old_mode": 33188,
      "old_path": "src/base/files/file_util_win.cc",
      "new_id": "a18715e12e45ee57e08090417d1a3a10529ca7fb",
      "new_mode": 33188,
      "new_path": "src/base/files/file_util_win.cc"
    },
    {
      "type": "modify",
      "old_id": "2a65548fb8631e5aa5a6f27718940dfb771eb4b8",
      "old_mode": 33188,
      "old_path": "src/base/files/file_win.cc",
      "new_id": "e9c90e3507b64d7b03de3ca542af2a7befb18749",
      "new_mode": 33188,
      "new_path": "src/base/files/file_win.cc"
    },
    {
      "type": "modify",
      "old_id": "d076c446b8706ecf4e6facfa35e28850d81e6753",
      "old_mode": 33188,
      "old_path": "src/base/win/windows_types.h",
      "new_id": "880586ecf43eb651732983c34ecaeaf214d5649f",
      "new_mode": 33188,
      "new_path": "src/base/win/windows_types.h"
    },
    {
      "type": "modify",
      "old_id": "38ab480af1b5da1307bb6a6fc645e8b41fe74995",
      "old_mode": 33188,
      "old_path": "src/util/worker_pool.cc",
      "new_id": "9f6a47b38af5c3511d0b0f44b6ab6f4dd04338d1",
      "new_mode": 33188,
      "new_path": "src/util/worker_pool.cc"
    }
  ]
}
