summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ryan Prichard <rprichard@google.com> 2024-12-18 15:14:55 -0800
committer Ryan Prichard <rprichard@google.com> 2025-01-06 12:58:30 -0800
commit5135b91da8602d39bbec5a753163d3c4fec766c5 (patch)
tree5f83128f5f7f2fa3ef8f548ea35ece16502809d4
parentbdf31e2ff958067b228009d5166e23baab96bd99 (diff)
asm_defines.s: suppress error about unused -c argument
Bug: http://b/379133546 Test: presubmit Change-Id: Id65e1474c8db8b7b82bf2c0c12e5c541d3da7644
-rw-r--r--tools/cpp-define-generator/Android.bp8
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/cpp-define-generator/Android.bp b/tools/cpp-define-generator/Android.bp
index babcfa43fe..44097bcdd0 100644
--- a/tools/cpp-define-generator/Android.bp
+++ b/tools/cpp-define-generator/Android.bp
@@ -35,8 +35,12 @@ cc_object {
"libart_headers",
"libdexfile_all_headers", // For dex/modifiers.h
],
- // Produce text file rather than binary.
- cflags: ["-S"],
+ cflags: [
+ // Produce text file rather than binary.
+ "-S",
+ // Suppress an error about the unused -c that precedes -S.
+ "-Wno-unused-command-line-argument",
+ ],
srcs: ["asm_defines.cc"],
apex_available: [
"com.android.art",