提交 aa579a14 编写于 作者: O openharmony_ci 提交者: Gitee

!554 测试当前未适配LiteOS-M,先关闭,适配完成后再放开

Merge pull request !554 from SimonLi/master
...@@ -8,16 +8,18 @@ ...@@ -8,16 +8,18 @@
# 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("//build/lite/config/subsystem/graphic/config.gni")
import("//build/lite/config/test.gni")
group("lite_graphic_ui_test") { if (ohos_kernel_type != "liteos_m") {
import("//build/lite/config/subsystem/graphic/config.gni")
import("//build/lite/config/test.gni")
group("lite_graphic_ui_test") {
if (ohos_build_type == "debug") { if (ohos_build_type == "debug") {
deps = [ ":graphic_test_ui_door" ] deps = [ ":graphic_test_ui_door" ]
} }
} }
config("graphic_test_config") { config("graphic_test_config") {
include_dirs = [ include_dirs = [
"../framework/include", "../framework/include",
"//foundation/graphic/ui/frameworks", "//foundation/graphic/ui/frameworks",
...@@ -34,9 +36,9 @@ config("graphic_test_config") { ...@@ -34,9 +36,9 @@ config("graphic_test_config") {
"-lstdc++", "-lstdc++",
"-Wl,-rpath-link=$ohos_root_path/$root_out_dir", "-Wl,-rpath-link=$ohos_root_path/$root_out_dir",
] ]
} }
if (ohos_build_type == "debug") { if (ohos_build_type == "debug") {
unittest("graphic_test_ui_door") { unittest("graphic_test_ui_door") {
output_extension = "bin" output_extension = "bin"
output_dir = "$root_out_dir/test/unittest/graphic" output_dir = "$root_out_dir/test/unittest/graphic"
...@@ -106,9 +108,11 @@ if (ohos_build_type == "debug") { ...@@ -106,9 +108,11 @@ if (ohos_build_type == "debug") {
if (enable_video_component) { if (enable_video_component) {
sources += [ "components/ui_video_unit_test.cpp" ] sources += [ "components/ui_video_unit_test.cpp" ]
deps += [ deps += [ "//foundation/multimedia/media_lite/frameworks/player_lite:player_lite" ]
"//foundation/multimedia/media_lite/frameworks/player_lite:player_lite", }
] }
} }
} else {
group("lite_graphic_ui_test") {
} }
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册