Update escaping in Android.bp files
Strings like cflags in Android.bp files are parsed by blueprint, written to build.ninja files, parsed by ninja, and then passed to /bin/sh -c. This had resulted in a combination of blueprint (\"), ninja ($$), and shell (\$) escaping being necessary. Soong has been updated to automatically handle ninja and shell escaping, remove extra escaping from Android.bp files. Bug: 31221587 Test: m -j Change-Id: I78003c7a18028d27dff444af7d84901345d323a1
This commit is contained in:
parent
833df5cd54
commit
af933290f6
|
@ -21,7 +21,7 @@ cc_library_static {
|
|||
"libutils",
|
||||
],
|
||||
cflags: [
|
||||
"-DLOG_TAG=\\\"adfhwc\\\"",
|
||||
"-DLOG_TAG=\"adfhwc\"",
|
||||
"-Werror",
|
||||
],
|
||||
local_include_dirs: ["include"],
|
||||
|
|
Loading…
Reference in New Issue