blob: 1dc9ae84b4ef5708b5039b676c88fab02039ac25 [file] [log] [blame]
Jan Altensen1a843362019-01-20 01:40:51 +01001// Copyright (C) 2019 The LineageOS Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
Jan Altensen4e47a0b2019-01-20 02:40:07 +010015cc_defaults {
16 name: "livedisplay_samsung_exynos_defaults",
17 defaults: ["hidl_defaults"],
Jan Altensen1a843362019-01-20 01:40:51 +010018 relative_install_path: "hw",
Jan Altensen1a843362019-01-20 01:40:51 +010019 srcs: [
20 "AdaptiveBacklight.cpp",
Jan Altensen4e47a0b2019-01-20 02:40:07 +010021 "DisplayColorCalibrationExynos.cpp",
Jan Altensen1a843362019-01-20 01:40:51 +010022 "DisplayModes.cpp",
Jan Altensen1a843362019-01-20 01:40:51 +010023 "ReadingEnhancement.cpp",
Jan Altensen4e47a0b2019-01-20 02:40:07 +010024 "SunlightEnhancementExynos.cpp",
25 "serviceExynos.cpp",
Jan Altensen1a843362019-01-20 01:40:51 +010026 ],
27 shared_libs: [
Jan Altensen4e47a0b2019-01-20 02:40:07 +010028 "libbase",
29 "libbinder",
Jan Altensen1a843362019-01-20 01:40:51 +010030 "libhidlbase",
31 "libhidltransport",
32 "libutils",
33 "vendor.lineage.livedisplay@2.0",
34 ],
35}
Jan Altensen4e47a0b2019-01-20 02:40:07 +010036
37cc_defaults {
38 name: "livedisplay_samsung_qcom_defaults",
39 defaults: ["hidl_defaults"],
40 relative_install_path: "hw",
41 srcs: [
42 "AdaptiveBacklight.cpp",
43 "DisplayColorCalibration.cpp",
44 "DisplayModes.cpp",
45 "ReadingEnhancement.cpp",
46 "SunlightEnhancement.cpp",
47 "service.cpp",
48 ],
49 shared_libs: [
50 "libbase",
51 "libbinder",
52 "libhidlbase",
53 "libhidltransport",
54 "libutils",
55 "vendor.lineage.livedisplay@2.0",
56 ],
57}
58
59cc_binary {
60 name: "lineage.livedisplay@2.0-service.samsung-exynos",
61 init_rc: ["lineage.livedisplay@2.0-service.samsung-exynos.rc"],
62 defaults: ["livedisplay_samsung_exynos_defaults"],
63 cflags: ["-DLIVES_IN_SYSTEM"],
64}
65
66cc_binary {
67 name: "vendor.lineage.livedisplay@2.0-service.samsung-exynos",
68 init_rc: ["vendor.lineage.livedisplay@2.0-service.samsung-exynos.rc"],
69 defaults: ["livedisplay_samsung_exynos_defaults"],
70 vendor: true,
71}
72
73cc_binary {
74 name: "lineage.livedisplay@2.0-service.samsung-qcom",
75 init_rc: ["lineage.livedisplay@2.0-service.samsung-qcom.rc"],
76 defaults: ["livedisplay_samsung_qcom_defaults"],
77 cflags: ["-DLIVES_IN_SYSTEM"],
78}
79
80cc_binary {
81 name: "vendor.lineage.livedisplay@2.0-service.samsung-qcom",
82 init_rc: ["vendor.lineage.livedisplay@2.0-service.samsung-qcom.rc"],
83 defaults: ["livedisplay_samsung_qcom_defaults"],
84 vendor: true,
85}