From af933290f6b2978f5a896d95eafdb67e9f6e80e5 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Thu, 29 Sep 2016 14:07:08 -0700 Subject: [PATCH] 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 --- adf/libadfhwc/Android.bp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"],