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',
],
},