-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CORE-217 - Add menuconfig for modulization build. r=viral
- Loading branch information
Showing
9 changed files
with
165 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ bionic/ | |
bootable/ | ||
brcm_usrlib/ | ||
build/ | ||
config/ | ||
dalvik/ | ||
development/ | ||
device/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# | ||
# main Config.in file for H5OS configuration | ||
# | ||
|
||
mainmenu "H5OS Configuration" | ||
|
||
source configs/config.build | ||
source configs/config.components | ||
source configs/config.update | ||
source configs/config.debug | ||
|
||
# option to support enable/disable apps during build | ||
# source configs/config.apps | ||
|
||
endmenu | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
menu "Apps" | ||
|
||
config H5OS_TEST_STR | ||
string "Test string" | ||
default "test" | ||
|
||
config H5OS_ENABLE_DEBUG | ||
string "Enable Debug" | ||
default "echo" | ||
endmenu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
# menu "Build Options" | ||
|
||
choice | ||
|
||
prompt "Select Build Type" | ||
|
||
config H5OS_BUILD_ENG | ||
bool "Engineering build" | ||
|
||
config H5OS_BUILD_USERDEBUG | ||
bool "User debug build" | ||
|
||
config H5OS_BUILD_USER | ||
bool "User build" | ||
|
||
config VARIANT | ||
string | ||
default "eng" if H5OS_BUILD_ENG | ||
default "userdebug" if H5OS_BUILD_USERDEBUG | ||
default "user" if H5OS_BUILD_USER | ||
|
||
endchoice | ||
|
||
# endmenu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
|
||
menu "Functional Components" | ||
|
||
config H5OS_DISABLE_WEBRTC | ||
bool "Disable support for WebRTC" | ||
|
||
config H5OS_DISABLE_WEBSPEECH | ||
bool "Disable support for HTML Speech API" | ||
|
||
config H5OS_DISABLE_WEBSPEECH_TEST_BACKEND | ||
bool "Disable support for HTML Speech API Test Backend" | ||
|
||
config H5OS_DISABLE_WEBM | ||
bool "Disable support for WebM media (VP8 video and Vorbis audio)" | ||
|
||
config H5OS_DISABLE_FM | ||
bool "Disable FM API" | ||
|
||
config H5OS_DISABLE_CAMERA | ||
bool "Disable camera API" | ||
|
||
config H5OS_DISABLE_RIL | ||
bool "Disable Radio Interface Layer" | ||
|
||
config H5OS_DISABLE_BT | ||
bool "Disable Bluetooth API" | ||
|
||
config H5OS_DISABLE_NFC | ||
bool "Disable NFC API" | ||
|
||
config H5OS_DISABLE_RTSP | ||
bool "Disable support for RTSP" | ||
|
||
config H5OS_DISABLE_OMX_DECODER | ||
bool "Disable support for OMX decoder" | ||
|
||
config H5OS_DISABLE_OMX_ENCODER | ||
bool "Disable support for OMX encoder" | ||
|
||
config H5OS_DISABLE_AUDIO_OFFLOAD | ||
bool "Disable support for audio offload" | ||
|
||
config H5OS_DISABLE_SECUREELEMENT | ||
bool "Disable support for secure element" | ||
|
||
config H5OS_DISABLE_NECKO_WIFI | ||
bool "Disable necko wifi scanner" | ||
|
||
config H5OS_DISABLE_BUILD_CTYPES | ||
bool "Disable js-ctypes" | ||
|
||
config H5OS_DISABLE_SYNTH_PICO | ||
bool "Disable Pico Web Speech API" | ||
|
||
config H5OS_DISABLE_FMP4 | ||
bool "Disable support for in built Fragmented MP4 parsing" | ||
|
||
endmenu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
menu "Debug options" | ||
|
||
config H5OS_ENABLE_DEBUG | ||
bool "Enable building with debug info" | ||
|
||
config H5OS_ENABLE_DUMP_PAINTING | ||
bool "Enable paint debugging" | ||
|
||
config H5OS_ENABLE_VALGRIND | ||
bool "Enable Valgrind integration hooks" | ||
select H5OS_ENABLE_PROFILING | ||
|
||
config H5OS_ENABLE_PROFILING | ||
bool "Enable profiling compile flags" | ||
|
||
config H5OS_ENABLE_DMD | ||
bool "Enable DMD" | ||
|
||
config H5OS_DISABLE_OPTIMIZE | ||
bool "Disable compiler optimization" | ||
|
||
endmenu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
menu "Update options" | ||
|
||
config H5OS_ENABLE_UPDATER | ||
bool "Enable updater" | ||
default y if H5OS_BUILD_USER | ||
|
||
config H5OS_UPDATE_CHANNEL | ||
depends H5OS_ENABLE_UPDATER | ||
string "Update channel" | ||
default "default" | ||
|
||
endmenu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters