Skip to content

Commit 676d3a4

Browse files
sebaszmDivya-563
authored andcommitted
Add ProxyStubGenerator options (#513)
1 parent b5ade41 commit 676d3a4

File tree

4 files changed

+24
-8
lines changed

4 files changed

+24
-8
lines changed

package/wpe/Config.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# WPE Framework
22
source "package/wpe/wpeframework/Config.in"
33

4-
# WPE Framework Generators
5-
source "package/wpe/wpeframework-tools/Config.in"
6-
74
# WPE WebKit
85
source "package/wpe/wpewebkit/Config.in"
96

package/wpe/wpeframework-tools/Config.in

Lines changed: 0 additions & 5 deletions
This file was deleted.

package/wpe/wpeframework-tools/wpeframework-tools.mk

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,12 @@ HOST_WPEFRAMEWORK_TOOLS_CONF_OPTS += \
1515
-DGENERIC_CMAKE_MODULE_PATH=$(HOST_DIR)/share/cmake/Modules
1616
endif
1717

18+
ifeq ($(BR2_PACKAGE_WPEFRAMEWORK_TOOLS_PROXYSTUB_SECURITY),y)
19+
HOST_WPEFRAMEWORK_TOOLS_CONF_OPTS += -DPROXYSTUB_GENERATOR_ENABLE_SECURITY=ON
20+
endif
21+
22+
ifeq ($(BR2_PACKAGE_WPEFRAMEWORK_TOOLS_PROXYSTUB_COHERENCY),y)
23+
HOST_WPEFRAMEWORK_TOOLS_CONF_OPTS += -DPROXYSTUB_GENERATOR_ENABLE_COHERENCY=ON
24+
endif
25+
1826
$(eval $(host-cmake-package))

package/wpe/wpeframework/Config.in

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,22 @@ config BR2_PACKAGE_WPEFRAMEWORK_PERFORMANCE_MONITOR
166166
help
167167
Enable the performance monitor
168168

169+
menu "ProxyStub Generator options"
170+
171+
config BR2_PACKAGE_WPEFRAMEWORK_TOOLS_PROXYSTUB_SECURITY
172+
bool "Enable security checks in proxystubs"
173+
default n
174+
help
175+
Adds security code to generated proxystub.
176+
177+
config BR2_PACKAGE_WPEFRAMEWORK_TOOLS_PROXYSTUB_COHERENCY
178+
bool "Enable coherency checks in proxystubs"
179+
default n
180+
help
181+
Adds coherency checking code to generated proxystubs.
182+
183+
endmenu
184+
169185
menu "Platform Device Groups"
170186

171187
comment "This should match the groups applied to the respective platforms device resourses."

0 commit comments

Comments
 (0)