Skip to content

Commit 239ef48

Browse files
authored
[Tizen] Shink scope of capi-system-peripheral-io dep (project-chip#32048)
1 parent db09a64 commit 239ef48

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

config/tizen/chip-gn/platform/BUILD.gn

-5
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ import("${chip_root}/config/tizen/chip-gn/args.gni")
2020
import("${build_root}/config/linux/pkg_config.gni")
2121
import("${chip_root}/src/platform/device.gni")
2222

23-
pkg_config("capi-system-peripheral-io") {
24-
packages = [ "capi-system-peripheral-io" ]
25-
}
26-
2723
pkg_config("dlog") {
2824
packages = [ "dlog" ]
2925
}
@@ -73,7 +69,6 @@ source_set("tizen") {
7369
":glib",
7470
":capi-appfw-preference",
7571
":capi-system-info",
76-
":capi-system-peripheral-io",
7772
]
7873

7974
if (chip_mdns == "platform") {

examples/lighting-app/tizen/BUILD.gn

+8
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
import("//build_overrides/build.gni")
1516
import("//build_overrides/chip.gni")
1617
import("//build_overrides/tizen.gni")
1718

19+
import("${build_root}/config/linux/pkg_config.gni")
1820
import("${chip_root}/build/chip/linux/gdbus_library.gni")
1921
import("${chip_root}/build/chip/tools.gni")
2022
import("${chip_root}/src/app/common_flags.gni")
@@ -27,6 +29,10 @@ declare_args() {
2729
chip_examples_enable_ui = false
2830
}
2931

32+
pkg_config("capi-system-peripheral-io") {
33+
packages = [ "capi-system-peripheral-io" ]
34+
}
35+
3036
gdbus_library("chip-lighting-app-manager") {
3137
sources = [ "xml/DBusLightApp.xml" ]
3238
interface_prefix = "org.tizen.matter.example.lighting"
@@ -50,6 +56,8 @@ executable("chip-lighting-app") {
5056
"${chip_root}/src/lib",
5157
]
5258

59+
configs += [ ":capi-system-peripheral-io" ]
60+
5361
if (chip_examples_enable_ui) {
5462
sources += [ "src/DBusInterface.cpp" ]
5563
deps += [ ":chip-lighting-app-manager" ]

0 commit comments

Comments
 (0)