blob: 523a2359bddfa6cbac902901d308c497a0ce927d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
From 308678664652685d48dccc4ea6d55195a307e36d Mon Sep 17 00:00:00 2001
From: Alyssa Ross <hi@alyssa.is>
Date: Sun, 1 Dec 2019 14:55:21 +0000
Subject: [PATCH 08/11] libbrillo: don't leak source-absolute paths
---
libbrillo/BUILD.gn | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/libbrillo/BUILD.gn b/libbrillo/BUILD.gn
index c3ca0054b..4ae5aced0 100644
--- a/libbrillo/BUILD.gn
+++ b/libbrillo/BUILD.gn
@@ -260,10 +260,9 @@ action("libbrillo-${libbase_ver}") {
deps += [ ":lib" + sublib.library_name ]
}
script = "//common-mk/write_args.py"
- outputs = [
- "${root_out_dir}/lib/libbrillo-${libbase_ver}.so",
- ]
- args = [ "--output" ] + outputs + [ "--" ] + [
+ lib_path = "${root_out_dir}/lib/libbrillo-${libbase_ver}.so"
+ outputs = [ lib_path ]
+ args = [ "--output", rebase_path(lib_path), "--",
"GROUP",
"(",
"AS_NEEDED",
--
2.23.0
|