Skip to content

RDKEMW-16743: Create common helpers library#19

Open
preeja33 wants to merge 9 commits into
developfrom
feature/helpers_v1
Open

RDKEMW-16743: Create common helpers library#19
preeja33 wants to merge 9 commits into
developfrom
feature/helpers_v1

Conversation

@preeja33
Copy link
Copy Markdown
Contributor

@preeja33 preeja33 commented May 4, 2026

Reason for change: Create common helpers library
Test Procedure: check the ticket
Risks: Medium
Priority: P1
version: Patch

Copilot AI review requested due to automatic review settings May 4, 2026 09:16
@preeja33 preeja33 requested a review from a team as a code owner May 4, 2026 09:16
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the test build configuration to consume a newly introduced “common helpers” header location from the install prefix, rather than referencing multiple per-component helper directories.

Changes:

  • Switched MockAccessor and L2Tests plugin include paths from source-tree helper paths to ${CMAKE_INSTALL_PREFIX}/include/wpeframework/helpers.
  • Simplified the L2Tests plugin helper include setup by collapsing the previous multi-path ENTSERVICES_INC into a single common helpers include root.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
Tests/mocks/CMakeLists.txt Updates MockAccessor include dirs to use the installed common helpers headers path.
Tests/L2Tests/L2TestsPlugin/CMakeLists.txt Replaces multi-repo helper include list with the installed common helpers include path.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

set(ENTSERVICES_INC ${CMAKE_INSTALL_PREFIX}/include/wpeframework/helpers)

target_include_directories(${MODULE_NAME} PRIVATE ../../../helpers)
target_include_directories(${MODULE_NAME} PRIVATE ${CMAKE_INSTALL_PREFIX}/include/wpeframework/helpers)
Comment on lines 102 to 103
set(ENTSERVICES_INC ${CMAKE_INSTALL_PREFIX}/include/wpeframework/helpers)

Copilot AI review requested due to automatic review settings May 6, 2026 13:00
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comment thread Tests/mocks/CMakeLists.txt
Copilot AI review requested due to automatic review settings May 8, 2026 12:46
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

Comment on lines 101 to +102
set(ENTSERVICES_INC ../../../../entservices-deviceanddisplay/helpers ../../../../entservices-infra/helpers ../../../../entservices-mediaanddrm/helpers ../../../../entservices-softwareupdate/helpers ../../../../entservices-inputoutput/helpers ../../../../entservices-peripherals/helpers ../../../../entservices-connectivity/helpers)
set(ENTSERVICES_INC ../../../../entservices-helpers/helpers)
Comment thread Tests/mocks/CMakeLists.txt
target_link_libraries(${MODULE_NAME} PRIVATE ${NAMESPACE}Plugins::${NAMESPACE}Plugins gtest_main gmock gtest)

set(ENTSERVICES_INC ../../../../entservices-deviceanddisplay/helpers ../../../../entservices-infra/helpers ../../../../entservices-mediaanddrm/helpers ../../../../entservices-softwareupdate/helpers ../../../../entservices-inputoutput/helpers ../../../../entservices-peripherals/helpers ../../../../entservices-connectivity/helpers)
set(ENTSERVICES_INC ../../../../entservices-helpers/helpers)
Copilot AI review requested due to automatic review settings May 14, 2026 14:50
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings June 1, 2026 07:33
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.


# Include directories
target_include_directories(${MODULE_NAME} PRIVATE ${IARMBUS_INCLUDE_DIRS} ../../../helpers ../../mocks)
target_include_directories(${MODULE_NAME} PRIVATE ${IARMBUS_INCLUDE_DIRS} ../../../entservices-helpers/helpers ../../mocks)
Comment on lines 101 to +102
set(ENTSERVICES_INC ../../../../entservices-deviceanddisplay/helpers ../../../../entservices-infra/helpers ../../../../entservices-mediaanddrm/helpers ../../../../entservices-softwareupdate/helpers ../../../../entservices-inputoutput/helpers ../../../../entservices-peripherals/helpers ../../../../entservices-connectivity/helpers)
set(ENTSERVICES_INC ../../../../entservices-helpers/helpers)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants