Commit Graph

5 Commits

Author SHA1 Message Date
Rob Mohr
a0ba54f648 Roll GN to 239533d
This caused gn format to flag many things which were also fixed.

Change-Id: Ie1d9081a1b08047bec52c60f54d2a94366be1ba6
2020-02-28 01:33:18 +00:00
Alexei Frolov
5152d4341e pw_build: Expand facade template
This change updates the pw_facade template to create both a facade
interface and library. This avoids having to manually define the
interface when writing a facade module.

Change-Id: I7401c6c363b4e45a976752243d5a77e9d4599c18
2020-01-17 23:37:29 +00:00
Wyatt Hepler
2119240da1 GN build: Override built-in targets
- 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
2020-01-16 11:41:15 -08:00
Wyatt Hepler
0fbcdfc3cd Basic CMake build
- Automatically add simple modules with pw_auto_add_simmple_module.
- Define libraries in a module with pw_add_module_library.
- Define tests and test groups with pw_add_test and
  pw_add_test_to_groups.
- Tests execute with full Ninja dependency resolution, as in the GN
  build.
- Add CMakeLists.txt for existing modules.
- Currently there is no support for targets, but these libraries would
  be trivial to integrate with an existing CMake build.

Change-Id: If73d8b61bce88f91141737eb773f1ebce3a7676e
2020-01-04 01:05:46 +00:00
Armando Montanez
5104cd68bc pw_cpu_exception: Add CPU exception module
This change introduces pw_cpu_exception, a facade that provides a
high-level interface for handling CPU exceptions.

Change-Id: I1f98ac82dd54040448b2e2ac32a392c49cb6dfba
2019-12-13 11:26:08 -08:00