Skip to content

Commit

Permalink
Add ProxyStubGenerator options (#513)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebaszm authored and Divya-563 committed May 22, 2023
1 parent b5ade41 commit 676d3a4
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 8 deletions.
3 changes: 0 additions & 3 deletions package/wpe/Config.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# WPE Framework
source "package/wpe/wpeframework/Config.in"

# WPE Framework Generators
source "package/wpe/wpeframework-tools/Config.in"

# WPE WebKit
source "package/wpe/wpewebkit/Config.in"

Expand Down
5 changes: 0 additions & 5 deletions package/wpe/wpeframework-tools/Config.in

This file was deleted.

8 changes: 8 additions & 0 deletions package/wpe/wpeframework-tools/wpeframework-tools.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,12 @@ HOST_WPEFRAMEWORK_TOOLS_CONF_OPTS += \
-DGENERIC_CMAKE_MODULE_PATH=$(HOST_DIR)/share/cmake/Modules
endif

ifeq ($(BR2_PACKAGE_WPEFRAMEWORK_TOOLS_PROXYSTUB_SECURITY),y)
HOST_WPEFRAMEWORK_TOOLS_CONF_OPTS += -DPROXYSTUB_GENERATOR_ENABLE_SECURITY=ON
endif

ifeq ($(BR2_PACKAGE_WPEFRAMEWORK_TOOLS_PROXYSTUB_COHERENCY),y)
HOST_WPEFRAMEWORK_TOOLS_CONF_OPTS += -DPROXYSTUB_GENERATOR_ENABLE_COHERENCY=ON
endif

$(eval $(host-cmake-package))
16 changes: 16 additions & 0 deletions package/wpe/wpeframework/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,22 @@ config BR2_PACKAGE_WPEFRAMEWORK_PERFORMANCE_MONITOR
help
Enable the performance monitor

menu "ProxyStub Generator options"

config BR2_PACKAGE_WPEFRAMEWORK_TOOLS_PROXYSTUB_SECURITY
bool "Enable security checks in proxystubs"
default n
help
Adds security code to generated proxystub.

config BR2_PACKAGE_WPEFRAMEWORK_TOOLS_PROXYSTUB_COHERENCY
bool "Enable coherency checks in proxystubs"
default n
help
Adds coherency checking code to generated proxystubs.

endmenu

menu "Platform Device Groups"

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

0 comments on commit 676d3a4

Please sign in to comment.