diff options
| author | David Pursell <dpursell@google.com> | 2019-10-30 15:30:52 -0700 |
|---|---|---|
| committer | Marco Vanotti <mvanotti@users.noreply.github.com> | 2019-11-14 16:21:01 -0800 |
| commit | a3f5ce76b10a3c0e2a07cd96bd5a29acc42ac532 (patch) | |
| tree | 0ee594727b1918bb1cb627388ca34ac9b349a525 /sys/syz-extract/fuchsia.go | |
| parent | a24fe792a6669a01f85fe26615e7e7a0ba802a8c (diff) | |
sys/fuchsia: fix Fuchsia extract/generate
Updates some paths and add zx_eventpair type definition to fix
`make extract` and `make generate`.
Diffstat (limited to 'sys/syz-extract/fuchsia.go')
| -rw-r--r-- | sys/syz-extract/fuchsia.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/syz-extract/fuchsia.go b/sys/syz-extract/fuchsia.go index c544fe3e7..a2be49202 100644 --- a/sys/syz-extract/fuchsia.go +++ b/sys/syz-extract/fuchsia.go @@ -27,7 +27,7 @@ func (*fuchsia) prepareArch(arch *Arch) error { func (*fuchsia) processFile(arch *Arch, info *compiler.ConstInfo) (map[string]uint64, map[string]bool, error) { dir := arch.sourceDir headerArch := arch.target.KernelHeaderArch - cc := filepath.Join(dir, "buildtools", "linux-x64", "clang", "bin", "clang") + cc := filepath.Join(dir, "prebuilt", "third_party", "clang", "linux-x64", "bin", "clang") includeDir := filepath.Join(dir, "out", headerArch, "sdk", "exported", "zircon_sysroot", "arch", headerArch, "sysroot", "include") args := []string{"-fmessage-length=0", "-I" + includeDir} |
