Skip to content

Commit 5a8debe

Browse files
committed
Fix lights library
1 parent 572a014 commit 5a8debe

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

BoardConfig.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ BOARD_RIL_CLASS := ../../../device/jsr/d9/ril/
169169
BOARD_HARDWARE_CLASS := device/jsr/d9/cmhw
170170

171171
# Lights
172-
#TARGET_PROVIDES_LIBLIGHTS := true
172+
TARGET_PROVIDES_LIBLIGHT := true
173173

174174
# Media
175175
TARGET_ENABLE_QC_AV_ENHANCEMENTS := true

lights/Android.mk

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,20 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
ifneq ($(filter u8815,$(TARGET_DEVICE)),)
1615
LOCAL_PATH:= $(call my-dir)
17-
# HAL module implemenation, not prelinked and stored in
16+
# HAL module implemenation stored in
1817
# hw/<COPYPIX_HARDWARE_MODULE_ID>.<ro.board.platform>.so
1918
include $(CLEAR_VARS)
2019

2120
LOCAL_MODULE_TAGS := optional
2221
LOCAL_SRC_FILES := lights.c
2322

24-
LOCAL_PRELINK_MODULE := false
23+
#LOCAL_PRELINK_MODULE := false
2524
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
2625

2726
LOCAL_SHARED_LIBRARIES := libhardware_legacy liblog
2827

2928
LOCAL_MODULE := lights.$(TARGET_BOARD_PLATFORM)
3029

3130
include $(BUILD_SHARED_LIBRARY)
32-
endif
31+

0 commit comments

Comments
 (0)