2023-05-06 07:37:15 +00:00
|
|
|
# Copyright (C) 2022-2023 Huawei Device Co., Ltd.
|
2022-04-22 02:12:08 +00:00
|
|
|
# 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.
|
|
|
|
|
2023-05-06 07:37:15 +00:00
|
|
|
import("../../../tools/build/suite.gni")
|
2022-04-22 02:12:08 +00:00
|
|
|
module_output_path = "hats/prctl"
|
|
|
|
|
|
|
|
ohos_moduletest_suite("HatsPrctlTest") {
|
|
|
|
module_out_path = module_output_path
|
2022-04-28 12:54:51 +00:00
|
|
|
sources = [ "./PrctlApiTest.cpp" ]
|
2022-07-29 13:21:24 +00:00
|
|
|
deps = [ "//third_party/googletest:gtest_main" ]
|
2023-05-06 07:37:15 +00:00
|
|
|
include_dirs = [ "include" ]
|
2022-04-22 02:12:08 +00:00
|
|
|
cflags = [ "-Wno-error" ]
|
2022-07-29 13:21:24 +00:00
|
|
|
external_deps = [ "c_utils:utils" ]
|
2022-08-12 09:54:17 +00:00
|
|
|
subsystem_name = "kernel"
|
2022-04-22 02:12:08 +00:00
|
|
|
}
|