diff --git a/ets_frontend_config.gni b/ets_frontend_config.gni index 67b7c47488d94c81458e8a02929004bbb57abe89..0711112352ae876cbc17b1b46a8b215d1b3a8aaf 100644 --- a/ets_frontend_config.gni +++ b/ets_frontend_config.gni @@ -11,20 +11,19 @@ # See the License for the specific language governing permissions and # limitations under the License. +import("//build/ohos.gni") +import("//build/test.gni") + if (!defined(ark_standalone_build)) { ark_standalone_build = false } +build_root = "//build" +ark_third_party_root = "//third_party" + if (!ark_standalone_build) { - build_root = "//build" - ark_third_party_root = "//third_party" toolchain_ohos = "$build_root/toolchain/ohos:ohos_clang_arm64" - import("$build_root/ohos.gni") -} else { - ark_third_party_root = "//build/third_party_gn" - import("$build_root/ark.gni") } -import("$build_root/test.gni") ets_frontend_root = "//arkcompiler/ets_frontend"