Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1484)

Issue 1183633003: cross gn

Created:
5 years, 6 months ago by Nico
Modified:
3 years, 5 months ago
Reviewers:
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yurys, abarth-chromium, Aaron Boodman, yzshen+watch_chromium.org, devtools-reviews_chromium.org, darin (slow to review), ben+mojo_chromium.org, pfeldman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cross gn Now on gerrit at https://chromium-review.googlesource.com/c/584810 needs ninja 1.7 (in depot_tools already) needs lld r275242+ for PR27389 needs https://codereview.webrtc.org/2145373004/ 0. (Linux-only) on linux, need to create a case-insensitive mount for the SDK (for uuid.lib vs Uuid.lib etc): cd $(dirname $(which gclient)) # Win SDK is 2GB, make a 3GB image. fallocate -l 3g vs2015.disk mkfs.vfat vs2015.disk mkdir win_toolchain/vs_files sudo mount vs2015.disk win_toolchain/vs_files -t vfat -o loop,owner,group,umask=000 cd - 1. Download SDK (Googlers only) cd path/to/chrome/src # Authenticate yourself. # Follow instructions, enter 0 as project id. download_from_google_storage --config # Actually download the thing build/vs_toolchain.py update --force $ gn args out/gnwin target_cpu = "x64" target_os = "win" is_clang = true enable_nacl = false # makes a few things easier for now (see bug) clang_use_chrome_plugins = false # for local clang builds # needed for lld (and for hacking on clang): clang_base_path = rebase_path("../../../../../llvm-build", "//", "//") ninja -C out/gnwin/ ../../v8/src/api.cc^ BUG=495204 also needs mc.exe for the etw provider in base and for the one remoting file. also needs mt.exe for some manifest stuff also needs rc.exe in quite a few places (see https://codereview.chromium.org/2628573003/ , https://github.com/nico/hack/blob/master/res/rc.cc) also midl.exe linker calls cvtres.exe for .res files nacl build calls cl.exe to build .S files and ml64 to build .asm files :-/ one .asm file in crashpad also needs ml64 thakis@thakis:~/src/chrome/src/third_party/angle$ git diff diff --git a/src/libGLESv2.gypi b/src/libGLESv2.gypi index 3e7d9f8..c5ff631 100644 --- a/src/libGLESv2.gypi +++ b/src/libGLESv2.gypi @@ -623,14 +623,14 @@ 'libGLESv2/global_state.h', 'libGLESv2/libGLESv2.cpp', 'libGLESv2/libGLESv2.def', - 'libGLESv2/libGLESv2.rc', + #'libGLESv2/libGLESv2.rc', 'libGLESv2/resource.h', ], 'libegl_sources': [ 'libEGL/libEGL.cpp', 'libEGL/libEGL.def', - 'libEGL/libEGL.rc', + #'libEGL/libEGL.rc', 'libEGL/resource.h', ], },

Patch Set 1 #

Patch Set 2 : better #

Patch Set 3 : rebase #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Patch Set 6 : bat interpreter #

Patch Set 7 : . #

Patch Set 8 : . #

Patch Set 9 : rebase #

Patch Set 10 : rebase #

Patch Set 11 : envless v0 #

Patch Set 12 : envless v1 #

Patch Set 13 : envless v2 #

Patch Set 14 : envless v3 #

Patch Set 15 : rebase #

Patch Set 16 : base builds again (except for the final link.exe invocation) #

Patch Set 17 : . #

Patch Set 18 : rebase #

Patch Set 19 : rebasefix #

Patch Set 20 : . #

Patch Set 21 : rebase #

Patch Set 22 : . #

Patch Set 23 : rspquoting #

Patch Set 24 : rebase #

Patch Set 25 : no mt; also that var flag only for win targets for now #

Patch Set 26 : rebase #

Patch Set 27 : stub out more stuff (XXX mksnapshot must work) #

Patch Set 28 : rebase #

Patch Set 29 : rebaes #

Patch Set 30 : rebase + huh #

Patch Set 31 : rebase #

Patch Set 32 : rebase #

Patch Set 33 : rebase #

Patch Set 34 : linux #

Patch Set 35 : use clang_base_path instead #

Patch Set 36 : rebsae #

Patch Set 37 : lld no longer needs lib.exe to link dlls! #

Patch Set 38 : chrome.dll links! #

Patch Set 39 : slightly smaller diff #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1223 lines, -106 lines) Patch
M base/trace_event/trace_event_etw_export_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +3 lines, -2 lines 0 comments Download
M base/trace_event/trace_log.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 4 chunks +24 lines, -24 lines 0 comments Download
M build/config/BUILDCONFIG.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +5 lines, -1 line 0 comments Download
M build/config/win/manifest.gni View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 3 chunks +4 lines, -4 lines 0 comments Download
M build/secondary/third_party/crashpad/crashpad/util/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 1 chunk +1 line, -1 line 0 comments Download
M build/toolchain/toolchain.gni View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +2 lines, -1 line 0 comments Download
M build/toolchain/win/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 2 chunks +6 lines, -4 lines 0 comments Download
M build/toolchain/win/midl.gni View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 3 chunks +25 lines, -24 lines 0 comments Download
M build/win/message_compiler.py View 1 2 1 chunk +19 lines, -19 lines 0 comments Download
M chrome/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 5 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/chrome_watcher/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/util/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/test/base/js2gtest.gni View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +1 line, -1 line 0 comments Download
M chrome_elf/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 1 chunk +1 line, -1 line 0 comments Download
M components/crash/content/app/crashpad.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 1 chunk +1 line, -1 line 0 comments Download
M components/crash/content/app/crashpad_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 1 chunk +1 line, -1 line 0 comments Download
M content/app/content_main_runner.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_win.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 1 chunk +1 line, -1 line 0 comments Download
A iaccessible_hack2.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 1 chunk +1104 lines, -0 lines 0 comments Download
M ppapi/tests/ppapi_nacl_tests_newlib.nmf View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/crashpad/crashpad/snapshot/win/process_reader_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 1 chunk +1 line, -1 line 0 comments Download
A third_party/iaccessible2/ia2_api_all.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 1 chunk +1 line, -0 lines 0 comments Download
A third_party/isimpledom/ISimpleDOMDocument.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 1 chunk +1 line, -0 lines 0 comments Download
A third_party/isimpledom/ISimpleDOMNode.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 1 chunk +1 line, -0 lines 0 comments Download
A third_party/isimpledom/ISimpleDOMText.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 1 chunk +1 line, -0 lines 0 comments Download
M ui/resources/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 49 (49 generated)
Nico
Description was changed from ========== cross gn also: https://codereview.chromium.org/1181943003/ https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 Nicos-MacBook-Pro-4:WebKit thakis$ git diff diff ...
4 years, 11 months ago (2016-01-14 15:38:46 UTC) #1
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 Nicos-MacBook-Pro-4:WebKit thakis$ git diff diff --git ...
4 years, 11 months ago (2016-01-14 15:40:39 UTC) #2
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 Nicos-MacBook-Pro-4:WebKit thakis$ git diff diff --git ...
4 years, 11 months ago (2016-01-14 15:50:01 UTC) #3
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 Nicos-MacBook-Pro-4:WebKit thakis$ git diff diff --git ...
4 years, 11 months ago (2016-01-14 15:58:46 UTC) #4
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 Nicos-MacBook-Pro-4:WebKit thakis$ git diff diff --git ...
4 years, 11 months ago (2016-01-14 16:11:32 UTC) #5
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 $ cat out/gnwin/args.gn target_cpu = "x64" ...
4 years, 11 months ago (2016-01-14 16:13:39 UTC) #6
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 $ cat out/gnwin/args.gn target_cpu = "x64" ...
4 years, 11 months ago (2016-01-14 16:32:55 UTC) #7
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 0. (Linux-only) on linux, need to ...
4 years, 11 months ago (2016-01-15 01:29:12 UTC) #8
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 0. (Linux-only) on linux, need to ...
4 years, 11 months ago (2016-01-15 22:57:42 UTC) #9
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 0. (Linux-only) on linux, need to ...
4 years, 10 months ago (2016-02-11 00:22:14 UTC) #10
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 0. (Linux-only) on linux, need to ...
4 years, 9 months ago (2016-03-21 01:55:13 UTC) #11
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 0. (Linux-only) on linux, need to ...
4 years, 8 months ago (2016-04-02 19:53:54 UTC) #12
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 0. (Linux-only) on linux, need to ...
4 years, 8 months ago (2016-04-03 23:18:56 UTC) #13
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 0. (Linux-only) on linux, need to ...
4 years, 8 months ago (2016-04-03 23:33:19 UTC) #14
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 0. (Linux-only) on linux, need to ...
4 years, 8 months ago (2016-04-03 23:33:55 UTC) #15
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 0. (Linux-only) on linux, need to ...
4 years, 8 months ago (2016-04-04 01:22:43 UTC) #16
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 0. (Linux-only) on linux, need to ...
4 years, 8 months ago (2016-04-04 01:23:11 UTC) #17
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 0. (Linux-only) on linux, need to ...
4 years, 8 months ago (2016-04-04 01:39:34 UTC) #18
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 0. (Linux-only) on linux, need to ...
4 years, 8 months ago (2016-04-05 01:09:04 UTC) #19
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 0. (Linux-only) on linux, need to ...
4 years, 8 months ago (2016-04-05 01:09:40 UTC) #20
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 0. (Linux-only) on linux, need to ...
4 years, 8 months ago (2016-04-05 01:10:10 UTC) #21
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 0. (Linux-only) on linux, need to ...
4 years, 8 months ago (2016-04-13 15:42:23 UTC) #22
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 (ninja binary attached to https://bugs.chromium.org/p/chromium/issues/detail?id=600223) 0. ...
4 years, 8 months ago (2016-04-13 16:05:03 UTC) #23
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 (ninja binary attached to https://bugs.chromium.org/p/chromium/issues/detail?id=600223) 0. ...
4 years, 8 months ago (2016-04-13 22:50:06 UTC) #24
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 (ninja binary attached to https://bugs.chromium.org/p/chromium/issues/detail?id=600223) 0. ...
4 years, 8 months ago (2016-04-17 03:26:05 UTC) #25
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 (ninja binary attached to https://bugs.chromium.org/p/chromium/issues/detail?id=600223) 0. ...
4 years, 8 months ago (2016-04-17 03:26:26 UTC) #26
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 (ninja binary attached to https://bugs.chromium.org/p/chromium/issues/detail?id=600223) 0. ...
4 years, 8 months ago (2016-04-17 03:27:55 UTC) #27
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 (ninja binary attached to https://bugs.chromium.org/p/chromium/issues/detail?id=600223) 0. ...
4 years, 8 months ago (2016-04-17 05:12:33 UTC) #28
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 (ninja binary attached to https://bugs.chromium.org/p/chromium/issues/detail?id=600223) 0. ...
4 years, 8 months ago (2016-04-17 05:24:26 UTC) #29
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 (mac ninja binary attached to https://bugs.chromium.org/p/chromium/issues/detail?id=600223) ...
4 years, 8 months ago (2016-04-22 01:22:54 UTC) #30
Nico
Description was changed from ========== cross gn also: https://github.com/martine/ninja/compare/master...nico:wintools?expand=1 (mac ninja binary attached to https://bugs.chromium.org/p/chromium/issues/detail?id=600223) ...
4 years, 7 months ago (2016-05-05 18:16:37 UTC) #31
Nico
Description was changed from ========== cross gn needs ninja 1.7 0. (Linux-only) on linux, need ...
4 years, 7 months ago (2016-05-05 18:17:13 UTC) #32
Nico
Description was changed from ========== cross gn needs ninja 1.7 0. (Linux-only) on linux, need ...
4 years, 7 months ago (2016-05-10 18:10:22 UTC) #33
Nico
Description was changed from ========== cross gn needs ninja 1.7 0. (Linux-only) on linux, need ...
4 years, 7 months ago (2016-05-11 14:35:14 UTC) #34
Nico
Description was changed from ========== cross gn needs ninja 1.7 0. (Linux-only) on linux, need ...
4 years, 7 months ago (2016-05-11 16:49:05 UTC) #35
Nico
Description was changed from ========== cross gn needs ninja 1.7 (in depot_tools already) 0. (Linux-only) ...
4 years, 7 months ago (2016-05-11 16:49:37 UTC) #36
Nico
Description was changed from ========== cross gn needs ninja 1.7 (in depot_tools already) 0. (Linux-only) ...
4 years, 7 months ago (2016-05-11 16:51:36 UTC) #37
Nico
Description was changed from ========== cross gn needs ninja 1.7 (in depot_tools already) 0. (Linux-only) ...
4 years, 6 months ago (2016-05-27 14:35:57 UTC) #38
Nico
Description was changed from ========== cross gn needs ninja 1.7 (in depot_tools already) 0. (Linux-only) ...
4 years, 5 months ago (2016-07-08 14:39:02 UTC) #39
Nico
Description was changed from ========== cross gn needs ninja 1.7 (in depot_tools already) 0. (Linux-only) ...
4 years, 5 months ago (2016-07-08 17:00:16 UTC) #40
Nico
Description was changed from ========== cross gn needs ninja 1.7 (in depot_tools already) 0. (Linux-only) ...
4 years, 5 months ago (2016-07-08 17:10:31 UTC) #41
Nico
Description was changed from ========== cross gn needs ninja 1.7 (in depot_tools already) 0. (Linux-only) ...
4 years, 5 months ago (2016-07-08 17:21:12 UTC) #42
Nico
Description was changed from ========== cross gn needs ninja 1.7 (in depot_tools already) 0. (Linux-only) ...
4 years, 5 months ago (2016-07-14 18:26:25 UTC) #43
Nico
Description was changed from ========== cross gn needs ninja 1.7 (in depot_tools already) needs lld ...
4 years, 5 months ago (2016-07-14 18:38:43 UTC) #44
Nico
Description was changed from ========== cross gn needs ninja 1.7 (in depot_tools already) needs lld ...
4 years, 5 months ago (2016-07-14 22:59:39 UTC) #45
Nico
Description was changed from ========== cross gn needs ninja 1.7 (in depot_tools already) needs lld ...
4 years, 5 months ago (2016-07-14 23:00:30 UTC) #46
Nico
Description was changed from ========== cross gn needs ninja 1.7 (in depot_tools already) needs lld ...
4 years, 4 months ago (2016-08-02 18:01:01 UTC) #47
Nico
Description was changed from ========== cross gn needs ninja 1.7 (in depot_tools already) needs lld ...
3 years, 8 months ago (2017-04-10 18:58:58 UTC) #48
Nico
3 years, 5 months ago (2017-07-25 13:25:12 UTC) #49
Description was changed from

==========
cross gn

needs ninja 1.7 (in depot_tools already)
needs lld r275242+ for PR27389
needs https://codereview.webrtc.org/2145373004/

0. (Linux-only)

on linux, need to create a case-insensitive mount for the SDK (for uuid.lib vs
Uuid.lib etc):

  cd $(dirname $(which gclient))
  # Win SDK is 2GB, make a 3GB image.
  fallocate -l 3g vs2015.disk
  mkfs.vfat vs2015.disk
  mkdir win_toolchain/vs_files
  sudo mount vs2015.disk win_toolchain/vs_files -t vfat -o
loop,owner,group,umask=000
  cd -

1. Download SDK (Googlers only)
  cd path/to/chrome/src
  # Authenticate yourself.
  # Follow instructions, enter 0 as project id.
  download_from_google_storage --config
  # Actually download the thing
  build/vs_toolchain.py update --force

$ gn args out/gnwin
target_cpu = "x64"
target_os = "win"
is_clang = true
enable_nacl = false  # makes a few things easier for now (see bug)
clang_use_chrome_plugins = false  # for local clang builds
# needed for lld (and for hacking on clang):
clang_base_path = rebase_path("../../../../../llvm-build", "//", "//")

ninja -C out/gnwin/ ../../v8/src/api.cc^

BUG=495204

also needs mc.exe for the etw provider in base and for the one remoting file.
also needs mt.exe for some manifest stuff
also needs rc.exe in quite a few places (see
https://codereview.chromium.org/2628573003/ ,
https://github.com/nico/hack/blob/master/res/rc.cc)
also midl.exe
linker calls cvtres.exe for .res files
nacl build calls cl.exe to build .S files and ml64 to build .asm files :-/
one .asm file in crashpad also needs ml64


thakis@thakis:~/src/chrome/src/third_party/angle$ git diff
diff --git a/src/libGLESv2.gypi b/src/libGLESv2.gypi
index 3e7d9f8..c5ff631 100644
--- a/src/libGLESv2.gypi
+++ b/src/libGLESv2.gypi
@@ -623,14 +623,14 @@
             'libGLESv2/global_state.h',
             'libGLESv2/libGLESv2.cpp',
             'libGLESv2/libGLESv2.def',
-            'libGLESv2/libGLESv2.rc',
+            #'libGLESv2/libGLESv2.rc',
             'libGLESv2/resource.h',
         ],
         'libegl_sources':
         [
             'libEGL/libEGL.cpp',
             'libEGL/libEGL.def',
-            'libEGL/libEGL.rc',
+            #'libEGL/libEGL.rc',
             'libEGL/resource.h',
         ],
     },
==========

to

==========
cross gn

Now on gerrit at https://chromium-review.googlesource.com/c/584810

needs ninja 1.7 (in depot_tools already)
needs lld r275242+ for PR27389
needs https://codereview.webrtc.org/2145373004/

0. (Linux-only)

on linux, need to create a case-insensitive mount for the SDK (for uuid.lib vs
Uuid.lib etc):

  cd $(dirname $(which gclient))
  # Win SDK is 2GB, make a 3GB image.
  fallocate -l 3g vs2015.disk
  mkfs.vfat vs2015.disk
  mkdir win_toolchain/vs_files
  sudo mount vs2015.disk win_toolchain/vs_files -t vfat -o
loop,owner,group,umask=000
  cd -

1. Download SDK (Googlers only)
  cd path/to/chrome/src
  # Authenticate yourself.
  # Follow instructions, enter 0 as project id.
  download_from_google_storage --config
  # Actually download the thing
  build/vs_toolchain.py update --force

$ gn args out/gnwin
target_cpu = "x64"
target_os = "win"
is_clang = true
enable_nacl = false  # makes a few things easier for now (see bug)
clang_use_chrome_plugins = false  # for local clang builds
# needed for lld (and for hacking on clang):
clang_base_path = rebase_path("../../../../../llvm-build", "//", "//")

ninja -C out/gnwin/ ../../v8/src/api.cc^

BUG=495204

also needs mc.exe for the etw provider in base and for the one remoting file.
also needs mt.exe for some manifest stuff
also needs rc.exe in quite a few places (see
https://codereview.chromium.org/2628573003/ ,
https://github.com/nico/hack/blob/master/res/rc.cc)
also midl.exe
linker calls cvtres.exe for .res files
nacl build calls cl.exe to build .S files and ml64 to build .asm files :-/
one .asm file in crashpad also needs ml64


thakis@thakis:~/src/chrome/src/third_party/angle$ git diff
diff --git a/src/libGLESv2.gypi b/src/libGLESv2.gypi
index 3e7d9f8..c5ff631 100644
--- a/src/libGLESv2.gypi
+++ b/src/libGLESv2.gypi
@@ -623,14 +623,14 @@
             'libGLESv2/global_state.h',
             'libGLESv2/libGLESv2.cpp',
             'libGLESv2/libGLESv2.def',
-            'libGLESv2/libGLESv2.rc',
+            #'libGLESv2/libGLESv2.rc',
             'libGLESv2/resource.h',
         ],
         'libegl_sources':
         [
             'libEGL/libEGL.cpp',
             'libEGL/libEGL.def',
-            'libEGL/libEGL.rc',
+            #'libEGL/libEGL.rc',
             'libEGL/resource.h',
         ],
     },
==========

Powered by Google App Engine
This is Rietveld 408576698