diff options
author | Tobias Bosch <tbosch@google.com> | 2019-09-30 10:37:42 -0700 |
---|---|---|
committer | Tobias Bosch <tbosch@google.com> | 2019-09-30 23:21:03 +0000 |
commit | c58f8d5cfbfc7a9561963af92017a9d3dbdcb61d (patch) | |
tree | 2e524107444d938f1e98c588bf96c2ba29ecdc30 /compiler_wrapper/testdata | |
parent | 606ae84584e61b0a1f47ed5de2cbaaaad1393712 (diff) | |
download | toolchain-utils-c58f8d5cfbfc7a9561963af92017a9d3dbdcb61d.tar.gz |
Android wrapper: Add support for --gomacc-path.
This is used by Android. To keep the wrappers in sync,
we also support it on ChromeOS.
BUG=chromium:773875
TEST=golden tests and comparison against old andorid wrapper.
Change-Id: I02d7456ead1c94327eb6810aeef4d106596518ec
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/1831789
Reviewed-by: George Burgess <gbiv@chromium.org>
Tested-by: Tobias Bosch <tbosch@google.com>
Diffstat (limited to 'compiler_wrapper/testdata')
-rw-r--r-- | compiler_wrapper/testdata/android_golden/clang_path.json | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/compiler_wrapper/testdata/android_golden/clang_path.json b/compiler_wrapper/testdata/android_golden/clang_path.json index 2928bf89..cab712b5 100644 --- a/compiler_wrapper/testdata/android_golden/clang_path.json +++ b/compiler_wrapper/testdata/android_golden/clang_path.json @@ -133,5 +133,29 @@ } } ] + }, + { + "wd": "/tmp/stable", + "wrapper": { + "cmd": { + "path": "/tmp/stable/clang", + "args": [ + "main.cc", + "--gomacc-path", + "/tmp/stable/gomacc" + ] + } + }, + "cmds": [ + { + "cmd": { + "path": "/tmp/stable/gomacc", + "args": [ + "/tmp/stable/clang.real", + "main.cc" + ] + } + } + ] } ] |