diff --git a/components/backtrace/BUILD.gn b/components/backtrace/BUILD.gn index b4cb0a9e..9d1dc2b1 100644 --- a/components/backtrace/BUILD.gn +++ b/components/backtrace/BUILD.gn @@ -34,6 +34,6 @@ static_library("backtrace") { "../../kernel/include", "../../kernel/arch/include", "../../utils", - "../../third_party/bounds_checking_function/include", + "//third_party/bounds_checking_function/include", ] } diff --git a/components/cpup/BUILD.gn b/components/cpup/BUILD.gn index 70354d7e..bec51891 100644 --- a/components/cpup/BUILD.gn +++ b/components/cpup/BUILD.gn @@ -34,6 +34,6 @@ static_library("cpup") { "../../kernel/include", "../../kernel/arch/include", "../../utils", - "../../third_party/bounds_checking_function/include", + "//third_party/bounds_checking_function/include", ] } diff --git a/components/exchook/BUILD.gn b/components/exchook/BUILD.gn index 65b15890..fc93d9de 100644 --- a/components/exchook/BUILD.gn +++ b/components/exchook/BUILD.gn @@ -36,6 +36,6 @@ static_library("exchook") { "../../kernel/arch/include", "../../kernel/include", "../../utils", - "../../third_party/bounds_checking_function/include", + "//third_party/bounds_checking_function/include", ] } diff --git a/components/fs/fatfs/BUILD.gn b/components/fs/fatfs/BUILD.gn index 67a39496..ad2945c8 100644 --- a/components/fs/fatfs/BUILD.gn +++ b/components/fs/fatfs/BUILD.gn @@ -29,10 +29,10 @@ static_library("fatfs") { sources = [ - "../../../third_party/FatFs/source/diskio.c", - "../../../third_party/FatFs/source/ff.c", - "../../../third_party/FatFs/source/ffsystem.c", - "../../../third_party/FatFs/source/ffunicode.c", + "//third_party/FatFs/source/diskio.c", + "//third_party/FatFs/source/ff.c", + "//third_party/FatFs/source/ffsystem.c", + "//third_party/FatFs/source/ffunicode.c", "fatfs.c", "fs.c", ] @@ -43,7 +43,7 @@ static_library("fatfs") { "../../../utils", "../../../kal/cmsis", "../../../kal/posix/include", - "../../../third_party/bounds_checking_function/include", - "../../../third_party/FatFs/source/", + "//third_party/bounds_checking_function/include", + "//third_party/FatFs/source/", ] } diff --git a/kal/cmsis/BUILD.gn b/kal/cmsis/BUILD.gn index 56495a55..861efb9f 100644 --- a/kal/cmsis/BUILD.gn +++ b/kal/cmsis/BUILD.gn @@ -31,8 +31,8 @@ static_library("cmsis") { sources = [ "cmsis_liteos2.c" ] include_dirs = [ - "../../third_party/bounds_checking_function/include", - "../../third_party/cmsis/CMSIS/RTOS2/Include", + "//third_party/bounds_checking_function/include", + "//third_party/cmsis/CMSIS/RTOS2/Include", "../../kernel/include", "../../kernel/arch/include", "../../utils", diff --git a/kal/posix/BUILD.gn b/kal/posix/BUILD.gn index 41277fe9..cc8d577b 100644 --- a/kal/posix/BUILD.gn +++ b/kal/posix/BUILD.gn @@ -45,6 +45,6 @@ static_library("posix") { "../../kernel/arch/include", "../../kernel/include", "../../utils", - "../../third_party/bounds_checking_function/include", + "//third_party/bounds_checking_function/include", ] } diff --git a/kernel/BUILD.gn b/kernel/BUILD.gn index d86c5a8c..1853f638 100644 --- a/kernel/BUILD.gn +++ b/kernel/BUILD.gn @@ -47,7 +47,7 @@ static_library("kernel") { "../components/cpup", "../components/exchook", "../utils", - "../third_party/bounds_checking_function/include", + "//third_party/bounds_checking_function/include", ] if ("$board_cpu" == "cortex-m3") { diff --git a/kernel/arch/arm/cortex-m33/gcc/BUILD.gn b/kernel/arch/arm/cortex-m33/gcc/BUILD.gn index f5c33905..ccda24e2 100644 --- a/kernel/arch/arm/cortex-m33/gcc/BUILD.gn +++ b/kernel/arch/arm/cortex-m33/gcc/BUILD.gn @@ -40,6 +40,6 @@ static_library("arch") { "../../../../../kernel/arch/include", "../../../../../kernel/include", "../../../../../utils", - "../../../../../third_party/bounds_checking_function/include", + "//third_party/bounds_checking_function/include", ] } diff --git a/kernel/arch/arm/cortex-m4/gcc/BUILD.gn b/kernel/arch/arm/cortex-m4/gcc/BUILD.gn index aa74aaec..0f6717a0 100644 --- a/kernel/arch/arm/cortex-m4/gcc/BUILD.gn +++ b/kernel/arch/arm/cortex-m4/gcc/BUILD.gn @@ -41,6 +41,6 @@ static_library("arch") { "../../../../../kernel/arch/include", "../../../../../kernel/include", "../../../../../utils", - "../../../../../third_party/bounds_checking_function/include", + "//third_party/bounds_checking_function/include", ] } diff --git a/kernel/arch/arm/cortex-m7/gcc/BUILD.gn b/kernel/arch/arm/cortex-m7/gcc/BUILD.gn index f5c33905..ccda24e2 100644 --- a/kernel/arch/arm/cortex-m7/gcc/BUILD.gn +++ b/kernel/arch/arm/cortex-m7/gcc/BUILD.gn @@ -40,6 +40,6 @@ static_library("arch") { "../../../../../kernel/arch/include", "../../../../../kernel/include", "../../../../../utils", - "../../../../../third_party/bounds_checking_function/include", + "//third_party/bounds_checking_function/include", ] } diff --git a/kernel/arch/risc-v/riscv32/gcc/BUILD.gn b/kernel/arch/risc-v/riscv32/gcc/BUILD.gn index 4d9e0173..3bd1a1d2 100644 --- a/kernel/arch/risc-v/riscv32/gcc/BUILD.gn +++ b/kernel/arch/risc-v/riscv32/gcc/BUILD.gn @@ -41,6 +41,6 @@ static_library("arch") { "../../../../../kernel/include", "../../../../../utils", "asm", - "../../../../../third_party/bounds_checking_function/include", + "//third_party/bounds_checking_function/include", ] } diff --git a/utils/BUILD.gn b/utils/BUILD.gn index a913baf3..b4dcfa48 100644 --- a/utils/BUILD.gn +++ b/utils/BUILD.gn @@ -36,6 +36,7 @@ static_library("utils") { include_dirs = [ "../kernel/include", "../kernel/arch/include", - "../third_party/bounds_checking_function/include", + ".", + "//third_party/bounds_checking_function/include", ] }