Merge "Allow more PATH tools, expose HOST_STRIP"
This commit is contained in:
commit
1d2318d6cd
|
@ -312,6 +312,7 @@ func makeVarsToolchain(ctx android.MakeVarsContext, secondPrefix string,
|
|||
|
||||
ctx.Strict(makePrefix+"CC", gccCmd(toolchain, "gcc"))
|
||||
ctx.Strict(makePrefix+"CXX", gccCmd(toolchain, "g++"))
|
||||
ctx.Strict(makePrefix+"STRIP", gccCmd(toolchain, "strip"))
|
||||
|
||||
if target.Os == android.Darwin {
|
||||
ctx.Strict(makePrefix+"AR", "${config.MacArPath}")
|
||||
|
@ -328,7 +329,6 @@ func makeVarsToolchain(ctx android.MakeVarsContext, secondPrefix string,
|
|||
if target.Os.Class == android.Device {
|
||||
ctx.Strict(makePrefix+"OBJCOPY", gccCmd(toolchain, "objcopy"))
|
||||
ctx.Strict(makePrefix+"LD", gccCmd(toolchain, "ld"))
|
||||
ctx.Strict(makePrefix+"STRIP", gccCmd(toolchain, "strip"))
|
||||
ctx.Strict(makePrefix+"GCC_VERSION", toolchain.GccVersion())
|
||||
ctx.Strict(makePrefix+"NDK_GCC_VERSION", toolchain.GccVersion())
|
||||
ctx.Strict(makePrefix+"NDK_TRIPLE", config.NDKTriple(toolchain))
|
||||
|
|
|
@ -83,6 +83,7 @@ var Configuration = map[string]PathConfig{
|
|||
"head": Allowed,
|
||||
"hexdump": Allowed,
|
||||
"hostname": Allowed,
|
||||
"id": Allowed,
|
||||
"jar": Allowed,
|
||||
"java": Allowed,
|
||||
"javap": Allowed,
|
||||
|
@ -104,11 +105,13 @@ var Configuration = map[string]PathConfig{
|
|||
"readlink": Allowed,
|
||||
"realpath": Allowed,
|
||||
"rm": Allowed,
|
||||
"rmdir": Allowed,
|
||||
"rsync": Allowed,
|
||||
"runalarm": Allowed,
|
||||
"sed": Allowed,
|
||||
"setsid": Allowed,
|
||||
"sh": Allowed,
|
||||
"sha1sum": Allowed,
|
||||
"sha256sum": Allowed,
|
||||
"sha512sum": Allowed,
|
||||
"sort": Allowed,
|
||||
|
|
Loading…
Reference in New Issue