BUILD.gn 4.2 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 = [
L
lwx1121892 已提交
20 21 22 23
      "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 已提交
24 25
      "audio/audio_js_standard/audioInterrupt:audio_interrupt_js_hap",
      "audio/audio_js_standard/audioInterruptRender:audioRenderInterrupt",
26
      "audio/audio_js_standard/audioManager:audio_manager_js_hap",
L
lwx1121892 已提交
27
      "audio/audio_js_standard/audioRenderer:audio_renderer_js_hap",
L
lwx1121892 已提交
28
      "audio/audio_js_standard/audioVoip:audio_voip_js_hap",
J
JH C 已提交
29
      "image/image_js_standard/image:image_js_hap",
L
lxq 已提交
30
      "image/image_js_standard/imageColorspace:image_colorspace_js_hap",
F
fengzewu 已提交
31
      "image/image_js_standard/imageCreator:image_creator_js_hap",
J
JH C 已提交
32 33
      "image/image_js_standard/imageDecodeOptions:image_DecodeOptions_js_hap",
      "image/image_js_standard/imageExif:image_exif_js_hap",
C
caochuan 已提交
34
      "image/image_js_standard/imageGetImageProperty:image_getProperty_js_hap",
F
fengzewu 已提交
35
      "image/image_js_standard/imageModifyProperty:image_modifyProperty_js_hap",
F
fengzewu 已提交
36
      "image/image_js_standard/imagePacking:image_packing_js_hap",
L
lxq 已提交
37
      "image/image_js_standard/imagePixelMapFramework:image_pixelmapframework_js_hap",
C
caochuan 已提交
38
      "image/image_js_standard/imagePixelMapNDK:image_pixel_map_ndk_js_hap",
F
fengzewu 已提交
39
      "image/image_js_standard/imageRGBA:image_rgba_js_hap",
C
caochuan 已提交
40
      "image/image_js_standard/imageRaw:image_raw_js_hap",
F
fengzewu 已提交
41
      "image/image_js_standard/imageReceiver:image_receiver_js_hap",
F
fengzewu 已提交
42
      "image/image_js_standard/imageWebp:image_webp_js_hap",
F
fengzewu 已提交
43
      "image/image_js_standard/imageYUV:image_yuv_js_hap",
F
fengzewu 已提交
44
      "image/image_js_standard/image_ndk_test:image_pixelmap_ndk_hap",
45
      "media/media_cpp_standard:ActsAvcodecNdkTest",
46
      "media/media_js_standard/audioPlayer:audio_player_js_hap",
T
tongtongdad 已提交
47
      "media/media_js_standard/audioRecorder:audio_recorder_js_hap",
48
      "media/media_js_standard/recorderFormat:recorder_format_js_hap",
T
tongtongdad 已提交
49
      "media/media_js_standard/videoPlayer:video_player_js_hap",
C
chenjiahuan 已提交
50
      "media/media_js_standard/avPlayer:avplayer_js_hap",
Y
yangbo 已提交
51
      "medialibrary/mediaLibrary_album:mediaLibrary_album_hap",
C
caochuan 已提交
52
      "medialibrary/mediaLibrary_base:mediaLibrary_base_hap",
Y
yangbo 已提交
53
      "medialibrary/mediaLibrary_favorite:mediaLibrary_favorite_hap",
C
caochuan 已提交
54
      "medialibrary/mediaLibrary_file:mediaLibrary_file_hap",
W
weiyufeng 已提交
55 56
      "medialibrary/mediaLibrary_fileAsset:mediaLibrary_fileAsset_hap",
      "medialibrary/mediaLibrary_fileKey:mediaLibrary_fileKey_hap",
Y
yangbo 已提交
57
      "medialibrary/mediaLibrary_fileResult:mediaLibrary_fileResult_hap",
C
caochuan 已提交
58 59
      "medialibrary/mediaLibrary_getExifNoLocation:mediaLibrary_getExifNolocation_hap",
      "medialibrary/mediaLibrary_getExiflocation:mediaLibrary_getExifLocation_hap",
C
caochuan 已提交
60
      "medialibrary/mediaLibrary_getThumbnail:mediaLibrary_getThumbnail_hap",
C
cc 已提交
61
      "medialibrary/mediaLibrary_mediafetchoptions:mediaLibrary_mediafetchoptions_hap",
Q
qlw 已提交
62
      "medialibrary/mediaLibrary_trash:mediaLibrary_trash_js_hap",
S
sharpshooter_t 已提交
63
    ]
M
mamingshuai 已提交
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
  } 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 = []
}