Skip to content

Commit 09547c1

Browse files
myelinChromeos LUCI
authored and
Chromeos LUCI
committed
Add //dist:dist_client_libs_only target, which excludes cras_test_client
This is to support Borealis testing, which needs to build both 32-bit and 64-bit versions of CRAS, and has trouble linking the 32-bit version of cras_test_client now that it has a Rust dependency. BUG=b:285040707 TEST=bazel run //dist:dist_client_libs_only $(pwd)/output Change-Id: I9d9bf1d8447a91d74b4146573b31019232000c79 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/4575647 Auto-Submit: Phillip Pearson <[email protected]> Tested-by: [email protected] <[email protected]> Commit-Queue: Phillip Pearson <[email protected]> Tested-by: ChromeOS Audio Quick Verifier <[email protected]> Reviewed-by: Li-Yu Yu <[email protected]> Tested-by: Phillip Pearson <[email protected]>
1 parent 362357f commit 09547c1

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

dist/BUILD.bazel

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,19 @@ py_binary(
107107
main = "dist.py",
108108
target_compatible_with = require_no_config("//:fuzzer_build"),
109109
)
110+
111+
py_binary(
112+
name = "dist_client_libs_only",
113+
srcs = ["dist.py"],
114+
args = [
115+
"--_lib_files $(locations :lib)",
116+
"--_alsa_lib_files $(locations :alsa_lib)",
117+
"--",
118+
],
119+
data = [
120+
":alsa_lib",
121+
":lib",
122+
],
123+
main = "dist.py",
124+
target_compatible_with = require_no_config("//:fuzzer_build"),
125+
)

0 commit comments

Comments
 (0)