BUILD.gn 4.7 KB
Newer Older
M
mamingshuai 已提交
1 2 3 4 5 6 7 8 9 10 11
# Copyright (C) 2021 Huawei Device Co., Ltd.
# 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
C
caochuan 已提交
12
# limitations under the License.
M
mamingshuai 已提交
13 14 15 16 17 18

import("//test/xts/tools/build/suite.gni")

group("multimedia") {
  testonly = true
  if (is_standard_system) {
19
    deps = [
Z
zhoushufang 已提交
20
      "audio/audio_cpp_standard:ActsOpenslesNdkTest",
L
lwx1121892 已提交
21 22 23 24
      "audio/audio_js_standard/AudioCapturer:audio_capturer_js_hap",
      "audio/audio_js_standard/AudioCapturerChangeInfo:audio_capturerchangeInfo_js_hap",
      "audio/audio_js_standard/AudioEventManagement:audio_eventmanagement_js_hap",
      "audio/audio_js_standard/AudioRendererChangeInfo:audio_rendererchangeInfo_js_hap",
L
new  
lwx1121892 已提交
25 26
      "audio/audio_js_standard/audioInterrupt:audio_interrupt_js_hap",
      "audio/audio_js_standard/audioInterruptRender:audioRenderInterrupt",
27
      "audio/audio_js_standard/audioManager:audio_manager_js_hap",
L
lwx1121892 已提交
28
      "audio/audio_js_standard/audioRenderer:audio_renderer_js_hap",
L
lwx1121892 已提交
29
      "audio/audio_js_standard/audioVoip:audio_voip_js_hap",
Q
qinliwen 已提交
30
      "avsession/avsession_js_standard/avsessionManager:avsession_framework_js_hap",
Q
qinliwen 已提交
31
      "camera/camera_js_standard:camera_framework_ets_hap",
J
JH C 已提交
32
      "image/image_js_standard/image:image_js_hap",
L
lxq 已提交
33
      "image/image_js_standard/imageColorspace:image_colorspace_js_hap",
F
fengzewu 已提交
34
      "image/image_js_standard/imageCreator:image_creator_js_hap",
J
JH C 已提交
35 36
      "image/image_js_standard/imageDecodeOptions:image_DecodeOptions_js_hap",
      "image/image_js_standard/imageExif:image_exif_js_hap",
C
caochuan 已提交
37
      "image/image_js_standard/imageGetImageProperty:image_getProperty_js_hap",
C
caochuan 已提交
38
      "image/image_js_standard/imageGif:image_gif_js_hap",
F
fengzewu 已提交
39
      "image/image_js_standard/imageModifyProperty:image_modifyProperty_js_hap",
F
fengzewu 已提交
40
      "image/image_js_standard/imagePacking:image_packing_js_hap",
L
lxq 已提交
41
      "image/image_js_standard/imagePixelMapFramework:image_pixelmapframework_js_hap",
C
caochuan 已提交
42
      "image/image_js_standard/imagePixelMapNDK:image_pixel_map_ndk_js_hap",
F
fengzewu 已提交
43
      "image/image_js_standard/imageRGBA:image_rgba_js_hap",
C
caochuan 已提交
44
      "image/image_js_standard/imageRaw:image_raw_js_hap",
F
fengzewu 已提交
45
      "image/image_js_standard/imageReceiver:image_receiver_js_hap",
C
caochuan 已提交
46
      "image/image_js_standard/imageReceiverMultiThread:image_receiver_multi_thread_hap",
C
caochuan 已提交
47
      "image/image_js_standard/imageReceiverNDK:image_receiver_ndk_js_hap",
C
caochuan 已提交
48
      "image/image_js_standard/imageSvg:image_svg_js_hap",
F
fengzewu 已提交
49
      "image/image_js_standard/imageWebp:image_webp_js_hap",
F
fengzewu 已提交
50
      "image/image_js_standard/imageYUV:image_yuv_js_hap",
F
fengzewu 已提交
51
      "image/image_js_standard/image_ndk_test:image_pixelmap_ndk_hap",
52
      "media/media_cpp_standard:ActsAvcodecNdkTest",
53
      "media/media_js_standard/audioPlayer:audio_player_js_hap",
T
tongtongdad 已提交
54
      "media/media_js_standard/audioRecorder:audio_recorder_js_hap",
C
chenjiahuan 已提交
55
      "media/media_js_standard/avPlayer:avplayer_js_hap",
L
lwx1121892 已提交
56
      "media/media_js_standard/avRecorder:av_recorder_js_hap",
57
      "media/media_js_standard/recorderFormat:recorder_format_js_hap",
T
tongtongdad 已提交
58
      "media/media_js_standard/videoPlayer:video_player_js_hap",
Y
yangbo 已提交
59
      "medialibrary/mediaLibrary_album:mediaLibrary_album_hap",
C
caochuan 已提交
60
      "medialibrary/mediaLibrary_base:mediaLibrary_base_hap",
Y
yangbo 已提交
61
      "medialibrary/mediaLibrary_favorite:mediaLibrary_favorite_hap",
C
caochuan 已提交
62
      "medialibrary/mediaLibrary_file:mediaLibrary_file_hap",
W
weiyufeng 已提交
63 64
      "medialibrary/mediaLibrary_fileAsset:mediaLibrary_fileAsset_hap",
      "medialibrary/mediaLibrary_fileKey:mediaLibrary_fileKey_hap",
Y
yangbo 已提交
65
      "medialibrary/mediaLibrary_fileResult:mediaLibrary_fileResult_hap",
C
caochuan 已提交
66 67
      "medialibrary/mediaLibrary_getExifNoLocation:mediaLibrary_getExifNolocation_hap",
      "medialibrary/mediaLibrary_getExiflocation:mediaLibrary_getExifLocation_hap",
C
caochuan 已提交
68
      "medialibrary/mediaLibrary_getThumbnail:mediaLibrary_getThumbnail_hap",
C
cc 已提交
69
      "medialibrary/mediaLibrary_mediafetchoptions:mediaLibrary_mediafetchoptions_hap",
Q
qlw 已提交
70
      "medialibrary/mediaLibrary_trash:mediaLibrary_trash_js_hap",
S
sharpshooter_t 已提交
71
    ]
M
mamingshuai 已提交
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
  } else {
    deps = [
      #"audio/audio_hap_test:MediaAudio_test_hap",
      #"audio/audiotubecore_hap_test:Audiotubecore_test_hap",
      #"camera/camera_hap_test:camera_test_hap",
      #"image/AVScannerKit_hap:avscanner_test_hap",
      #"media/media_hap_test:media_test_hap",
    ]
  }
}

#car
group("multimedia_ivi") {
  testonly = true
  deps = []
}

#tv
group("multimedia_intellitv") {
  testonly = true
  deps = []
}

#watch
group("multimedia_wearable") {
  testonly = true
  deps = []
}