Skip to content

Commit

Permalink
vendor: Move misc_writer to system
Browse files Browse the repository at this point in the history
Change-Id: I4ecb611b9670e9ce4a01edad94d0ce5808b6e7df
  • Loading branch information
jhenrique09 committed Nov 23, 2020
1 parent 0760128 commit 586a210
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions misc/misc_writer/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

cc_defaults {
name: "misc_writer_defaults",
vendor: true,
cpp_std: "experimental",

cflags: [
Expand All @@ -29,13 +28,11 @@ cc_defaults {
],

static_libs: [
"libbootloader_message_vendor",
"libbootloader_message",
"libfstab",
],
}

// TODO(xunchang) Remove duplicates after we convert the device specific librecovery_ui to recovery
// module. Then libmisc_writer can build as a vendor module available in recovery.
cc_library_static {
name: "libmisc_writer",
cpp_std: "experimental",
Expand Down Expand Up @@ -63,21 +60,6 @@ cc_library_static {
],
}

cc_library_static {
name: "libmisc_writer_vendor",
defaults: [
"misc_writer_defaults",
],

srcs: [
"misc_writer.cpp",
],

export_include_dirs: [
"include",
],
}

cc_binary {
name: "misc_writer",
defaults: [
Expand All @@ -89,7 +71,7 @@ cc_binary {
],

static_libs: [
"libmisc_writer_vendor",
"libmisc_writer",
]
}

Expand All @@ -105,6 +87,6 @@ cc_test {
test_suites: ["device-tests"],

static_libs: [
"libmisc_writer_vendor",
"libmisc_writer",
]
}

0 comments on commit 586a210

Please sign in to comment.