aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorPrimiano Tucci <primiano@google.com>2019-09-19 10:15:18 +0100
committerPrimiano Tucci <primiano@google.com>2019-09-19 10:15:18 +0100
commit1d409987bb369b88e1af344a7c83ea4ec4354607 (patch)
treefb42e882625bba7abc97059fdfaa20a0dcc6a45f /.gitignore
parentedf199a0b96c320b90fbbbc285f5587d6317a8df (diff)
downloadperfetto-1d409987bb369b88e1af344a7c83ea4ec4354607.tar.gz
tools/gen_bazel: Standalone Bazel build
Updates the gen_bazel generator and generates a BUILD file that allows to build traced, traced_probes perfetto and trace_processor both on Linux and Mac. This also allows easy integration with google internal builds. The major differences of the new generator are: 1. Uses the new way of dealing with protobuf libraries (proto_library -> cc_proto_library -> executable target see go/new-proto-library) 2. Instead of repeating all the source files in each target it creates Bazel filegroup(s) out of GN source_set(s). While doing so it takes care of propagating up flags and dependencies. This is because Bazel filegroup(s), conversely to GN source_set(s), are pure bags of sources. Still missing: - cflags / ldflags propagation into Bazel. - Android toolchain (perhaps will never happen) This will require a matching change to Google internal sources. Test: bazel build //:all Change-Id: Ic1c725bd83e2a5e92eebb5c5b34728cf6d5983e6
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index ba585d64d..821445dd3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,6 +12,7 @@
*.iml
*.pyc
*.swp
+/bazel-*
/out*
TAGS
/node_modules/