diff --git a/ril/v1_0/BUILD.gn b/ril/v1_0/BUILD.gn index a53e1e7a0906e007cb169a625d28aaf6bd7b6b5b..eec06a8642b684e365dcbf311f10e9b4ce4629c9 100644 --- a/ril/v1_0/BUILD.gn +++ b/ril/v1_0/BUILD.gn @@ -11,8 +11,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -DRIVERS_DIR = "../../.." -import("$DRIVERS_DIR/hdf_core/adapter/uhdf2/hdi.gni") +import("//build/config/components/hdi/hdi.gni") if (defined(ohos_lite)) { group("libril_proxy_1.0") { deps = [] diff --git a/ril/v1_1/BUILD.gn b/ril/v1_1/BUILD.gn index d218d7c9681af52ee72bd95e3b608876182d1823..f76172af374d1dfae2a1f1b8cbb71f9c5e60fb81 100644 --- a/ril/v1_1/BUILD.gn +++ b/ril/v1_1/BUILD.gn @@ -11,8 +11,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -DRIVERS_DIR = "../../.." -import("$DRIVERS_DIR/hdf_core/adapter/uhdf2/hdi.gni") +import("//build/config/components/hdi/hdi.gni") if (defined(ohos_lite)) { group("libril_proxy_1.1") { deps = [] diff --git a/ril/v1_2/BUILD.gn b/ril/v1_2/BUILD.gn index 5e0ad2e7b87866611764d72e87be9e1949ba4219..c9c8520c749708a511ab1e45371370c9f768583d 100644 --- a/ril/v1_2/BUILD.gn +++ b/ril/v1_2/BUILD.gn @@ -11,8 +11,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -DRIVERS_DIR = "../../.." -import("$DRIVERS_DIR/hdf_core/adapter/uhdf2/hdi.gni") +import("//build/config/components/hdi/hdi.gni") if (defined(ohos_lite)) { group("libril_proxy_1.2") { deps = [] diff --git a/ril/v1_3/BUILD.gn b/ril/v1_3/BUILD.gn index b7364167ae545f8ec075f0ab2c49ad31ad893440..86ed03f9b338a35da4c87106046e4f83e0735d69 100644 --- a/ril/v1_3/BUILD.gn +++ b/ril/v1_3/BUILD.gn @@ -11,8 +11,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -DRIVERS_DIR = "../../.." -import("$DRIVERS_DIR/hdf_core/adapter/uhdf2/hdi.gni") +import("//build/config/components/hdi/hdi.gni") if (defined(ohos_lite)) { group("libril_proxy_1.3") { deps = []