commit | 0adfee5a203206f08ad4388f5537a7637dc5e557 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Wed Apr 10 11:30:12 2019 -0700 |
committer | Colin Cross <ccross@android.com> | Wed Apr 10 18:32:00 2019 +0000 |
tree | ee898334f769e7ea51cb0453d69fadcfe9f65fa3 | |
parent | cb4e0551a2d8e64af00336aa282bd2fc481d14ba [diff] |
Fix relative path of bpf modules Using bpf as test data installs the module into a strange subdirectory, clear the Rel() value before exporting it as a SourceFileProducer. Bug: 130206035 Test: m vts_test_binary_bpf_module Change-Id: Ifdae90d11b15d65c097562d7d6985a8a1dca2bfd
diff --git a/bpf/bpf.go b/bpf/bpf.go index 073f62d..13468c7 100644 --- a/bpf/bpf.go +++ b/bpf/bpf.go
@@ -91,7 +91,7 @@ }, }) - bpf.objs = append(bpf.objs, obj) + bpf.objs = append(bpf.objs, obj.WithoutRel()) } }