sdm845-common: Build bootctrl.sdm845 using Soong

This is required to build the recovery variant of the
same to be used by fastbootd.

Bug: 78793464
Test: make
Change-Id: I16eddcb853bda1a9969810f258884ebdbbfc1f5c
This commit is contained in:
Hridya Valsaraju
2018-08-21 21:22:37 -07:00
committed by LuK1337
parent 8937c5d867
commit 29e2cde762
3 changed files with 26 additions and 6 deletions

21
bootctrl/Android.bp Normal file
View File

@@ -0,0 +1,21 @@
//
// 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: "bootctrl.sdm845",
defaults: ["bootctrl_hal_defaults"],
static_libs: ["libgptutils.oneplus_sdm845"],
}