aboutsummaryrefslogtreecommitdiff
path: root/gpt-utils/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'gpt-utils/Android.bp')
-rw-r--r--gpt-utils/Android.bp41
1 files changed, 41 insertions, 0 deletions
diff --git a/gpt-utils/Android.bp b/gpt-utils/Android.bp
new file mode 100644
index 0000000..b3a5f1c
--- /dev/null
+++ b/gpt-utils/Android.bp
@@ -0,0 +1,41 @@
+//
+// Copyright (C) 2018 The Android Open Source Project
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+
+cc_library {
+ name: "libgptutils.xiaomi_holi",
+ vendor: true,
+ recovery_available: true,
+ shared_libs: [
+ "libcutils",
+ "liblog",
+ "libz",
+ ],
+ cflags: [
+ "-Wall",
+ "-Werror",
+ "-D_BSG_FRAMEWORK_KERNEL_HEADERS",
+ ],
+ srcs: [
+ "gpt-utils.cpp",
+ "recovery-ufs-bsg.cpp",
+ ],
+ owner: "qti",
+ header_libs: [
+ "generated_kernel_headers",
+ ],
+ export_include_dirs: ["."],
+}