部件独立编译整改

Signed-off-by: kangchongtao <kangchongtao@huawei.com>
Change-Id: I6a7f359df32c7dc2e5ec207325d43b6a78f1a328
This commit is contained in:
kangchongtao 2024-06-08 03:12:35 +00:00
parent dc1b6c362b
commit b03b6ec89c
3 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,6 @@ config("ace_test_config") {
"//foundation/arkui/ace_engine/frameworks/core/*",
"//foundation/arkui/ace_engine/test/fuzztest/*",
"//foundation/arkui/ace_engine/test/unittest/*",
"//foundation/graphic/graphic_2d/rosen/test/render_service/*",
]
include_dirs = [
"$ace_root",

View File

@ -117,7 +117,7 @@ gen_obj("ark_component") {
snapshot_dep = []
}
if (!is_arkui_x) {
if (!is_arkui_x && (use_mac || use_mingw_win || use_linux)) {
gen_obj("js_mock_system_plugin") {
input = "$root_out_dir/obj/ide/tools/previewer/automock/dist/jsMockSystemPlugin.js"
if (use_mac || use_mingw_win || use_linux || target_os == "ios") {

View File

@ -114,6 +114,7 @@ template("build_component_ng") {
"//foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter",
"//foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/",
"//foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/export",
"//third_party/bounds_checking_function/include",
]
deps += [ "//third_party/skia:skia_canvaskit_static" ]
defines += [ "CROSS_PLATFORM" ]