This change configures the Windows host target for GN. It should allow
building unit tests for the host.
Change-Id: Ib92c9a83b9b858a9b7ed55487199c63896580af1
- Override built-in targets, which gives more flexibility than
set_defaults.
- Provide the default C++ in the toolchain, which can be overridden by
explicitly specifying a config on a target.
- Remove the C++17 default flags from public configs, since it is no
longer needed.
Change-Id: If211bada971c46cef83909bf15811a4f2c1eb7fd
- Provide a touch-like stamp command for Windows.
- Update host_gcc.gni with string_join to match host_clang.gni.
Change-Id: I56a216db4928e1ec402c4d9e4843e6dad60e0c05
- Use the full file name for object files in the GN build, e.g.
file.cc.o instead of file.o. This allows having .cc and .c files with
the same name.
- Have the pw_auto_add_simple_module CMake function build .c and .cc
test files together.
Change-Id: I3086a96bcc55b013db4f2c278418c17ce1b9fd82
- Update host_clang to work on Linux: switch to -Map and --gc-sections
options
- Make pw_target_toolchain a build arg for Linux and macOS targets.
Default to gcc on Linux, clang on macOS.
- Rename x86_linux_gcc to host_gcc.
Change-Id: I72eef9ba9398a331f6567b68ad404092186eb15b