summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
author Jeff Gaston <jeffrygaston@google.com> 2017-12-08 12:45:35 -0800
committer Colin Cross <ccross@android.com> 2017-12-11 23:55:03 +0000
commit31603067b0cc7c67f56c3d7415c886a17b4e6d24 (patch)
tree4f1a92321680c6745116d42740b5ebbdf5582475 /java/java_test.go
parentc331599a8878bfe40f6030ce5cfc10603f739a8d (diff)
Escape genrule commands
Bug: 70387174 Test: Put this text into an Android.bp: genrule { name: "test_genrule", tool_files: ["foo"], out: ["foo.c"], cmd: "for i in a b c; do echo $$i; done > $(out)", } cc_library { name: "libtest_genrule", srcs: [":test_genrule"], } and then run `m -j libtest_genrule`. Although the library shouldn't compile, check that it produces a foo.c that has "a\nb\n\c\n" and not "\n\n\n". Change-Id: I139106479439c9b3a95f1a2ecc23e73570d7bd59
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions