BUILD.gn 2.3 KB
Newer Older
M
mamingshuai 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# 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
# limitations under the License.

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

group("multimedia") {
  testonly = true
  if (is_standard_system) {
19 20
    deps = [
      "audio/audio_js_standard/audioManager:audio_manager_js_hap",
T
tongtongdad 已提交
21
      "camera/camera_js_standard:camera_standard_ets_hap",
Q
qinliwen 已提交
22 23 24
      "image/image_js_standard/image:image_js_hap",
      "image/image_js_standard/imageDecodeOptions:image_DecodeOptions_js_hap",
      "image/image_js_standard/imageExif:image_exif_js_hap",
25
      "media/media_js_standard/audioCodecFormat:audio_codec_format_js_hap",
T
tongtongdad 已提交
26
      "media/media_js_standard/audioDecoder:audio_decoder_js_hap",
27
      "media/media_js_standard/audioEncoder:audio_encoder_js_hap",
28
      "media/media_js_standard/audioPlayer:audio_player_js_hap",
T
tongtongdad 已提交
29
      "media/media_js_standard/audioRecorder:audio_recorder_js_hap",
30
      "media/media_js_standard/recorderFormat:recorder_format_js_hap",
31
      "media/media_js_standard/videoCodecFormat:video_codec_format_js_hap",
T
tongtongdad 已提交
32 33 34 35
      "media/media_js_standard/videoDecoder:video_decoder_js_hap",
      "media/media_js_standard/videoEncoder:video_encoder_js_hap",
      "media/media_js_standard/videoPlayer:video_player_js_hap",
      "media/media_js_standard/videoRecorder:video_recorder_js_hap",
P
panqiangbiao 已提交
36
      "medialibrary/mediaLibrary_js_standard:mediaLibrary_js_hap",
S
sharpshooter_t 已提交
37
    ]
M
mamingshuai 已提交
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
  } 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 = []
}