提交 cc08a4d3 编写于 作者: L laiguizhong

修改BUILD.gn

Signed-off-by: Nlaiguizhong <laiguizhong@huawei.com>
上级 f050e16a
......@@ -9,7 +9,7 @@
# 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.
# limitations under the License.
import("//test/xts/tools/lite/build/suite_lite.gni")
......@@ -26,7 +26,7 @@ hctest_suite("ActsKitFwkApiTest") {
"//third_party/bounds_checking_function/include/",
"//third_party/mbedtls/include/",
"//third_party/cJSON/",
"//base/startup/syspara_lite/interfaces/kits/",
"//base/startup/init/interfaces/innerkits/include/syspara",
# dir for oem_auth_config.h and oem_auth_result_storage.h
"//vendor/kitframework/include/",
......
......@@ -9,7 +9,7 @@
# 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.
# limitations under the License.
import("//build/lite/config/component/lite_component.gni")
import("//build/lite/config/hap_pack.gni")
......@@ -24,7 +24,7 @@ executable("ActsKitFwkApiTest") {
"//third_party/cJSON",
"//third_party/mbedtls/include/",
"//third_party/bounds_checking_function/include/",
"//base/startup/syspara_lite/interfaces/kits/",
"//base/startup/init/interfaces/innerkits/include/syspara",
# dir for oem_auth_config.h and oem_auth_result_storage.h
"//vendor/kitframework/include/",
......
......@@ -59,9 +59,9 @@ hctest_suite("ActsSecurityHichainBasicDeps") {
]
if (ohos_kernel_type == "liteos_m") {
# liteos m
include_dirs += [ "//base/startup/syspara_lite/interfaces/kits" ]
include_dirs += [ "//base/startup/init/interfaces/innerkits/include/syspara" ]
deps +=
[ "//base/startup/syspara_lite/frameworks/parameter/src:sysparam" ]
[ "//base/startup/init/interfaces/innerkits:libbegetutil" ]
if (board_name == "rtl8720") {
cflags +=
[ "-isystem${ohos_root_path}/kernel/liteos_m/kal/posix/include" ]
......@@ -134,19 +134,19 @@ hctest_suite("ActsSecurityHichainBasicDeps") {
}
} else {
#liteos a or L1 linux
include_dirs += [ "//base/startup/syspara_lite/interfaces/kits" ]
include_dirs += [ "//base/startup/init/interfaces/innerkits/include/syspara" ]
deps +=
[ "//base/startup/syspara_lite/frameworks/parameter/src:sysparam" ]
[ "//base/startup/init/interfaces/innerkits:libbegetutil" ]
}
} else {
# linux
include_dirs += [
"//base/startup/syspara_lite/interfaces/innerkits/native/syspara/include",
"//base/startup/init/interfaces/innerkits/include/syspara",
"//base/security/device_auth/deps_adapter/os_adapter/interfaces/linux",
]
deps += [
"//base/startup/syspara_lite/interfaces/innerkits/native/syspara:syspara",
"//base/startup/init/interfaces/innerkits:libbegetutil",
]
}
}
......@@ -23,7 +23,7 @@ hctest_suite("ActsParameterTest") {
include_dirs = [
"src",
"//base/startup/syspara_lite/interfaces/kits",
"///base/startup/init/interfaces/innerkits/include/syspara",
]
cflags = [ "-Wno-error" ]
}
......@@ -19,10 +19,10 @@ hcpptest_suite("ActsParameterTest") {
include_dirs = [
"src",
"//base/startup/syspara_lite/interfaces/kits",
"//base/startup/init/interfaces/innerkits/include/syspara",
]
deps = [ "//base/startup/syspara_lite/frameworks/parameter:parameter" ]
deps = [ "//base/startup/init/interfaces/innerkits:libbegetutil" ]
cflags = [ "-Wno-error" ]
ldflags = [
"-lstdc++",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册