From 4e4ab4ae72e7e0a19471cc955791f47b8f70e5f5 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 9 Jan 2018 14:55:36 -0800 Subject: [PATCH] Just check in tools.h. Bug: N/A Test: builds Change-Id: Ia08465799854a85da59c9fb9f5448aab11f81887 --- toolbox/Android.bp | 7 ------- toolbox/tools.h | 4 ++++ 2 files changed, 4 insertions(+), 7 deletions(-) create mode 100644 toolbox/tools.h diff --git a/toolbox/Android.bp b/toolbox/Android.bp index b5d16b80f..3fd7fdefa 100644 --- a/toolbox/Android.bp +++ b/toolbox/Android.bp @@ -32,12 +32,6 @@ cc_library_static { ], } -genrule { - name: "toolbox_tools", - cmd: "echo '/* file generated automatically */' >$(out) && for t in toolbox dd getevent newfs_msdos; do echo \"TOOL($$t)\" >>$(out); done", - out: ["tools.h"], -} - genrule { name: "toolbox_input_labels", tool_files: ["generate-input.h-labels.py"], @@ -55,7 +49,6 @@ cc_binary { "newfs_msdos.c", ], generated_headers: [ - "toolbox_tools", "toolbox_input_labels", ], whole_static_libs: ["libtoolbox_dd"], diff --git a/toolbox/tools.h b/toolbox/tools.h new file mode 100644 index 000000000..9134af367 --- /dev/null +++ b/toolbox/tools.h @@ -0,0 +1,4 @@ +TOOL(dd) +TOOL(getevent) +TOOL(newfs_msdos) +TOOL(toolbox)