summaryrefslogtreecommitdiffstats
path: root/adf
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2016-09-29 14:07:08 -0700
committerColin Cross <ccross@android.com>2016-09-29 14:07:08 -0700
commitaf933290f6b2978f5a896d95eafdb67e9f6e80e5 (patch)
tree3372e0ca63186da50c159e6fa11b0e8b16518654 /adf
parent833df5cd54e85e359c2a9ccb38221658090cf77d (diff)
downloadsystem_core-af933290f6b2978f5a896d95eafdb67e9f6e80e5.tar.gz
system_core-af933290f6b2978f5a896d95eafdb67e9f6e80e5.tar.bz2
system_core-af933290f6b2978f5a896d95eafdb67e9f6e80e5.zip
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
Diffstat (limited to 'adf')
-rw-r--r--adf/libadfhwc/Android.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/adf/libadfhwc/Android.bp b/adf/libadfhwc/Android.bp
index 86f0c9c21..57a8d76be 100644
--- a/adf/libadfhwc/Android.bp
+++ b/adf/libadfhwc/Android.bp
@@ -21,7 +21,7 @@ cc_library_static {
"libutils",
],
cflags: [
- "-DLOG_TAG=\\\"adfhwc\\\"",
+ "-DLOG_TAG=\"adfhwc\"",
"-Werror",
],
local_include_dirs: ["include"],