-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathKconfig
More file actions
179 lines (142 loc) · 3.65 KB
/
Kconfig
File metadata and controls
179 lines (142 loc) · 3.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
#
# Copyright (C) 2020 Xiaomi Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
config ALOG
bool "Enable Android Log"
default n
select LIBC_PRINT_EXTENSION
config ALOG_LEVEL
int "Android Log level"
default 0 if NDEBUG
default 3 if !NDEBUG
depends on ALOG
range 0 6
---help---
ALOG_LEVEL is used to control the logging level for printing.
0:LOG_ALWAYS_FATAL
1:LOG_FATAL
2:LOG_ERROR
3:LOG_WARN
4:LOG_INFO
5:LOG_DEBUG
6:LOG_VERBOSE
config ATRACE
bool "Android Trace"
default n
---help---
Enable Android Trace.
config GDBUS
bool "Enable Vela GDBus"
depends on LIB_DBUS && LIBUV_EXTENSION
default y
---help---
Enable Vela GDBus
config KVDB
tristate "key-value database"
default n
if KVDB
choice
prompt "KVDB log level"
default KVDB_LOG_SLIENT
config KVDB_LOG_INFO
bool "KVDB_LOG_INFO"
config KVDB_LOG_WARN
bool "KVDB_LOG_WARN"
config KVDB_LOG_ERR
bool "KVDB_LOG_ERR"
config KVDB_LOG_SLIENT
bool "KVDB_LOG_SLIENT"
endchoice
config KVDB_PRIORITY
int "task priority"
default 100
config KVDB_STACKSIZE
int "stack size"
default 4096
config KVDB_DUMPLIST
bool "KVDB dump list"
default y
---help---
Kvd will dump all key-value when use getprop without key
config KVDB_SERVER
bool "KVDB server"
default n
---help---
Build kvdb in server mode. Operate database in a unified manner through the kvdb server
config KVDB_DIRECT
bool "Access KVDB directly"
depends on !KVDB_SERVER
---help---
Operate the database directly. Applicable to scenarios where cross-core communication is not required
if !KVDB_DIRECT
config KVDB_SERVER_CPUNAME
string "which cpu kvdb server runs on"
depends on !KVDB_SERVER
default "ap"
config KVDB_TIMEOUT_INTERVAL
int "transaction timeout interval(sec)"
default 0
endif
config KVDB_COMMIT_INTERVAL
int "commit time interval(sec)"
depends on KVDB_SERVER
default 5
config KVDB_BACKLOG_CONNS
int "backlog connections"
depends on KVDB_SERVER
default 32
if KVDB_DIRECT || KVDB_SERVER
config KVDB_SOURCE_PATH
string "database default value source path"
default "/etc/build.prop"
config KVDB_TEMPORARY_STORAGE
bool "enable non-persistent Key-value storage"
default !DEFAULT_SMALL
depends on FS_TMPFS
choice
prompt "the persistent storage method of Key-value"
default KVDB_UNQLITE
config KVDB_UNQLITE
bool "UNQLITE"
depends on UNQLITE
---help---
Configure the unqlite database to store Key-value.
config KVDB_NVS
bool "NVS"
depends on MTD_CONFIG_NAMED
---help---
Configure using Non-Volatile Storage to store Key-value
config KVDB_FILE
bool "FILE"
---help---
Configure using file to store Key-value
endchoice
config KVDB_PERSIST_PATH
string "persistent database path"
default "/data/persist.db" if KVDB_UNQLITE
default "/dev/config" if KVDB_NVS
config KVDB_TEMPORARY_PATH
string "non-persistent database directory path"
default "/tmp/db"
depends on KVDB_TEMPORARY_STORAGE
endif # KVDB_DIRECT || KVDB_SERVER
config KVDB_QEMU_PROPERTIES
tristate "Goldfish boot-properties service"
default n
depends on GOLDFISH_PIPE
---help---
Enable the Goldfish boot-properties service
endif # KVDB
osource "$APPSDIR/frameworks/system/utils/uv/Kconfig"