Skip to content

Commit 3d55a20

Browse files
committed
Merge branch 'develop' into feature/RDK-55554_2
2 parents 63ba4a7 + 2019c9f commit 3d55a20

12 files changed

+1054
-361
lines changed

.github/workflows/L1-tests.yml

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ jobs:
345345
-DDS_FOUND=ON
346346
-DHAS_FRONT_PANEL=ON
347347
-DRDK_SERVICES_L1_TEST=ON
348-
-DPLUGIN_HDCPPROFILE=ON
348+
-DPLUGIN_HDCPPROFILE=OFF
349349
-DPLUGIN_HDMICECSOURCE=ON
350350
-DPLUGIN_HDMICECSINK=ON
351351
-DUSE_THUNDER_R4=ON
@@ -419,7 +419,7 @@ jobs:
419419
-DCMAKE_DISABLE_FIND_PACKAGE_CEC=ON
420420
-DCMAKE_BUILD_TYPE=Debug
421421
-DDS_FOUND=ON
422-
-DPLUGIN_HDCPPROFILE=ON
422+
-DPLUGIN_HDCPPROFILE=OFF
423423
-DPLUGIN_HDMICECSOURCE=ON
424424
-DPLUGIN_HDMICECSINK=ON
425425
-DRDK_SERVICES_L1_TEST=ON
@@ -541,40 +541,40 @@ jobs:
541541
cp -rf $(pwd)/rdkL1TestResults.json $GITHUB_WORKSPACE/rdkL1TestResultsWithValgrind.json &&
542542
rm -rf $(pwd)/rdkL1TestResults.json
543543
544-
- name: Generate coverage
545-
if: ${{ matrix.coverage == 'with-coverage' && !env.ACT }}
546-
run: >
547-
cp $GITHUB_WORKSPACE/entservices-testframework/Tests/L1Tests/.lcovrc_l1 ~/.lcovrc
548-
&&
549-
lcov -c
550-
-o coverage.info
551-
-d build/entservices-inputoutput
552-
&&
553-
lcov
554-
-r coverage.info
555-
'/usr/include/*'
556-
'*/build/entservices-inputoutput/_deps/*'
557-
'*/install/usr/include/*'
558-
'*/Tests/headers/*'
559-
'*/Tests/mocks/*'
560-
'*/Tests/L1Tests/tests/*'
561-
'*/Thunder/*'
562-
-o filtered_coverage.info
563-
&&
564-
genhtml
565-
-o coverage
566-
-t "entservices-inputoutput coverage"
567-
filtered_coverage.info
544+
# - name: Generate coverage
545+
# if: ${{ matrix.coverage == 'with-coverage' && !env.ACT }}
546+
# run: >
547+
# cp $GITHUB_WORKSPACE/entservices-testframework/Tests/L1Tests/.lcovrc_l1 ~/.lcovrc
548+
# &&
549+
# lcov -c
550+
# -o coverage.info
551+
# -d build/entservices-inputoutput
552+
# &&
553+
# lcov
554+
# -r coverage.info
555+
# '/usr/include/*'
556+
# '*/build/entservices-inputoutput/_deps/*'
557+
# '*/install/usr/include/*'
558+
# '*/Tests/headers/*'
559+
# '*/Tests/mocks/*'
560+
# '*/Tests/L1Tests/tests/*'
561+
# '*/Thunder/*'
562+
# -o filtered_coverage.info
563+
# &&
564+
# genhtml
565+
# -o coverage
566+
# -t "entservices-inputoutput coverage"
567+
# filtered_coverage.info
568568

569-
- name: Upload artifacts
570-
if: ${{ !env.ACT }}
571-
uses: actions/upload-artifact@v4
572-
with:
573-
name: artifacts
574-
path: |
575-
coverage/
576-
valgrind_log
577-
rdkL1TestResultsWithoutValgrind.json
578-
rdkL1TestResultsWithValgrind.json
579-
if-no-files-found: warn
569+
# - name: Upload artifacts
570+
# if: ${{ !env.ACT }}
571+
# uses: actions/upload-artifact@v4
572+
# with:
573+
# name: artifacts
574+
# path: |
575+
# coverage/
576+
# valgrind_log
577+
# rdkL1TestResultsWithoutValgrind.json
578+
# rdkL1TestResultsWithValgrind.json
579+
# if-no-files-found: warn
580580

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build Component in Native Environment
2+
3+
on:
4+
push:
5+
branches: [ main, 'sprint/**', 'release/**', develop ]
6+
pull_request:
7+
branches: [ main, 'sprint/**', 'release/**', topic/RDK*, develop ]
8+
9+
jobs:
10+
build-entservices-on-pr:
11+
name: Build entservices-inputoutput component in github rdkcentral
12+
runs-on: ubuntu-latest
13+
container:
14+
image: ghcr.io/rdkcentral/docker-rdk-ci:latest
15+
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v3
19+
20+
- name: native build
21+
run: |
22+
sh -x build_dependencies.sh
23+
sh -x cov_build.sh
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.RDKCM_RDKE }}

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,21 @@ 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.0.12](https://github.com/rdkcentral/entservices-inputoutput/compare/1.0.11...1.0.12)
8+
9+
- RDKEMW-1014 : Add COM-RPC support to HdcpProfile plugin [`#72`](https://github.com/rdkcentral/entservices-inputoutput/pull/72)
10+
- RDK-55373:[RDKServices] Coverity integration with middleware component workflow [`#80`](https://github.com/rdkcentral/entservices-inputoutput/pull/80)
11+
- [RDKEMW-2711] RDKEMW-2748 : Update the Test Coverage [`#75`](https://github.com/rdkcentral/entservices-inputoutput/pull/75)
12+
- Update Utils.py [`#73`](https://github.com/rdkcentral/entservices-inputoutput/pull/73)
13+
- Merge tag '1.0.11' into develop [`c86b827`](https://github.com/rdkcentral/entservices-inputoutput/commit/c86b82721e32a4bbc828003d0fd5cf76c77d8cca)
14+
715
#### [1.0.11](https://github.com/rdkcentral/entservices-inputoutput/compare/1.0.10...1.0.11)
816

17+
> 25 April 2025
18+
919
- PowerManager Interface file modified [`#62`](https://github.com/rdkcentral/entservices-inputoutput/pull/62)
1020
- Update TestManager.py for removing frontpanel and hdcpprofile dependencies to execute testcases standalone [`#68`](https://github.com/rdkcentral/entservices-inputoutput/pull/68)
21+
- 1.0.11 release changelog updates [`85c0153`](https://github.com/rdkcentral/entservices-inputoutput/commit/85c0153a722c521a8707a49758f9df1cd4e4dc59)
1122
- Merge tag '1.0.10' into develop [`7a54d8c`](https://github.com/rdkcentral/entservices-inputoutput/commit/7a54d8cdb9da6de8071c19c8efdf48e7ec5bba96)
1223

1324
#### [1.0.10](https://github.com/rdkcentral/entservices-inputoutput/compare/1.0.9...1.0.10)

HdcpProfile/CMakeLists.txt

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
set(PLUGIN_NAME HdcpProfile)
1919
set(MODULE_NAME ${NAMESPACE}${PLUGIN_NAME})
20+
set(PLUGIN_IMPLEMENTATION ${MODULE_NAME}Implementation)
2021

2122
set(PLUGIN_HDCPPROFILE_AUTOSTART "false" CACHE STRING "Automatically start HdcpProfile plugin")
2223
set(PLUGIN_HDCPPROFILE_STARTUPORDER "" CACHE STRING "To configure startup order of HdcpProfile plugin")
@@ -32,20 +33,42 @@ add_library(${MODULE_NAME} SHARED
3233
HdcpProfile.cpp
3334
Module.cpp)
3435

36+
3537
set_target_properties(${MODULE_NAME} PROPERTIES
3638
CXX_STANDARD 11
3739
CXX_STANDARD_REQUIRED YES)
3840

3941
target_compile_definitions(${MODULE_NAME} PRIVATE MODULE_NAME=Plugin_${PLUGIN_NAME})
4042

43+
44+
include_directories(
45+
../helpers)
46+
47+
target_link_libraries(${MODULE_NAME} PRIVATE ${NAMESPACE}Plugins::${NAMESPACE}Plugins)
48+
49+
install(TARGETS ${MODULE_NAME}
50+
DESTINATION lib/${STORAGE_DIRECTORY}/plugins)
51+
52+
add_library(${PLUGIN_IMPLEMENTATION} SHARED
53+
HdcpProfileImplementation.cpp
54+
Module.cpp)
55+
target_link_libraries(${PLUGIN_IMPLEMENTATION}
56+
PRIVATE
57+
${NAMESPACE}Plugins::${NAMESPACE}Plugins)
58+
set_target_properties(${PLUGIN_IMPLEMENTATION} PROPERTIES
59+
CXX_STANDARD 11
60+
CXX_STANDARD_REQUIRED YES)
61+
62+
4163
if (USE_THUNDER_R4)
42-
target_link_libraries(${MODULE_NAME} PRIVATE ${NAMESPACE}COM::${NAMESPACE}COM)
64+
target_link_libraries(${PLUGIN_IMPLEMENTATION} PRIVATE ${NAMESPACE}COM::${NAMESPACE}COM)
4365
else ()
44-
target_link_libraries(${MODULE_NAME} PRIVATE ${NAMESPACE}Protocols::${NAMESPACE}Protocols)
66+
target_link_libraries(${PLUGIN_IMPLEMENTATION} PRIVATE ${NAMESPACE}Protocols::${NAMESPACE}Protocols)
4567
endif (USE_THUNDER_R4)
4668

4769
find_package(DS)
4870
find_package(IARMBus)
71+
find_package(CEC)
4972

5073
if (RDK_SERVICE_L2_TEST)
5174
message ("L2 test Enabled")
@@ -58,16 +81,17 @@ if (RDK_SERVICE_L2_TEST)
5881
endif (TESTMOCKLIB_LIBRARIES)
5982
endif()
6083

61-
target_include_directories(${MODULE_NAME} PRIVATE ${IARMBUS_INCLUDE_DIRS})
62-
target_include_directories(${MODULE_NAME} PRIVATE ${DS_INCLUDE_DIRS})
63-
target_include_directories(${MODULE_NAME} PRIVATE ../helpers)
84+
85+
target_include_directories(${PLUGIN_IMPLEMENTATION} PRIVATE ${IARMBUS_INCLUDE_DIRS})
86+
target_include_directories(${PLUGIN_IMPLEMENTATION} PRIVATE ${DS_INCLUDE_DIRS})
87+
target_include_directories(${PLUGIN_IMPLEMENTATION} PRIVATE ../helpers)
6488

6589

6690
set_source_files_properties(HdcpProfile.cpp PROPERTIES COMPILE_FLAGS "-fexceptions")
6791

68-
target_link_libraries(${MODULE_NAME} PUBLIC ${NAMESPACE}Plugins::${NAMESPACE}Plugins ${IARMBUS_LIBRARIES} ${DS_LIBRARIES} )
92+
target_link_libraries(${PLUGIN_IMPLEMENTATION} PUBLIC ${NAMESPACE}Plugins::${NAMESPACE}Plugins ${IARMBUS_LIBRARIES} ${DS_LIBRARIES})
6993

70-
install(TARGETS ${MODULE_NAME}
94+
install(TARGETS ${PLUGIN_IMPLEMENTATION}
7195
DESTINATION lib/${STORAGE_DIRECTORY}/plugins)
7296

7397
write_config(${PLUGIN_NAME})

HdcpProfile/HdcpProfile.conf.in

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

HdcpProfile/HdcpProfile.config

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

0 commit comments

Comments
 (0)