Commit Graph

9 Commits

Author SHA1 Message Date
Rob Mohr
ea9a66b357 Fix bazel build.
Change-Id: Ib8cc984d27fa75b63796c910562e5d3f52416234
2019-11-26 22:10:45 +00:00
Rob Mohr
af7bd883d8 Add docstring to pigweed.bzl.
Change-Id: I1b7783f71b0e98fcb3e36e0fcd1724d64d407213
2019-11-19 18:19:41 +00:00
Rob Mohr
57211c25ff Add pw_dumb_io to bazel build.
Change-Id: I2ebc9f7e850195740e71a05ec97ab38e452781ce
2019-11-19 05:11:32 +00:00
Rob Mohr
e6cbdf8a9b Add -Wnon-virtual-dtor.
This has come up a couple times already, and when I import this
internally I get errors.

https://pigweed-review.git.corp.google.com/c/pigweed/pigweed/+/1900
https://pigweed-review.git.corp.google.com/c/pigweed/pigweed/+/2000

Change-Id: I96444edba75b7bbefdeb9d3718117a6dafa77bfb
2019-11-18 14:37:48 -08:00
Rob Mohr
df2b13b72d Add -use_header_modules.
This is for compatibility when migrating to other repositories.

Change-Id: I442b3d0a767c86a93427aed753a410262166df98
2019-11-18 14:04:25 -08:00
Rob Mohr
c70366e906 Simplify bazel build.
Use variables instead of functions, and add wrappers for builtins.

Change-Id: If6e75efe35ce2fe754f2ed7421497bc1f5d47507
2019-11-18 11:24:53 -08:00
Rob Mohr
afe23d96c3 Minor formatting change in pigweed.bzl.
This will be easier to deal with in code migrations.

Change-Id: Id3d62e3dbdce666c05547d298f82ef07f8724054
2019-11-15 23:34:26 +00:00
Rob Mohr
75e5fc9a15 Add pw_string to bazel build.
Change-Id: I0aa7741959b741de082d44afe87786754b572951
2019-11-14 09:16:03 -08:00
Rob Mohr
be98ead12a Add bazel build system files.
Build everything with 'bazel build //...' and run all tests with
'bazel test //...'.

Change-Id: Ia912e999e33caa9b490002d639dc4c9a80034afc
2019-11-14 07:16:44 -08:00