未验证 提交 8ed5c039 编写于 作者: O openharmony_ci 提交者: Gitee

!1945 L0启动全部模块支持no_log

Merge pull request !1945 from cheng_jinsong/L0_no_log
...@@ -99,6 +99,10 @@ if (defined(ohos_lite)) { ...@@ -99,6 +99,10 @@ if (defined(ohos_lite)) {
"__LITEOS_M__", "__LITEOS_M__",
] ]
if (config_ohos_startup_init_lite_no_log) {
defines += [ "INIT_NO_LOG" ]
}
include_dirs = include_common include_dirs = include_common
deps = [ deps = [
"//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_static", "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_static",
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import("//base/startup/init/begetd.gni")
config("exported_header_files") { config("exported_header_files") {
visibility = [ ":*" ] visibility = [ ":*" ]
include_dirs = [ include_dirs = [
...@@ -31,6 +31,9 @@ if (defined(ohos_lite)) { ...@@ -31,6 +31,9 @@ if (defined(ohos_lite)) {
"_GNU_SOURCE", "_GNU_SOURCE",
"OHOS_LITE", "OHOS_LITE",
] ]
if (config_ohos_startup_init_lite_no_log) {
defines += [ "INIT_NO_LOG" ]
}
} }
} else { } else {
import("//build/ohos.gni") import("//build/ohos.gni")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册