Skip to content

Commit

Permalink
Make HapticFeedback.vibrate's dependencies dependent on profile
Browse files Browse the repository at this point in the history
HapticFeedback.vibrate will only work on mobile and wearable profiles so
its dependencies should only be included in builds for these devices.

Signed-off-by: Pawel Wasowski <[email protected]>
  • Loading branch information
pwasowski2 committed Apr 27, 2021
1 parent 3ac9da8 commit b86b01c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions shell/platform/tizen/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ config("tizen_rootstrap_include_dirs") {
"$custom_sysroot/usr/include/elementary-1",
"$custom_sysroot/usr/include/ethumb-1",
"$custom_sysroot/usr/include/ethumb-client-1",
"$custom_sysroot/usr/include/feedback"
]

lib_dirs = [ "$custom_sysroot/usr/lib" ]
Expand Down Expand Up @@ -121,6 +122,20 @@ template("embedder_for_profile") {
"wayland-client",
]

if (target_name == "mobile") {
libs += [
"capi-base-common",
"feedback"
]
}

if (target_name == "wearable") {
libs += [
"capi-base-common",
"feedback"
]
}

defines = invoker.defines

if (use_evas_gl_renderer) {
Expand Down

0 comments on commit b86b01c

Please sign in to comment.