Skip to content

Commit

Permalink
[Tizen] Shink scope of capi-system-peripheral-io dep (#32048)
Browse files Browse the repository at this point in the history
  • Loading branch information
gharveymn authored Feb 13, 2024
1 parent db09a64 commit 239ef48
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
5 changes: 0 additions & 5 deletions config/tizen/chip-gn/platform/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ import("${chip_root}/config/tizen/chip-gn/args.gni")
import("${build_root}/config/linux/pkg_config.gni")
import("${chip_root}/src/platform/device.gni")

pkg_config("capi-system-peripheral-io") {
packages = [ "capi-system-peripheral-io" ]
}

pkg_config("dlog") {
packages = [ "dlog" ]
}
Expand Down Expand Up @@ -73,7 +69,6 @@ source_set("tizen") {
":glib",
":capi-appfw-preference",
":capi-system-info",
":capi-system-peripheral-io",
]

if (chip_mdns == "platform") {
Expand Down
8 changes: 8 additions & 0 deletions examples/lighting-app/tizen/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import("//build_overrides/build.gni")
import("//build_overrides/chip.gni")
import("//build_overrides/tizen.gni")

import("${build_root}/config/linux/pkg_config.gni")
import("${chip_root}/build/chip/linux/gdbus_library.gni")
import("${chip_root}/build/chip/tools.gni")
import("${chip_root}/src/app/common_flags.gni")
Expand All @@ -27,6 +29,10 @@ declare_args() {
chip_examples_enable_ui = false
}

pkg_config("capi-system-peripheral-io") {
packages = [ "capi-system-peripheral-io" ]
}

gdbus_library("chip-lighting-app-manager") {
sources = [ "xml/DBusLightApp.xml" ]
interface_prefix = "org.tizen.matter.example.lighting"
Expand All @@ -50,6 +56,8 @@ executable("chip-lighting-app") {
"${chip_root}/src/lib",
]

configs += [ ":capi-system-peripheral-io" ]

if (chip_examples_enable_ui) {
sources += [ "src/DBusInterface.cpp" ]
deps += [ ":chip-lighting-app-manager" ]
Expand Down

0 comments on commit 239ef48

Please sign in to comment.