Skip to content

Commit b86b01c

Browse files
committed
Make HapticFeedback.vibrate's dependencies dependent on profile
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]>
1 parent 3ac9da8 commit b86b01c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

shell/platform/tizen/BUILD.gn

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ config("tizen_rootstrap_include_dirs") {
6464
"$custom_sysroot/usr/include/elementary-1",
6565
"$custom_sysroot/usr/include/ethumb-1",
6666
"$custom_sysroot/usr/include/ethumb-client-1",
67+
"$custom_sysroot/usr/include/feedback"
6768
]
6869

6970
lib_dirs = [ "$custom_sysroot/usr/lib" ]
@@ -121,6 +122,20 @@ template("embedder_for_profile") {
121122
"wayland-client",
122123
]
123124

125+
if (target_name == "mobile") {
126+
libs += [
127+
"capi-base-common",
128+
"feedback"
129+
]
130+
}
131+
132+
if (target_name == "wearable") {
133+
libs += [
134+
"capi-base-common",
135+
"feedback"
136+
]
137+
}
138+
124139
defines = invoker.defines
125140

126141
if (use_evas_gl_renderer) {

0 commit comments

Comments
 (0)