diff options
Diffstat (limited to 'android/rule_builder.go')
-rw-r--r-- | android/rule_builder.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/android/rule_builder.go b/android/rule_builder.go index 8b03124bf..464aca4a0 100644 --- a/android/rule_builder.go +++ b/android/rule_builder.go @@ -554,6 +554,12 @@ func (r *RuleBuilder) build(name string, desc string, ninjaEscapeCommandString b To: proto.String(r.sboxPathForInputRel(input)), }) } + for _, input := range r.OrderOnlys() { + command.CopyBefore = append(command.CopyBefore, &sbox_proto.Copy{ + From: proto.String(input.String()), + To: proto.String(r.sboxPathForInputRel(input)), + }) + } // If using rsp files copy them and their contents into the sbox directory with // the appropriate path mappings. |