livedisplay: Expose headers and implementations as Soong modules
Change-Id: I335cb98b544fceed1e0d11f0a7dd9cc38860b5aa
This commit is contained in:
@@ -12,6 +12,17 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
filegroup {
|
||||||
|
name: "vendor.lineage.livedisplay@2.1-oplus-se",
|
||||||
|
srcs: ["SunlightEnhancement.cpp"],
|
||||||
|
}
|
||||||
|
|
||||||
|
cc_library_headers {
|
||||||
|
name: "vendor.lineage.livedisplay@2.1-oplus-headers",
|
||||||
|
vendor_available: true,
|
||||||
|
export_include_dirs: ["include"],
|
||||||
|
}
|
||||||
|
|
||||||
cc_binary {
|
cc_binary {
|
||||||
name: "vendor.lineage.livedisplay@2.1-service.oplus",
|
name: "vendor.lineage.livedisplay@2.1-service.oplus",
|
||||||
defaults: ["hidl_defaults"],
|
defaults: ["hidl_defaults"],
|
||||||
@@ -21,7 +32,7 @@ cc_binary {
|
|||||||
srcs: [
|
srcs: [
|
||||||
":vendor.lineage.livedisplay@2.0-sdm-pa",
|
":vendor.lineage.livedisplay@2.0-sdm-pa",
|
||||||
":vendor.lineage.livedisplay@2.0-sdm-utils",
|
":vendor.lineage.livedisplay@2.0-sdm-utils",
|
||||||
"SunlightEnhancement.cpp",
|
":vendor.lineage.livedisplay@2.1-oplus-se",
|
||||||
"service.cpp",
|
"service.cpp",
|
||||||
],
|
],
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
@@ -34,6 +45,7 @@ cc_binary {
|
|||||||
],
|
],
|
||||||
header_libs: [
|
header_libs: [
|
||||||
"vendor.lineage.livedisplay@2.0-sdm-headers",
|
"vendor.lineage.livedisplay@2.0-sdm-headers",
|
||||||
|
"vendor.lineage.livedisplay@2.1-oplus-headers",
|
||||||
],
|
],
|
||||||
proprietary: true,
|
proprietary: true,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "SunlightEnhancement.h"
|
#include <livedisplay/oplus/SunlightEnhancement.h>
|
||||||
#include <android-base/file.h>
|
#include <android-base/file.h>
|
||||||
#include <android-base/strings.h>
|
#include <android-base/strings.h>
|
||||||
|
|
||||||
|
|||||||
@@ -19,11 +19,10 @@
|
|||||||
#include <android-base/logging.h>
|
#include <android-base/logging.h>
|
||||||
#include <binder/ProcessState.h>
|
#include <binder/ProcessState.h>
|
||||||
#include <hidl/HidlTransportSupport.h>
|
#include <hidl/HidlTransportSupport.h>
|
||||||
|
#include <livedisplay/oplus/SunlightEnhancement.h>
|
||||||
#include <livedisplay/sdm/PictureAdjustment.h>
|
#include <livedisplay/sdm/PictureAdjustment.h>
|
||||||
#include <vendor/lineage/livedisplay/2.1/IPictureAdjustment.h>
|
#include <vendor/lineage/livedisplay/2.1/IPictureAdjustment.h>
|
||||||
|
|
||||||
#include "SunlightEnhancement.h"
|
|
||||||
|
|
||||||
using ::android::OK;
|
using ::android::OK;
|
||||||
using ::android::sp;
|
using ::android::sp;
|
||||||
using ::android::status_t;
|
using ::android::status_t;
|
||||||
|
|||||||
Reference in New Issue
Block a user