Skip to content

Commit 382d356

Browse files
authored
Merge pull request #159 from rdkcentral/develop
Rebased develop
2 parents cafe667 + 2499e0b commit 382d356

14 files changed

+4670
-4164
lines changed

.github/workflows/L1-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -435,8 +435,8 @@ jobs:
435435
-DPLUGIN_AVINPUT=ON
436436
-DPLUGIN_HDMIINPUT=ON
437437
-DPLUGIN_HDCPPROFILE=ON
438-
-DPLUGIN_HDMICECSOURCE=ON
439-
-DPLUGIN_HDMICECSINK=ON
438+
-DPLUGIN_HDMICECSOURCE=OFF
439+
-DPLUGIN_HDMICECSINK=OFF
440440
-DUSE_THUNDER_R4=ON
441441
-DHIDE_NON_EXTERNAL_SYMBOLS=OFF
442442
&&
@@ -513,8 +513,8 @@ jobs:
513513
-DPLUGIN_AVINPUT=ON
514514
-DPLUGIN_HDMIINPUT=ON
515515
-DPLUGIN_HDCPPROFILE=ON
516-
-DPLUGIN_HDMICECSOURCE=ON
517-
-DPLUGIN_HDMICECSINK=ON
516+
-DPLUGIN_HDMICECSOURCE=OFF
517+
-DPLUGIN_HDMICECSINK=OFF
518518
-DRDK_SERVICES_L1_TEST=ON
519519
-DUSE_THUNDER_R4=ON
520520
-DHIDE_NON_EXTERNAL_SYMBOLS=OFF

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,16 @@ All notable changes to this project will be documented in this file. Dates are d
44

55
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
66

7+
#### [1.3.0](https://github.com/rdkcentral/entservices-inputoutput/compare/1.2.0...1.3.0)
8+
9+
- Feature/rdkemw 1015 comrpc [`#129`](https://github.com/rdkcentral/entservices-inputoutput/pull/129)
10+
- RDK-57440: Causing config issue for higher versions of cmake [`#146`](https://github.com/rdkcentral/entservices-inputoutput/pull/146)
11+
- Merge tag '1.2.0' into develop [`7b1dccc`](https://github.com/rdkcentral/entservices-inputoutput/commit/7b1dccc6d7bbba3fdf649c900ad15996e6424a27)
12+
713
#### [1.2.0](https://github.com/rdkcentral/entservices-inputoutput/compare/1.1.1...1.2.0)
814

15+
> 17 June 2025
16+
917
- RDKEMW-4135:Coverity integration with Entservices repo [`#147`](https://github.com/rdkcentral/entservices-inputoutput/pull/147)
1018
- RDKEMW-4116 : VRR Feature Middleware changes. [`#103`](https://github.com/rdkcentral/entservices-inputoutput/pull/103)
1119
- topic/RDK-58099: HdmiCecSink syntax error [`#142`](https://github.com/rdkcentral/entservices-inputoutput/pull/142)

HdmiCecSink/CMakeLists.txt

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
# limitations under the License.
1717
set(PLUGIN_NAME HdmiCecSink)
1818
set(MODULE_NAME ${NAMESPACE}${PLUGIN_NAME})
19+
set(PLUGIN_IMPLEMENTATION ${MODULE_NAME}Implementation)
1920

2021

2122
set(PLUGIN_HDMICECSINK_STARTUPORDER "" CACHE STRING "To configure startup order of HdmiCecSink plugin")
@@ -26,10 +27,18 @@ add_library(${MODULE_NAME} SHARED
2627
HdmiCecSink.cpp
2728
Module.cpp)
2829

30+
add_library(${PLUGIN_IMPLEMENTATION} SHARED
31+
HdmiCecSinkImplementation.cpp
32+
Module.cpp)
33+
2934
set_target_properties(${MODULE_NAME} PROPERTIES
3035
CXX_STANDARD 11
3136
CXX_STANDARD_REQUIRED YES)
3237

38+
set_target_properties(${PLUGIN_IMPLEMENTATION} PROPERTIES
39+
CXX_STANDARD 11
40+
CXX_STANDARD_REQUIRED YES)
41+
3342
target_compile_definitions(${MODULE_NAME} PRIVATE MODULE_NAME=Plugin_${PLUGIN_NAME})
3443

3544
find_package(DS)
@@ -41,13 +50,23 @@ target_include_directories(${MODULE_NAME} PRIVATE ${CEC_INCLUDE_DIRS})
4150
target_include_directories(${MODULE_NAME} PRIVATE ${DS_INCLUDE_DIRS})
4251
set_source_files_properties(HdmiCecSink.cpp PROPERTIES COMPILE_FLAGS "-fexceptions")
4352

53+
54+
target_include_directories(${PLUGIN_IMPLEMENTATION} PRIVATE ${IARMBUS_INCLUDE_DIRS} ../helpers)
55+
target_include_directories(${PLUGIN_IMPLEMENTATION} PRIVATE ${CEC_INCLUDE_DIRS})
56+
target_include_directories(${PLUGIN_IMPLEMENTATION} PRIVATE ${DS_INCLUDE_DIRS})
57+
set_source_files_properties(HdmiCecSinkImplementation.cpp PROPERTIES COMPILE_FLAGS "-fexceptions")
58+
4459
target_link_libraries(${MODULE_NAME} PUBLIC ${NAMESPACE}Plugins::${NAMESPACE}Plugins ${IARMBUS_LIBRARIES} ${CEC_LIBRARIES} ${DS_LIBRARIES} )
60+
target_link_libraries(${PLUGIN_IMPLEMENTATION} PUBLIC ${NAMESPACE}Plugins::${NAMESPACE}Plugins ${IARMBUS_LIBRARIES} ${CEC_LIBRARIES} ${DS_LIBRARIES} )
4561

4662
if (NOT RDK_SERVICES_L1_TEST)
47-
target_compile_options(${MODULE_NAME} PRIVATE -Wno-error=deprecated)
63+
target_compile_options(${PLUGIN_IMPLEMENTATION} PRIVATE -Wno-error=deprecated)
4864
endif ()
4965

5066
install(TARGETS ${MODULE_NAME}
5167
DESTINATION lib/${STORAGE_DIRECTORY}/plugins)
5268

69+
install(TARGETS ${PLUGIN_IMPLEMENTATION}
70+
DESTINATION lib/${STORAGE_DIRECTORY}/plugins)
71+
5372
write_config(${PLUGIN_NAME})

HdmiCecSink/HdmiCecSink.conf.in

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,10 @@ precondition = ["Platform"]
22
callsign = "org.rdk.HdmiCecSink"
33
autostart = "false"
44
startuporder = "@PLUGIN_HDMICECSINK_STARTUPORDER@"
5+
6+
configuration = JSON()
7+
rootobject = JSON()
8+
9+
rootobject.add("mode", "@PLUGIN_HDMICECSINK_MODE@")
10+
rootobject.add("locator", "lib@[email protected]")
11+
configuration.add("root", rootobject)

HdmiCecSink/HdmiCecSink.config

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,13 @@ set (callsign "org.rdk.HdmiCecSink")
55
if(PLUGIN_HDMICECSINK_STARTUPORDER)
66
set (startuporder ${PLUGIN_HDMICECSINK_STARTUPORDER})
77
endif()
8+
9+
10+
map()
11+
key(root)
12+
map()
13+
kv(mode ${PLUGIN_HDMICECSOURCE_MODE})
14+
kv(locator lib${PLUGIN_IMPLEMENTATION}.so)
15+
end()
16+
end()
17+
ans(configuration)

0 commit comments

Comments
 (0)