Remove "cp $(out) ." from genrule
$(out) is the correct location for the output, and "." is the root of the source tree. Remove "cp $(out) ." to avoid writing to the source tree. Bug: 185211826 Change-Id: I71d961d885e450641773de3299ce6f1014b8ce92 Test: treehugger
This commit is contained in:
@@ -100,8 +100,7 @@ genrule {
|
||||
+ "RES_DIR=$$(dirname $$(dirname $${INPUTS[0]})) && "
|
||||
+ "mkdir -p $$RES_DIR/values && "
|
||||
+ "cp $${INPUTS[1]} $$RES_DIR/values && "
|
||||
+ "$(location soong_zip) -o $(out) -C $$RES_DIR -D $$RES_DIR && "
|
||||
+ "cp $(out) ."
|
||||
+ "$(location soong_zip) -o $(out) -C $$RES_DIR -D $$RES_DIR"
|
||||
}
|
||||
|
||||
android_app {
|
||||
|
||||
Reference in New Issue
Block a user