Questions tagged [gn]

For questions related to Google's GN build system.

Google's GN is a meta build system for generating low-level ninja build scripts. The name GN derives from "Generate-Ninja". GN is used by major Google projects such as Chromium, Skia and Fuchsia.

Reference: https://gn.googlesource.com/gn/

96 questions
0
votes
1 answer

How to override variable value for GN target/template?

I've added shared_library GN target in my Chromium build. It has an extension according to defined in toolchain.gnirules: # Extension for shared library files (including leading dot). if (is_mac || is_ios) { shlib_extension = ".dylib" } else if…
4ntoine
  • 19,816
  • 21
  • 96
  • 220
0
votes
1 answer

Building Chromium on Mac

I have been trying to build Chromium on mac. I have been following the doc here Fetch will not end properly and will exit with the following stack trace: Error: Command 'vpython src/build/landmines.py' returned non-zero exit status 1 in…
Chris W
  • 49
  • 1
  • 5
0
votes
0 answers

GN Throwing Errors When Creating Build dir For Chromium

I am trying to create a build directory on my Windows 10 Laptop using GN for Chromium source code. This is what I have done: Set a WIN TOOLCHAIN system environment variable and set it to 0 Append C:\src\depot_tools to my system Path variable -…
flash76
  • 382
  • 3
  • 23
0
votes
2 answers

WebRTC not building for Windows too

Like in this question WebRTC not building for Windows, I can't build WebRTC on a Windows 7 64-bit with VS 2015 but the issue is different. The fetch and gclient sync go well without error. But when I run the gn gen out/WebRTC, then I get the below…
user8554868
0
votes
1 answer

I can't find in ../third_party/libevent/event-config.h path to event-config.h for windows OR how to generate event-config.h for windows

Good day ! I try to build application with chromium api. I install chromium source code and tools https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md I can generate visual studio solution *.sln and compile…
0
votes
2 answers

How to use android library with native library as dependency for Chromium?

I'm working on integrating some library (aar that contains native library (.so)) into Chromium (Snapdragon-optimized fork to be more detailed). In order to use it in Android code i had to modify chrome/android/BUILD.gn and add 2 dependencies: deps =…
4ntoine
  • 19,816
  • 21
  • 96
  • 220
1 2 3 4 5 6
7