-
Notifications
You must be signed in to change notification settings - Fork 11
[RDK-E]: NetworkconnectionRecovery.sh migration to C/C++ Module #274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from 12 commits
08dd34c
ce7a8c7
8a6412e
24d19c1
11098ba
3d487e3
2b39dac
9708046
bd40724
b705641
74dd5cb
e6c6ff2
c555c21
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -54,6 +54,7 @@ get_directory_property(SEVICES_DEFINES COMPILE_DEFINITIONS) | |
| option(ENABLE_LEGACY_PLUGINS "Enable Legacy Plugins" ON) | ||
| option(USE_RDK_LOGGER "Enable RDK Logger for logging" OFF ) | ||
| option(ENABLE_UNIT_TESTING "Enable unit tests" OFF) | ||
| option(USE_TELEMETRY "Enable Telemetry support for NetworkConnectionStats" ON) | ||
|
|
||
|
Comment on lines
+57
to
58
|
||
|
|
||
| add_subdirectory(interface) | ||
|
|
@@ -64,6 +65,8 @@ if (ENABLE_LEGACY_PLUGINS) | |
| add_subdirectory(legacy) | ||
| endif (ENABLE_LEGACY_PLUGINS) | ||
|
|
||
| add_subdirectory(networkstats) | ||
|
|
||
| add_subdirectory(tools) | ||
|
|
||
| if(ENABLE_UNIT_TESTING) | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| ############################################################################# | ||
| # If not stated otherwise in this file or this component's LICENSE file the | ||
| # following copyright and licenses apply: | ||
| # | ||
| # Copyright 2025 RDK Management | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
|
Check failure on line 7 in networkstats/CMakeLists.txt
|
||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| ############################################################################# | ||
| cmake_minimum_required(VERSION 3.3) | ||
|
|
||
| project(NetworkConnectionStats) | ||
|
|
||
| find_package(WPEFramework QUIET CONFIG) | ||
|
|
||
| message("Building ${PROJECT_NAME} Thunder Plugin (Internal-only, no external APIs)") | ||
|
|
||
| # Set project version | ||
| set(PROJECT_VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}) | ||
|
|
||
| # Build interface (ProxyStub generation) | ||
| add_subdirectory(interface) | ||
|
|
||
| # Build definition (JSON-RPC documentation) | ||
| #add_subdirectory(definition) | ||
|
|
||
| # Build plugin | ||
| add_subdirectory(plugin) | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This top-level option introduces
USE_TELEMETRYdefaulting to ON.USE_TELEMETRYis also used by other targets in this repo (e.g.,tools/upnp), so this change will implicitly enable telemetry (and add a hard dependency on T2) beyond NetworkConnectionStats. Consider defaulting this option to OFF, or using a more scoped option name (e.g.,NETWORKSTATS_USE_TELEMETRY) to avoid changing behavior of unrelated components.