已开启
Guard UI dependencies of AppSpawnLiteTest #2943
hwyml创建于 8月28日
Guard UI dependencies of AppSpawnLiteTest #2943
已开启
共 1 个文件变更+9-6
| @@ -11,6 +11,7 @@ | |||
| 11 | # See the License for the specific language governing permissions and | 11 | # See the License for the specific language governing permissions and |
| 12 | # limitations under the License. | 12 | # limitations under the License. |
| 13 | import("//build/lite/config/component/lite_component.gni") | 13 | import("//build/lite/config/component/lite_component.gni") |
| 14 | +import("//build/lite/config/subsystem/aafwk/config.gni") | ||
| 14 | import("//build/lite/config/test.gni") | 15 | import("//build/lite/config/test.gni") |
| 15 | 16 | ||
| 16 | if (defined(ohos_lite)) { | 17 | if (defined(ohos_lite)) { |
| @@ -63,12 +64,14 @@ if (defined(ohos_lite)) { | |||
| 63 | "//third_party/bounds_checking_function:libsec_shared", | 64 | "//third_party/bounds_checking_function:libsec_shared", |
| 64 | ] | 65 | ] |
| 65 | 66 | ||
| 66 | - deps += [ | 67 | + if (ability_lite_enable_ohos_appexecfwk_feature_ability == true) { |
| 67 | - "//foundation/arkui/ace_engine_lite/frameworks:ace_lite", | 68 | + deps += [ |
| 68 | - "//foundation/arkui/ui_lite:ui_lite", | 69 | + "//foundation/arkui/ace_engine_lite/frameworks:ace_lite", |
| 69 | - "//foundation/graphic/graphic_utils_lite:utils_lite", | 70 | + "//foundation/arkui/ui_lite:ui_lite", |
| 70 | - "//foundation/graphic/surface_lite:surface_lite", | 71 | + "//foundation/graphic/graphic_utils_lite:utils_lite", |
| 71 | - ] | 72 | + "//foundation/graphic/surface_lite:surface_lite", |
| 73 | + ] | ||
| 74 | + } | ||
| 72 | 75 | ||
| 73 | if (ohos_kernel_type == "liteos_a") { | 76 | if (ohos_kernel_type == "liteos_a") { |
| 74 | deps += [ "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared" ] | 77 | deps += [ "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared" ] |