OSDN Git Service

Move sh_vendor cflags to its own target
authorSandeep Patil <sspatil@google.com>
Fri, 10 Nov 2017 02:01:21 +0000 (18:01 -0800)
committerSandeep Patil <sspatil@google.com>
Fri, 10 Nov 2017 17:44:17 +0000 (09:44 -0800)
commitfa7594efa4f08346be53e7a6f42fe3cc72efc889
tree6a33344997f6c5e13f11af6f2f1da8322980fb6f
parent46fbc9c70135db1847558e4c0e0a26a477986e5e
Move sh_vendor cflags to its own target

The cc_defaults.vendor doesn't work due to VNDK being disabled.
(b/69133815). So, the conversion to soon caused the sh_vendor to start
using $PATH from the environment (instead of the hardcoded one) that in
turn caused vendor shell scripts trying to run system toybox commands.

Bug: 68771183
Test: m -j sh_vendor; adb sync; adb shell; /vendor/bin/sh; echo $PATH
Test: Boot marlin with no denials from init_radio, init_power domains.
Change-Id: Ia90b74a4cffdeba9b53f3b8fb8a56c98386794fa
Signed-off-by: Sandeep Patil <sspatil@google.com>
Android.bp