platform_build_soong/bazel/Android.bp
Chris Parsons 9402ca881c Add a persistent bazel server between builds
This feature is toggled on with USE_PERSISTENT_BAZEL, which is off by
default. Those that opt-in will have a bazel server running between
builds (with a 3hr default TTL) which will greatly improve analysis on
subsequent builds. (As Bazel maintains a cache of analysis results).

Bug: 266983462
Test: Manual `m nothing` runs (timing with and without the feature)
Test: New integration test
Test: Presubmits
Change-Id: I3af4948baa0c490e9b87c48ffdbe9f67732586c7
2023-03-01 23:30:19 -05:00

27 lines
524 B
Text

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package {
name: "soong-bazel",
pkgPath: "android/soong/bazel",
srcs: [
"aquery.go",
"bazel_proxy.go",
"configurability.go",
"constants.go",
"properties.go",
"testing.go",
],
testSrcs: [
"aquery_test.go",
"properties_test.go",
],
pluginFor: [
"soong_build",
],
deps: [
"bazel_analysis_v2_proto",
"blueprint",
],
}