summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
author Michael Sun <michaelfsun@google.com> 2022-07-07 21:23:43 -0700
committer Michael Sun <michaelfsun@google.com> 2022-07-14 14:28:23 -0700
commite695da462a198f3043906398a37c3e8d245e5600 (patch)
tree0552b0cd29c66914a22a06ab5f0e069b1a21ab23 /BUILD.gn
parent43f85a7419dee342c4370d3bc156abb1fc55e94f (diff)
floss: have floss built with libstructuredmetrics
Update the Floss build process to utilize the new GN flag target_os and environmental variable TARGET_OS_VARIENT to include libstructuredmetrics when building for ChromeOS. Correct GN syntaxes. BUG: 232098615 Tag: #floss Test: ./build.py --target test Test: emerge-${BOARD} floss Change-Id: I0bf960751643f12f7e1ef03c7aa844d112fbb5d5
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn2
1 files changed, 1 insertions, 1 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 51b4438357..7fa609795a 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -25,7 +25,7 @@ group("all") {
}
# Tools should be built for the host target.
-if (host_cpu == target_cpu && host_os == target_os) {
+if (target_os == "linux") {
group("tools") {
deps = [ "//bt/system:tools" ]
}