1# Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. 2# Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without modification, 5# are permitted provided that the following conditions are met: 6# 7# 1. Redistributions of source code must retain the above copyright notice, this list of 8# conditions and the following disclaimer. 9# 10# 2. Redistributions in binary form must reproduce the above copyright notice, this list 11# of conditions and the following disclaimer in the documentation and/or other materials 12# provided with the distribution. 13# 14# 3. Neither the name of the copyright holder nor the names of its contributors may be used 15# to endorse or promote products derived from this software without specific prior written 16# permission. 17# 18# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 20# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 21# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 22# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 23# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 24# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 25# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 26# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 27# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 28# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29import("//kernel/liteos_a/liteos.gni") 30 31kernel_module("test_ipc") { 32 sources = [ "mux/It_los_mux.c" ] 33 34 sources += [ 35 "mux/full/It_los_mutex_006.c", 36 "mux/full/It_los_mutex_007.c", 37 "mux/full/It_los_mutex_008.c", 38 "mux/full/It_los_mutex_009.c", 39 "mux/full/It_los_mutex_010.c", 40 "mux/full/It_los_mutex_011.c", 41 "mux/full/It_los_mutex_012.c", 42 "mux/full/It_los_mutex_013.c", 43 "mux/full/It_los_mutex_015.c", 44 "mux/full/It_los_mutex_016.c", 45 "mux/full/It_los_mutex_017.c", 46 "mux/full/It_los_mutex_018.c", 47 "mux/full/It_los_mutex_020.c", 48 "mux/full/It_los_mutex_021.c", 49 "mux/full/It_los_mutex_025.c", 50 "mux/full/It_los_mutex_026.c", 51 "mux/full/It_los_mutex_027.c", 52 "mux/full/It_los_mutex_028.c", 53 "mux/full/It_los_mutex_029.c", 54 "mux/full/It_los_mutex_031.c", 55 "mux/full/It_los_mutex_035.c", 56 "mux/full/It_los_mutex_036.c", 57 "mux/full/It_los_mutex_037.c", 58 "mux/full/It_los_mutex_038.c", 59 "mux/full/It_los_mutex_039.c", 60 "mux/full/It_los_mutex_040.c", 61 "mux/full/It_los_mutex_041.c", 62 "mux/full/It_los_mutex_042.c", 63 "mux/full/It_los_mutex_043.c", 64 "mux/smoke/It_los_mutex_001.c", 65 "mux/smoke/It_los_mutex_002.c", 66 "mux/smoke/It_los_mutex_003.c", 67 "mux/smoke/It_los_mutex_004.c", 68 "mux/smp/It_smp_los_mux_001.c", 69 "mux/smp/It_smp_los_mux_002.c", 70 "mux/smp/It_smp_los_mux_003.c", 71 "mux/smp/It_smp_los_mux_004.c", 72 "mux/smp/It_smp_los_mux_005.c", 73 "mux/smp/It_smp_los_mux_006.c", 74 "mux/smp/It_smp_los_mux_007.c", 75 "mux/smp/It_smp_los_mux_2001.c", 76 "mux/smp/It_smp_los_mux_2002.c", 77 "mux/smp/It_smp_los_mux_2003.c", 78 "mux/smp/It_smp_los_mux_2004.c", 79 "mux/smp/It_smp_los_mux_2005.c", 80 "mux/smp/It_smp_los_mux_2006.c", 81 "mux/smp/It_smp_los_mux_2007.c", 82 "mux/smp/It_smp_los_mux_2008.c", 83 "mux/smp/It_smp_los_mux_2009.c", 84 "mux/smp/It_smp_los_mux_2010.c", 85 "mux/smp/It_smp_los_mux_2011.c", 86 "mux/smp/It_smp_los_mux_2012.c", 87 "mux/smp/It_smp_los_mux_2013.c", 88 "mux/smp/It_smp_los_mux_2014.c", 89 "mux/smp/It_smp_los_mux_2015.c", 90 "mux/smp/It_smp_los_mux_2016.c", 91 "mux/smp/It_smp_los_mux_2017.c", 92 "mux/smp/It_smp_los_mux_2018.c", 93 "mux/smp/It_smp_los_mux_2021.c", 94 "mux/smp/It_smp_los_mux_2022.c", 95 "mux/smp/It_smp_los_mux_2024.c", 96 "mux/smp/It_smp_los_mux_2025.c", 97 "mux/smp/It_smp_los_mux_2026.c", 98 "mux/smp/It_smp_los_mux_2027.c", 99 "mux/smp/It_smp_los_mux_2028.c", 100 "mux/smp/It_smp_los_mux_2029.c", 101 ] 102 include_dirs = [ 103 "sem", 104 "event", 105 "mux", 106 "queue", 107 ] 108 109 public_configs = 110 [ "$LITEOSTOPDIR/testsuites/kernel:liteos_kernel_test_public" ] 111} 112