13af6ab5fSopenharmony_ci# Copyright (c) 2021-2024 Huawei Device Co., Ltd.
23af6ab5fSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
33af6ab5fSopenharmony_ci# you may not use this file except in compliance with the License.
43af6ab5fSopenharmony_ci# You may obtain a copy of the License at
53af6ab5fSopenharmony_ci#
63af6ab5fSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0
73af6ab5fSopenharmony_ci#
83af6ab5fSopenharmony_ci# Unless required by applicable law or agreed to in writing, software
93af6ab5fSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
103af6ab5fSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
113af6ab5fSopenharmony_ci# See the License for the specific language governing permissions and
123af6ab5fSopenharmony_ci# limitations under the License.
133af6ab5fSopenharmony_ci
143af6ab5fSopenharmony_ciimport("//arkcompiler/runtime_core/static_core/ark_config.gni")
153af6ab5fSopenharmony_ci
163af6ab5fSopenharmony_ciif (ark_standalone_build) {
173af6ab5fSopenharmony_ci  import("$build_root/ark.gni")
183af6ab5fSopenharmony_ci} else {
193af6ab5fSopenharmony_ci  import("//build/ohos.gni")
203af6ab5fSopenharmony_ci}
213af6ab5fSopenharmony_ci
223af6ab5fSopenharmony_ciconfig("libes2panda_public_config") {
233af6ab5fSopenharmony_ci  include_dirs = [
243af6ab5fSopenharmony_ci    "$target_gen_dir",
253af6ab5fSopenharmony_ci    "$target_gen_dir/include",
263af6ab5fSopenharmony_ci    "$target_gen_dir/generated",
273af6ab5fSopenharmony_ci    "//third_party/icu/icu4c/source/common",
283af6ab5fSopenharmony_ci    "//third_party/icu/icu4c/source/i18n",
293af6ab5fSopenharmony_ci    "//third_party/icu/icu4c/source",
303af6ab5fSopenharmony_ci    "$ark_es2panda_root",
313af6ab5fSopenharmony_ci  ]
323af6ab5fSopenharmony_ci}
333af6ab5fSopenharmony_ci
343af6ab5fSopenharmony_cilibes2panda_sources = [
353af6ab5fSopenharmony_ci  "ast_verifier/ASTVerifier.cpp",
363af6ab5fSopenharmony_ci  "ast_verifier/arithmeticOperationValid.cpp",
373af6ab5fSopenharmony_ci  "ast_verifier/checkAbstractMethod.cpp",
383af6ab5fSopenharmony_ci  "ast_verifier/checkContext.cpp",
393af6ab5fSopenharmony_ci  "ast_verifier/checkInfiniteLoop.cpp",
403af6ab5fSopenharmony_ci  "ast_verifier/checkScopeDeclaration.cpp",
413af6ab5fSopenharmony_ci  "ast_verifier/everyChildHasValidParent.cpp",
423af6ab5fSopenharmony_ci  "ast_verifier/everyChildInParentRange.cpp",
433af6ab5fSopenharmony_ci  "ast_verifier/forLoopCorrectlyInitialized.cpp",
443af6ab5fSopenharmony_ci  "ast_verifier/getterSetterValidation.cpp",
453af6ab5fSopenharmony_ci  "ast_verifier/helpers.cpp",
463af6ab5fSopenharmony_ci  "ast_verifier/identifierHasVariable.cpp",
473af6ab5fSopenharmony_ci  "ast_verifier/importExportAccessValid.cpp",
483af6ab5fSopenharmony_ci  "ast_verifier/modifierAccessValid.cpp",
493af6ab5fSopenharmony_ci  "ast_verifier/nodeHasParent.cpp",
503af6ab5fSopenharmony_ci  "ast_verifier/nodeHasSourceRange.cpp",
513af6ab5fSopenharmony_ci  "ast_verifier/nodeHasType.cpp",
523af6ab5fSopenharmony_ci  "ast_verifier/referenceTypeAnnotationIsNull.cpp",
533af6ab5fSopenharmony_ci  "ast_verifier/sequenceExpressionHasLastType.cpp",
543af6ab5fSopenharmony_ci  "ast_verifier/variableHasEnclosingScope.cpp",
553af6ab5fSopenharmony_ci  "ast_verifier/variableHasScope.cpp",
563af6ab5fSopenharmony_ci  "ast_verifier/variableNameIdentifierNameSame.cpp",
573af6ab5fSopenharmony_ci  "checker/ASchecker.cpp",
583af6ab5fSopenharmony_ci  "checker/ETSAnalyzer.cpp",
593af6ab5fSopenharmony_ci  "checker/ETSAnalyzerHelpers.cpp",
603af6ab5fSopenharmony_ci  "checker/ETSAnalyzerUnreachable.cpp",
613af6ab5fSopenharmony_ci  "checker/ETSchecker.cpp",
623af6ab5fSopenharmony_ci  "checker/JSchecker.cpp",
633af6ab5fSopenharmony_ci  "checker/TSAnalyzer.cpp",
643af6ab5fSopenharmony_ci  "checker/TSAnalyzerUnreachable.cpp",
653af6ab5fSopenharmony_ci  "checker/TSchecker.cpp",
663af6ab5fSopenharmony_ci  "checker/checker.cpp",
673af6ab5fSopenharmony_ci  "checker/checkerContext.cpp",
683af6ab5fSopenharmony_ci  "checker/ets/aliveAnalyzer.cpp",
693af6ab5fSopenharmony_ci  "checker/ets/arithmetic.cpp",
703af6ab5fSopenharmony_ci  "checker/ets/assignAnalyzer.cpp",
713af6ab5fSopenharmony_ci  "checker/ets/baseAnalyzer.cpp",
723af6ab5fSopenharmony_ci  "checker/ets/boxingConverter.cpp",
733af6ab5fSopenharmony_ci  "checker/ets/castingContext.cpp",
743af6ab5fSopenharmony_ci  "checker/ets/conversion.cpp",
753af6ab5fSopenharmony_ci  "checker/ets/dynamic.cpp",
763af6ab5fSopenharmony_ci  "checker/ets/dynamic/dynamicCall.cpp",
773af6ab5fSopenharmony_ci  "checker/ets/etsWarningAnalyzer.cpp",
783af6ab5fSopenharmony_ci  "checker/ets/function.cpp",
793af6ab5fSopenharmony_ci  "checker/ets/helpers.cpp",
803af6ab5fSopenharmony_ci  "checker/ets/narrowingConverter.cpp",
813af6ab5fSopenharmony_ci  "checker/ets/narrowingWideningConverter.cpp",
823af6ab5fSopenharmony_ci  "checker/ets/object.cpp",
833af6ab5fSopenharmony_ci  "checker/ets/primitiveWrappers.cpp",
843af6ab5fSopenharmony_ci  "checker/ets/typeCheckingHelpers.cpp",
853af6ab5fSopenharmony_ci  "checker/ets/typeConverter.cpp",
863af6ab5fSopenharmony_ci  "checker/ets/typeCreation.cpp",
873af6ab5fSopenharmony_ci  "checker/ets/typeRelationContext.cpp",
883af6ab5fSopenharmony_ci  "checker/ets/unboxingConverter.cpp",
893af6ab5fSopenharmony_ci  "checker/ets/utilityTypeHandlers.cpp",
903af6ab5fSopenharmony_ci  "checker/ets/validateHelpers.cpp",
913af6ab5fSopenharmony_ci  "checker/ets/wideningConverter.cpp",
923af6ab5fSopenharmony_ci  "checker/ts/binaryLikeExpression.cpp",
933af6ab5fSopenharmony_ci  "checker/ts/destructuringContext.cpp",
943af6ab5fSopenharmony_ci  "checker/ts/function.cpp",
953af6ab5fSopenharmony_ci  "checker/ts/helpers.cpp",
963af6ab5fSopenharmony_ci  "checker/ts/object.cpp",
973af6ab5fSopenharmony_ci  "checker/ts/typeCreation.cpp",
983af6ab5fSopenharmony_ci  "checker/ts/typeElaborationContext.cpp",
993af6ab5fSopenharmony_ci  "checker/ts/util.cpp",
1003af6ab5fSopenharmony_ci  "checker/typeChecker/TypeChecker.cpp",
1013af6ab5fSopenharmony_ci  "checker/types/ets/byteType.cpp",
1023af6ab5fSopenharmony_ci  "checker/types/ets/charType.cpp",
1033af6ab5fSopenharmony_ci  "checker/types/ets/doubleType.cpp",
1043af6ab5fSopenharmony_ci  "checker/types/ets/etsArrayType.cpp",
1053af6ab5fSopenharmony_ci  "checker/types/ets/etsAsyncFuncReturnType.cpp",
1063af6ab5fSopenharmony_ci  "checker/types/ets/etsBigIntType.cpp",
1073af6ab5fSopenharmony_ci  "checker/types/ets/etsBooleanType.cpp",
1083af6ab5fSopenharmony_ci  "checker/types/ets/etsDynamicType.cpp",
1093af6ab5fSopenharmony_ci  "checker/types/ets/etsEnumType.cpp",
1103af6ab5fSopenharmony_ci  "checker/types/ets/etsExtensionFuncHelperType.cpp",
1113af6ab5fSopenharmony_ci  "checker/types/ets/etsFunctionType.cpp",
1123af6ab5fSopenharmony_ci  "checker/types/ets/etsNonNullishType.cpp",
1133af6ab5fSopenharmony_ci  "checker/types/ets/etsNullishTypes.cpp",
1143af6ab5fSopenharmony_ci  "checker/types/ets/etsObjectType.cpp",
1153af6ab5fSopenharmony_ci  "checker/types/ets/etsReadonlyType.cpp",
1163af6ab5fSopenharmony_ci  "checker/types/ets/etsStringType.cpp",
1173af6ab5fSopenharmony_ci  "checker/types/ets/etsTupleType.cpp",
1183af6ab5fSopenharmony_ci  "checker/types/ets/etsTypeParameter.cpp",
1193af6ab5fSopenharmony_ci  "checker/types/ets/etsUnionType.cpp",
1203af6ab5fSopenharmony_ci  "checker/types/ets/etsVoidType.cpp",
1213af6ab5fSopenharmony_ci  "checker/types/ets/floatType.cpp",
1223af6ab5fSopenharmony_ci  "checker/types/ets/intType.cpp",
1233af6ab5fSopenharmony_ci  "checker/types/ets/longType.cpp",
1243af6ab5fSopenharmony_ci  "checker/types/ets/shortType.cpp",
1253af6ab5fSopenharmony_ci  "checker/types/ets/wildcardType.cpp",
1263af6ab5fSopenharmony_ci  "checker/types/globalTypesHolder.cpp",
1273af6ab5fSopenharmony_ci  "checker/types/signature.cpp",
1283af6ab5fSopenharmony_ci  "checker/types/ts/anyType.cpp",
1293af6ab5fSopenharmony_ci  "checker/types/ts/arrayType.cpp",
1303af6ab5fSopenharmony_ci  "checker/types/ts/bigintLiteralType.cpp",
1313af6ab5fSopenharmony_ci  "checker/types/ts/bigintType.cpp",
1323af6ab5fSopenharmony_ci  "checker/types/ts/booleanLiteralType.cpp",
1333af6ab5fSopenharmony_ci  "checker/types/ts/booleanType.cpp",
1343af6ab5fSopenharmony_ci  "checker/types/ts/constructorType.cpp",
1353af6ab5fSopenharmony_ci  "checker/types/ts/enumLiteralType.cpp",
1363af6ab5fSopenharmony_ci  "checker/types/ts/enumType.cpp",
1373af6ab5fSopenharmony_ci  "checker/types/ts/functionType.cpp",
1383af6ab5fSopenharmony_ci  "checker/types/ts/indexInfo.cpp",
1393af6ab5fSopenharmony_ci  "checker/types/ts/interfaceType.cpp",
1403af6ab5fSopenharmony_ci  "checker/types/ts/neverType.cpp",
1413af6ab5fSopenharmony_ci  "checker/types/ts/nonPrimitiveType.cpp",
1423af6ab5fSopenharmony_ci  "checker/types/ts/nullType.cpp",
1433af6ab5fSopenharmony_ci  "checker/types/ts/numberLiteralType.cpp",
1443af6ab5fSopenharmony_ci  "checker/types/ts/numberType.cpp",
1453af6ab5fSopenharmony_ci  "checker/types/ts/objectDescriptor.cpp",
1463af6ab5fSopenharmony_ci  "checker/types/ts/objectLiteralType.cpp",
1473af6ab5fSopenharmony_ci  "checker/types/ts/objectType.cpp",
1483af6ab5fSopenharmony_ci  "checker/types/ts/stringLiteralType.cpp",
1493af6ab5fSopenharmony_ci  "checker/types/ts/stringType.cpp",
1503af6ab5fSopenharmony_ci  "checker/types/ts/tupleType.cpp",
1513af6ab5fSopenharmony_ci  "checker/types/ts/typeParameter.cpp",
1523af6ab5fSopenharmony_ci  "checker/types/ts/typeReference.cpp",
1533af6ab5fSopenharmony_ci  "checker/types/ts/undefinedType.cpp",
1543af6ab5fSopenharmony_ci  "checker/types/ts/unionType.cpp",
1553af6ab5fSopenharmony_ci  "checker/types/ts/unknownType.cpp",
1563af6ab5fSopenharmony_ci  "checker/types/ts/voidType.cpp",
1573af6ab5fSopenharmony_ci  "checker/types/type.cpp",
1583af6ab5fSopenharmony_ci  "checker/types/typeRelation.cpp",
1593af6ab5fSopenharmony_ci  "compiler/base/catchTable.cpp",
1603af6ab5fSopenharmony_ci  "compiler/base/condition.cpp",
1613af6ab5fSopenharmony_ci  "compiler/base/destructuring.cpp",
1623af6ab5fSopenharmony_ci  "compiler/base/hoisting.cpp",
1633af6ab5fSopenharmony_ci  "compiler/base/iterators.cpp",
1643af6ab5fSopenharmony_ci  "compiler/base/lexenv.cpp",
1653af6ab5fSopenharmony_ci  "compiler/base/literals.cpp",
1663af6ab5fSopenharmony_ci  "compiler/base/lreference.cpp",
1673af6ab5fSopenharmony_ci  "compiler/base/optionalChain.cpp",
1683af6ab5fSopenharmony_ci  "compiler/core/ETSCompiler.cpp",
1693af6ab5fSopenharmony_ci  "compiler/core/ETSCompilerUnrechable.cpp",
1703af6ab5fSopenharmony_ci  "compiler/core/ETSGen.cpp",
1713af6ab5fSopenharmony_ci  "compiler/core/ETSemitter.cpp",
1723af6ab5fSopenharmony_ci  "compiler/core/ETSfunction.cpp",
1733af6ab5fSopenharmony_ci  "compiler/core/JSCompiler.cpp",
1743af6ab5fSopenharmony_ci  "compiler/core/JSCompilerUnreachable.cpp",
1753af6ab5fSopenharmony_ci  "compiler/core/JSemitter.cpp",
1763af6ab5fSopenharmony_ci  "compiler/core/codeGen.cpp",
1773af6ab5fSopenharmony_ci  "compiler/core/compileJob.cpp",
1783af6ab5fSopenharmony_ci  "compiler/core/compileQueue.cpp",
1793af6ab5fSopenharmony_ci  "compiler/core/compilerImpl.cpp",
1803af6ab5fSopenharmony_ci  "compiler/core/dynamicContext.cpp",
1813af6ab5fSopenharmony_ci  "compiler/core/emitter.cpp",
1823af6ab5fSopenharmony_ci  "compiler/core/envScope.cpp",
1833af6ab5fSopenharmony_ci  "compiler/core/function.cpp",
1843af6ab5fSopenharmony_ci  "compiler/core/labelTarget.cpp",
1853af6ab5fSopenharmony_ci  "compiler/core/moduleContext.cpp",
1863af6ab5fSopenharmony_ci  "compiler/core/pandagen.cpp",
1873af6ab5fSopenharmony_ci  "compiler/core/programElement.cpp",
1883af6ab5fSopenharmony_ci  "compiler/core/regAllocator.cpp",
1893af6ab5fSopenharmony_ci  "compiler/core/regScope.cpp",
1903af6ab5fSopenharmony_ci  "compiler/core/regSpiller.cpp",
1913af6ab5fSopenharmony_ci  "compiler/core/switchBuilder.cpp",
1923af6ab5fSopenharmony_ci  "compiler/core/targetTypeContext.cpp",
1933af6ab5fSopenharmony_ci  "compiler/core/vReg.cpp",
1943af6ab5fSopenharmony_ci  "compiler/debugger/debuginfoDumper.cpp",
1953af6ab5fSopenharmony_ci  "compiler/function/asyncFunctionBuilder.cpp",
1963af6ab5fSopenharmony_ci  "compiler/function/asyncGeneratorFunctionBuilder.cpp",
1973af6ab5fSopenharmony_ci  "compiler/function/functionBuilder.cpp",
1983af6ab5fSopenharmony_ci  "compiler/function/generatorFunctionBuilder.cpp",
1993af6ab5fSopenharmony_ci  "compiler/lowering/checkerPhase.cpp",
2003af6ab5fSopenharmony_ci  "compiler/lowering/ets/ambientLowering.cpp",
2013af6ab5fSopenharmony_ci  "compiler/lowering/ets/bigintLowering.cpp",
2023af6ab5fSopenharmony_ci  "compiler/lowering/ets/boxingForLocals.cpp",
2033af6ab5fSopenharmony_ci  "compiler/lowering/ets/capturedVariables.cpp",
2043af6ab5fSopenharmony_ci  "compiler/lowering/ets/constStringToCharLowering.cpp",
2053af6ab5fSopenharmony_ci  "compiler/lowering/ets/defaultParameterLowering.cpp",
2063af6ab5fSopenharmony_ci  "compiler/lowering/ets/enumLowering.cpp",
2073af6ab5fSopenharmony_ci  "compiler/lowering/ets/enumPostCheckLowering.cpp",
2083af6ab5fSopenharmony_ci  "compiler/lowering/ets/expandBrackets.cpp",
2093af6ab5fSopenharmony_ci  "compiler/lowering/ets/expressionLambdaLowering.cpp",
2103af6ab5fSopenharmony_ci  "compiler/lowering/ets/genericBridgesLowering.cpp",
2113af6ab5fSopenharmony_ci  "compiler/lowering/ets/interfaceObjectLiteralLowering.cpp",
2123af6ab5fSopenharmony_ci  "compiler/lowering/ets/interfacePropertyDeclarations.cpp",
2133af6ab5fSopenharmony_ci  "compiler/lowering/ets/lambdaLowering.cpp",
2143af6ab5fSopenharmony_ci  "compiler/lowering/ets/localClassLowering.cpp",
2153af6ab5fSopenharmony_ci  "compiler/lowering/ets/objectIndexAccess.cpp",
2163af6ab5fSopenharmony_ci  "compiler/lowering/ets/objectIterator.cpp",
2173af6ab5fSopenharmony_ci  "compiler/lowering/ets/objectLiteralLowering.cpp",
2183af6ab5fSopenharmony_ci  "compiler/lowering/ets/opAssignment.cpp",
2193af6ab5fSopenharmony_ci  "compiler/lowering/ets/optionalLowering.cpp",
2203af6ab5fSopenharmony_ci  "compiler/lowering/ets/packageImplicitImport.cpp",
2213af6ab5fSopenharmony_ci  "compiler/lowering/ets/partialExportClassGen.cpp",
2223af6ab5fSopenharmony_ci  "compiler/lowering/ets/promiseVoid.cpp",
2233af6ab5fSopenharmony_ci  "compiler/lowering/ets/recordLowering.cpp",
2243af6ab5fSopenharmony_ci  "compiler/lowering/ets/spreadLowering.cpp",
2253af6ab5fSopenharmony_ci  "compiler/lowering/ets/stringComparison.cpp",
2263af6ab5fSopenharmony_ci  "compiler/lowering/ets/stringConstructorLowering.cpp",
2273af6ab5fSopenharmony_ci  "compiler/lowering/ets/structLowering.cpp",
2283af6ab5fSopenharmony_ci  "compiler/lowering/ets/topLevelStmts/globalClassHandler.cpp",
2293af6ab5fSopenharmony_ci  "compiler/lowering/ets/topLevelStmts/globalDeclTransformer.cpp",
2303af6ab5fSopenharmony_ci  "compiler/lowering/ets/topLevelStmts/importExportDecls.cpp",
2313af6ab5fSopenharmony_ci  "compiler/lowering/ets/topLevelStmts/topLevelStmts.cpp",
2323af6ab5fSopenharmony_ci  "compiler/lowering/ets/tupleLowering.cpp",
2333af6ab5fSopenharmony_ci  "compiler/lowering/ets/unionLowering.cpp",
2343af6ab5fSopenharmony_ci  "compiler/lowering/phase.cpp",
2353af6ab5fSopenharmony_ci  "compiler/lowering/plugin_phase.cpp",
2363af6ab5fSopenharmony_ci  "compiler/lowering/resolveIdentifiers.cpp",
2373af6ab5fSopenharmony_ci  "compiler/lowering/scopesInit/savedBindingsCtx.cpp",
2383af6ab5fSopenharmony_ci  "compiler/lowering/scopesInit/scopesInitPhase.cpp",
2393af6ab5fSopenharmony_ci  "compiler/lowering/util.cpp",
2403af6ab5fSopenharmony_ci  "es2panda.cpp",
2413af6ab5fSopenharmony_ci  "evaluate/debugInfoDeserialization/classBuilder.cpp",
2423af6ab5fSopenharmony_ci  "evaluate/debugInfoDeserialization/debugInfoDeserializer.cpp",
2433af6ab5fSopenharmony_ci  "evaluate/debugInfoDeserialization/inheritanceResolution.cpp",
2443af6ab5fSopenharmony_ci  "evaluate/debugInfoDeserialization/methodBuilder.cpp",
2453af6ab5fSopenharmony_ci  "evaluate/debugInfoStorage.cpp",
2463af6ab5fSopenharmony_ci  "evaluate/entityDeclarator.cpp",
2473af6ab5fSopenharmony_ci  "evaluate/evaluateContext.cpp",
2483af6ab5fSopenharmony_ci  "evaluate/helpers.cpp",
2493af6ab5fSopenharmony_ci  "evaluate/irCheckHelper.cpp",
2503af6ab5fSopenharmony_ci  "evaluate/pathResolver.cpp",
2513af6ab5fSopenharmony_ci  "evaluate/proxyProgramsCache.cpp",
2523af6ab5fSopenharmony_ci  "evaluate/scopedDebugInfoPlugin.cpp",
2533af6ab5fSopenharmony_ci  "ir/as/namedType.cpp",
2543af6ab5fSopenharmony_ci  "ir/as/prefixAssertionExpression.cpp",
2553af6ab5fSopenharmony_ci  "ir/astDump.cpp",
2563af6ab5fSopenharmony_ci  "ir/astNode.cpp",
2573af6ab5fSopenharmony_ci  "ir/base/catchClause.cpp",
2583af6ab5fSopenharmony_ci  "ir/base/classDefinition.cpp",
2593af6ab5fSopenharmony_ci  "ir/base/classElement.cpp",
2603af6ab5fSopenharmony_ci  "ir/base/classProperty.cpp",
2613af6ab5fSopenharmony_ci  "ir/base/classStaticBlock.cpp",
2623af6ab5fSopenharmony_ci  "ir/base/decorator.cpp",
2633af6ab5fSopenharmony_ci  "ir/base/metaProperty.cpp",
2643af6ab5fSopenharmony_ci  "ir/base/methodDefinition.cpp",
2653af6ab5fSopenharmony_ci  "ir/base/namespaceDefinition.cpp",
2663af6ab5fSopenharmony_ci  "ir/base/property.cpp",
2673af6ab5fSopenharmony_ci  "ir/base/scriptFunction.cpp",
2683af6ab5fSopenharmony_ci  "ir/base/scriptFunctionSignature.cpp",
2693af6ab5fSopenharmony_ci  "ir/base/spreadElement.cpp",
2703af6ab5fSopenharmony_ci  "ir/base/templateElement.cpp",
2713af6ab5fSopenharmony_ci  "ir/base/tsIndexSignature.cpp",
2723af6ab5fSopenharmony_ci  "ir/base/tsMethodSignature.cpp",
2733af6ab5fSopenharmony_ci  "ir/base/tsPropertySignature.cpp",
2743af6ab5fSopenharmony_ci  "ir/base/tsSignatureDeclaration.cpp",
2753af6ab5fSopenharmony_ci  "ir/ets/etsClassLiteral.cpp",
2763af6ab5fSopenharmony_ci  "ir/ets/etsFunctionType.cpp",
2773af6ab5fSopenharmony_ci  "ir/ets/etsImportSource.cpp",
2783af6ab5fSopenharmony_ci  "ir/ets/etsLaunchExpression.cpp",
2793af6ab5fSopenharmony_ci  "ir/ets/etsNewArrayInstanceExpression.cpp",
2803af6ab5fSopenharmony_ci  "ir/ets/etsNewClassInstanceExpression.cpp",
2813af6ab5fSopenharmony_ci  "ir/ets/etsNewMultiDimArrayInstanceExpression.cpp",
2823af6ab5fSopenharmony_ci  "ir/ets/etsNullishTypes.cpp",
2833af6ab5fSopenharmony_ci  "ir/ets/etsPackageDeclaration.cpp",
2843af6ab5fSopenharmony_ci  "ir/ets/etsParameterExpression.cpp",
2853af6ab5fSopenharmony_ci  "ir/ets/etsPrimitiveType.cpp",
2863af6ab5fSopenharmony_ci  "ir/ets/etsReExportDeclaration.cpp",
2873af6ab5fSopenharmony_ci  "ir/ets/etsScript.cpp",
2883af6ab5fSopenharmony_ci  "ir/ets/etsStringLiteralType.cpp",
2893af6ab5fSopenharmony_ci  "ir/ets/etsStructDeclaration.cpp",
2903af6ab5fSopenharmony_ci  "ir/ets/etsTuple.cpp",
2913af6ab5fSopenharmony_ci  "ir/ets/etsTypeReference.cpp",
2923af6ab5fSopenharmony_ci  "ir/ets/etsTypeReferencePart.cpp",
2933af6ab5fSopenharmony_ci  "ir/ets/etsUnionType.cpp",
2943af6ab5fSopenharmony_ci  "ir/ets/etsWildcardType.cpp",
2953af6ab5fSopenharmony_ci  "ir/expression.cpp",
2963af6ab5fSopenharmony_ci  "ir/expressions/arrayExpression.cpp",
2973af6ab5fSopenharmony_ci  "ir/expressions/arrowFunctionExpression.cpp",
2983af6ab5fSopenharmony_ci  "ir/expressions/assignmentExpression.cpp",
2993af6ab5fSopenharmony_ci  "ir/expressions/awaitExpression.cpp",
3003af6ab5fSopenharmony_ci  "ir/expressions/binaryExpression.cpp",
3013af6ab5fSopenharmony_ci  "ir/expressions/blockExpression.cpp",
3023af6ab5fSopenharmony_ci  "ir/expressions/callExpression.cpp",
3033af6ab5fSopenharmony_ci  "ir/expressions/chainExpression.cpp",
3043af6ab5fSopenharmony_ci  "ir/expressions/classExpression.cpp",
3053af6ab5fSopenharmony_ci  "ir/expressions/conditionalExpression.cpp",
3063af6ab5fSopenharmony_ci  "ir/expressions/directEvalExpression.cpp",
3073af6ab5fSopenharmony_ci  "ir/expressions/dummyNode.cpp",
3083af6ab5fSopenharmony_ci  "ir/expressions/functionExpression.cpp",
3093af6ab5fSopenharmony_ci  "ir/expressions/identifier.cpp",
3103af6ab5fSopenharmony_ci  "ir/expressions/importExpression.cpp",
3113af6ab5fSopenharmony_ci  "ir/expressions/literal.cpp",
3123af6ab5fSopenharmony_ci  "ir/expressions/literals/bigIntLiteral.cpp",
3133af6ab5fSopenharmony_ci  "ir/expressions/literals/booleanLiteral.cpp",
3143af6ab5fSopenharmony_ci  "ir/expressions/literals/charLiteral.cpp",
3153af6ab5fSopenharmony_ci  "ir/expressions/literals/nullLiteral.cpp",
3163af6ab5fSopenharmony_ci  "ir/expressions/literals/numberLiteral.cpp",
3173af6ab5fSopenharmony_ci  "ir/expressions/literals/regExpLiteral.cpp",
3183af6ab5fSopenharmony_ci  "ir/expressions/literals/stringLiteral.cpp",
3193af6ab5fSopenharmony_ci  "ir/expressions/literals/undefinedLiteral.cpp",
3203af6ab5fSopenharmony_ci  "ir/expressions/memberExpression.cpp",
3213af6ab5fSopenharmony_ci  "ir/expressions/newExpression.cpp",
3223af6ab5fSopenharmony_ci  "ir/expressions/objectExpression.cpp",
3233af6ab5fSopenharmony_ci  "ir/expressions/omittedExpression.cpp",
3243af6ab5fSopenharmony_ci  "ir/expressions/sequenceExpression.cpp",
3253af6ab5fSopenharmony_ci  "ir/expressions/superExpression.cpp",
3263af6ab5fSopenharmony_ci  "ir/expressions/taggedTemplateExpression.cpp",
3273af6ab5fSopenharmony_ci  "ir/expressions/templateLiteral.cpp",
3283af6ab5fSopenharmony_ci  "ir/expressions/thisExpression.cpp",
3293af6ab5fSopenharmony_ci  "ir/expressions/typeofExpression.cpp",
3303af6ab5fSopenharmony_ci  "ir/expressions/unaryExpression.cpp",
3313af6ab5fSopenharmony_ci  "ir/expressions/updateExpression.cpp",
3323af6ab5fSopenharmony_ci  "ir/expressions/yieldExpression.cpp",
3333af6ab5fSopenharmony_ci  "ir/irnode.cpp",
3343af6ab5fSopenharmony_ci  "ir/module/exportAllDeclaration.cpp",
3353af6ab5fSopenharmony_ci  "ir/module/exportDefaultDeclaration.cpp",
3363af6ab5fSopenharmony_ci  "ir/module/exportNamedDeclaration.cpp",
3373af6ab5fSopenharmony_ci  "ir/module/exportSpecifier.cpp",
3383af6ab5fSopenharmony_ci  "ir/module/importDeclaration.cpp",
3393af6ab5fSopenharmony_ci  "ir/module/importDefaultSpecifier.cpp",
3403af6ab5fSopenharmony_ci  "ir/module/importNamespaceSpecifier.cpp",
3413af6ab5fSopenharmony_ci  "ir/module/importSpecifier.cpp",
3423af6ab5fSopenharmony_ci  "ir/opaqueTypeNode.cpp",
3433af6ab5fSopenharmony_ci  "ir/srcDump.cpp",
3443af6ab5fSopenharmony_ci  "ir/statement.cpp",
3453af6ab5fSopenharmony_ci  "ir/statements/assertStatement.cpp",
3463af6ab5fSopenharmony_ci  "ir/statements/blockStatement.cpp",
3473af6ab5fSopenharmony_ci  "ir/statements/breakStatement.cpp",
3483af6ab5fSopenharmony_ci  "ir/statements/classDeclaration.cpp",
3493af6ab5fSopenharmony_ci  "ir/statements/continueStatement.cpp",
3503af6ab5fSopenharmony_ci  "ir/statements/debuggerStatement.cpp",
3513af6ab5fSopenharmony_ci  "ir/statements/doWhileStatement.cpp",
3523af6ab5fSopenharmony_ci  "ir/statements/emptyStatement.cpp",
3533af6ab5fSopenharmony_ci  "ir/statements/expressionStatement.cpp",
3543af6ab5fSopenharmony_ci  "ir/statements/forInStatement.cpp",
3553af6ab5fSopenharmony_ci  "ir/statements/forOfStatement.cpp",
3563af6ab5fSopenharmony_ci  "ir/statements/forUpdateStatement.cpp",
3573af6ab5fSopenharmony_ci  "ir/statements/functionDeclaration.cpp",
3583af6ab5fSopenharmony_ci  "ir/statements/ifStatement.cpp",
3593af6ab5fSopenharmony_ci  "ir/statements/labelledStatement.cpp",
3603af6ab5fSopenharmony_ci  "ir/statements/loopStatement.cpp",
3613af6ab5fSopenharmony_ci  "ir/statements/namespaceDeclaration.cpp",
3623af6ab5fSopenharmony_ci  "ir/statements/returnStatement.cpp",
3633af6ab5fSopenharmony_ci  "ir/statements/switchCaseStatement.cpp",
3643af6ab5fSopenharmony_ci  "ir/statements/switchStatement.cpp",
3653af6ab5fSopenharmony_ci  "ir/statements/throwStatement.cpp",
3663af6ab5fSopenharmony_ci  "ir/statements/tryStatement.cpp",
3673af6ab5fSopenharmony_ci  "ir/statements/variableDeclaration.cpp",
3683af6ab5fSopenharmony_ci  "ir/statements/variableDeclarator.cpp",
3693af6ab5fSopenharmony_ci  "ir/statements/whileStatement.cpp",
3703af6ab5fSopenharmony_ci  "ir/ts/tsAnyKeyword.cpp",
3713af6ab5fSopenharmony_ci  "ir/ts/tsArrayType.cpp",
3723af6ab5fSopenharmony_ci  "ir/ts/tsAsExpression.cpp",
3733af6ab5fSopenharmony_ci  "ir/ts/tsBigintKeyword.cpp",
3743af6ab5fSopenharmony_ci  "ir/ts/tsBooleanKeyword.cpp",
3753af6ab5fSopenharmony_ci  "ir/ts/tsClassImplements.cpp",
3763af6ab5fSopenharmony_ci  "ir/ts/tsConditionalType.cpp",
3773af6ab5fSopenharmony_ci  "ir/ts/tsConstructorType.cpp",
3783af6ab5fSopenharmony_ci  "ir/ts/tsEnumDeclaration.cpp",
3793af6ab5fSopenharmony_ci  "ir/ts/tsEnumMember.cpp",
3803af6ab5fSopenharmony_ci  "ir/ts/tsExternalModuleReference.cpp",
3813af6ab5fSopenharmony_ci  "ir/ts/tsFunctionType.cpp",
3823af6ab5fSopenharmony_ci  "ir/ts/tsImportEqualsDeclaration.cpp",
3833af6ab5fSopenharmony_ci  "ir/ts/tsImportType.cpp",
3843af6ab5fSopenharmony_ci  "ir/ts/tsIndexedAccessType.cpp",
3853af6ab5fSopenharmony_ci  "ir/ts/tsInferType.cpp",
3863af6ab5fSopenharmony_ci  "ir/ts/tsInterfaceBody.cpp",
3873af6ab5fSopenharmony_ci  "ir/ts/tsInterfaceDeclaration.cpp",
3883af6ab5fSopenharmony_ci  "ir/ts/tsInterfaceHeritage.cpp",
3893af6ab5fSopenharmony_ci  "ir/ts/tsIntersectionType.cpp",
3903af6ab5fSopenharmony_ci  "ir/ts/tsLiteralType.cpp",
3913af6ab5fSopenharmony_ci  "ir/ts/tsMappedType.cpp",
3923af6ab5fSopenharmony_ci  "ir/ts/tsModuleBlock.cpp",
3933af6ab5fSopenharmony_ci  "ir/ts/tsModuleDeclaration.cpp",
3943af6ab5fSopenharmony_ci  "ir/ts/tsNamedTupleMember.cpp",
3953af6ab5fSopenharmony_ci  "ir/ts/tsNeverKeyword.cpp",
3963af6ab5fSopenharmony_ci  "ir/ts/tsNonNullExpression.cpp",
3973af6ab5fSopenharmony_ci  "ir/ts/tsNullKeyword.cpp",
3983af6ab5fSopenharmony_ci  "ir/ts/tsNumberKeyword.cpp",
3993af6ab5fSopenharmony_ci  "ir/ts/tsObjectKeyword.cpp",
4003af6ab5fSopenharmony_ci  "ir/ts/tsParameterProperty.cpp",
4013af6ab5fSopenharmony_ci  "ir/ts/tsParenthesizedType.cpp",
4023af6ab5fSopenharmony_ci  "ir/ts/tsQualifiedName.cpp",
4033af6ab5fSopenharmony_ci  "ir/ts/tsStringKeyword.cpp",
4043af6ab5fSopenharmony_ci  "ir/ts/tsThisType.cpp",
4053af6ab5fSopenharmony_ci  "ir/ts/tsTupleType.cpp",
4063af6ab5fSopenharmony_ci  "ir/ts/tsTypeAliasDeclaration.cpp",
4073af6ab5fSopenharmony_ci  "ir/ts/tsTypeAssertion.cpp",
4083af6ab5fSopenharmony_ci  "ir/ts/tsTypeLiteral.cpp",
4093af6ab5fSopenharmony_ci  "ir/ts/tsTypeOperator.cpp",
4103af6ab5fSopenharmony_ci  "ir/ts/tsTypeParameter.cpp",
4113af6ab5fSopenharmony_ci  "ir/ts/tsTypeParameterDeclaration.cpp",
4123af6ab5fSopenharmony_ci  "ir/ts/tsTypeParameterInstantiation.cpp",
4133af6ab5fSopenharmony_ci  "ir/ts/tsTypePredicate.cpp",
4143af6ab5fSopenharmony_ci  "ir/ts/tsTypeQuery.cpp",
4153af6ab5fSopenharmony_ci  "ir/ts/tsTypeReference.cpp",
4163af6ab5fSopenharmony_ci  "ir/ts/tsUndefinedKeyword.cpp",
4173af6ab5fSopenharmony_ci  "ir/ts/tsUnionType.cpp",
4183af6ab5fSopenharmony_ci  "ir/ts/tsUnknownKeyword.cpp",
4193af6ab5fSopenharmony_ci  "ir/ts/tsVoidKeyword.cpp",
4203af6ab5fSopenharmony_ci  "ir/typeNode.cpp",
4213af6ab5fSopenharmony_ci  "lexer/ASLexer.cpp",
4223af6ab5fSopenharmony_ci  "lexer/ETSLexer.cpp",
4233af6ab5fSopenharmony_ci  "lexer/TSLexer.cpp",
4243af6ab5fSopenharmony_ci  "lexer/keywords.cpp",
4253af6ab5fSopenharmony_ci  "lexer/keywordsUtil.cpp",
4263af6ab5fSopenharmony_ci  "lexer/lexer.cpp",
4273af6ab5fSopenharmony_ci  "lexer/regexp/regexp.cpp",
4283af6ab5fSopenharmony_ci  "lexer/token/number.cpp",
4293af6ab5fSopenharmony_ci  "lexer/token/sourceLocation.cpp",
4303af6ab5fSopenharmony_ci  "lexer/token/token.cpp",
4313af6ab5fSopenharmony_ci  "parser/ASparser.cpp",
4323af6ab5fSopenharmony_ci  "parser/ETSFormattedParser.cpp",
4333af6ab5fSopenharmony_ci  "parser/ETSNolintParser.cpp",
4343af6ab5fSopenharmony_ci  "parser/ETSparser.cpp",
4353af6ab5fSopenharmony_ci  "parser/ETSparserClasses.cpp",
4363af6ab5fSopenharmony_ci  "parser/ETSparserEnums.cpp",
4373af6ab5fSopenharmony_ci  "parser/ETSparserExpressions.cpp",
4383af6ab5fSopenharmony_ci  "parser/ETSparserNamespaces.cpp",
4393af6ab5fSopenharmony_ci  "parser/ETSparserStatements.cpp",
4403af6ab5fSopenharmony_ci  "parser/ETSparserTypes.cpp",
4413af6ab5fSopenharmony_ci  "parser/JSparser.cpp",
4423af6ab5fSopenharmony_ci  "parser/TSparser.cpp",
4433af6ab5fSopenharmony_ci  "parser/TypedParser.cpp",
4443af6ab5fSopenharmony_ci  "parser/context/classPrivateContext.cpp",
4453af6ab5fSopenharmony_ci  "parser/context/parserContext.cpp",
4463af6ab5fSopenharmony_ci  "parser/expressionParser.cpp",
4473af6ab5fSopenharmony_ci  "parser/expressionTSParser.cpp",
4483af6ab5fSopenharmony_ci  "parser/parserImpl.cpp",
4493af6ab5fSopenharmony_ci  "parser/program/entityNameVisitor.cpp",
4503af6ab5fSopenharmony_ci  "parser/program/program.cpp",
4513af6ab5fSopenharmony_ci  "parser/statementParser.cpp",
4523af6ab5fSopenharmony_ci  "parser/statementTSParser.cpp",
4533af6ab5fSopenharmony_ci  "util/arktsconfig.cpp",
4543af6ab5fSopenharmony_ci  "util/bitset.cpp",
4553af6ab5fSopenharmony_ci  "util/errorHandler.cpp",
4563af6ab5fSopenharmony_ci  "util/errorLogger.cpp",
4573af6ab5fSopenharmony_ci  "util/helpers.cpp",
4583af6ab5fSopenharmony_ci  "util/importPathManager.cpp",
4593af6ab5fSopenharmony_ci  "util/path.cpp",
4603af6ab5fSopenharmony_ci  "util/plugin.cpp",
4613af6ab5fSopenharmony_ci  "util/ustring.cpp",
4623af6ab5fSopenharmony_ci  "varbinder/ASBinder.cpp",
4633af6ab5fSopenharmony_ci  "varbinder/ETSBinder.cpp",
4643af6ab5fSopenharmony_ci  "varbinder/JSBinder.cpp",
4653af6ab5fSopenharmony_ci  "varbinder/TSBinder.cpp",
4663af6ab5fSopenharmony_ci  "varbinder/TypedBinder.cpp",
4673af6ab5fSopenharmony_ci  "varbinder/declaration.cpp",
4683af6ab5fSopenharmony_ci  "varbinder/recordTable.cpp",
4693af6ab5fSopenharmony_ci  "varbinder/scope.cpp",
4703af6ab5fSopenharmony_ci  "varbinder/varbinder.cpp",
4713af6ab5fSopenharmony_ci  "varbinder/variable.cpp",
4723af6ab5fSopenharmony_ci]
4733af6ab5fSopenharmony_ci
4743af6ab5fSopenharmony_ciLIB_NAME = "es2panda_lib"
4753af6ab5fSopenharmony_ciLIBGEN_DIR = "$target_gen_dir/generated/${LIB_NAME}"
4763af6ab5fSopenharmony_ciRB_LIST = []
4773af6ab5fSopenharmony_ci
4783af6ab5fSopenharmony_ciHEADERS_TO_BE_PARSED = [
4793af6ab5fSopenharmony_ci  "varbinder/variableFlags.h",
4803af6ab5fSopenharmony_ci  "lexer/regexp/regexp.h",
4813af6ab5fSopenharmony_ci  "util/language.h",
4823af6ab5fSopenharmony_ci  "lexer/token/tokenType.h",
4833af6ab5fSopenharmony_ci  "ir/astNodeFlags.h",
4843af6ab5fSopenharmony_ci  "ir/astNodeMapping.h",
4853af6ab5fSopenharmony_ci  "ir/module/exportDefaultDeclaration.h",
4863af6ab5fSopenharmony_ci  "ir/statements/forInStatement.h",
4873af6ab5fSopenharmony_ci  "checker/types/ts/voidType.h",
4883af6ab5fSopenharmony_ci  "ir/expressions/classExpression.h",
4893af6ab5fSopenharmony_ci  "ir/ts/tsConditionalType.h",
4903af6ab5fSopenharmony_ci  "ir/expressions/templateLiteral.h",
4913af6ab5fSopenharmony_ci  "ir/statements/breakStatement.h",
4923af6ab5fSopenharmony_ci  "ir/ets/etsImportDeclaration.h",
4933af6ab5fSopenharmony_ci  "ir/ts/tsArrayType.h",
4943af6ab5fSopenharmony_ci  "checker/types/ts/numberType.h",
4953af6ab5fSopenharmony_ci  "ir/module/importDefaultSpecifier.h",
4963af6ab5fSopenharmony_ci  "checker/types/ets/etsFunctionType.h",
4973af6ab5fSopenharmony_ci  "ir/base/classDefinition.h",
4983af6ab5fSopenharmony_ci  "checker/types/ts/typeParameter.h",
4993af6ab5fSopenharmony_ci  "checker/types/ets/etsEnumType.h",
5003af6ab5fSopenharmony_ci  "ir/statement.h",
5013af6ab5fSopenharmony_ci  "ir/irnode.h",
5023af6ab5fSopenharmony_ci  "checker/types/typeRelation.h",
5033af6ab5fSopenharmony_ci  "ir/visitor/AstVisitor.h",
5043af6ab5fSopenharmony_ci  "ir/statements/classDeclaration.h",
5053af6ab5fSopenharmony_ci  "ir/base/tsMethodSignature.h",
5063af6ab5fSopenharmony_ci  "ir/ts/tsExternalModuleReference.h",
5073af6ab5fSopenharmony_ci  "ir/ts/tsInterfaceBody.h",
5083af6ab5fSopenharmony_ci  "checker/types/ts/nonPrimitiveType.h",
5093af6ab5fSopenharmony_ci  "ir/ts/tsTypeParameterInstantiation.h",
5103af6ab5fSopenharmony_ci  "ir/module/importDeclaration.h",
5113af6ab5fSopenharmony_ci  "checker/types/ets/etsDynamicType.h",
5123af6ab5fSopenharmony_ci  "ir/statements/doWhileStatement.h",
5133af6ab5fSopenharmony_ci  "ir/expressions/literals/bigIntLiteral.h",
5143af6ab5fSopenharmony_ci  "ir/expressions/assignmentExpression.h",
5153af6ab5fSopenharmony_ci  "ir/srcDump.h",
5163af6ab5fSopenharmony_ci  "checker/types/ets/etsBooleanType.h",
5173af6ab5fSopenharmony_ci  "ir/expressions/sequenceExpression.h",
5183af6ab5fSopenharmony_ci  "ir/expressions/literals/nullLiteral.h",
5193af6ab5fSopenharmony_ci  "ir/ts/tsStringKeyword.h",
5203af6ab5fSopenharmony_ci  "ir/ts/tsUnionType.h",
5213af6ab5fSopenharmony_ci  "ir/ts/tsClassImplements.h",
5223af6ab5fSopenharmony_ci  "checker/types/typeFlag.h",
5233af6ab5fSopenharmony_ci  "ir/base/tsPropertySignature.h",
5243af6ab5fSopenharmony_ci  "checker/types/ts/stringLiteralType.h",
5253af6ab5fSopenharmony_ci  "ir/expressions/conditionalExpression.h",
5263af6ab5fSopenharmony_ci  "ir/ts/tsFunctionType.h",
5273af6ab5fSopenharmony_ci  "checker/types/ts/undefinedType.h",
5283af6ab5fSopenharmony_ci  "checker/types/ts/numberLiteralType.h",
5293af6ab5fSopenharmony_ci  "ir/ts/tsObjectKeyword.h",
5303af6ab5fSopenharmony_ci  "checker/types/ts/tupleType.h",
5313af6ab5fSopenharmony_ci  "checker/types/ets/etsStringType.h",
5323af6ab5fSopenharmony_ci  "ir/base/property.h",
5333af6ab5fSopenharmony_ci  "ir/astDump.h",
5343af6ab5fSopenharmony_ci  "ir/base/tsSignatureDeclaration.h",
5353af6ab5fSopenharmony_ci  "ir/ets/etsReExportDeclaration.h",
5363af6ab5fSopenharmony_ci  "ir/ts/tsUndefinedKeyword.h",
5373af6ab5fSopenharmony_ci  "ir/expressions/arrowFunctionExpression.h",
5383af6ab5fSopenharmony_ci  "ir/expressions/callExpression.h",
5393af6ab5fSopenharmony_ci  "ir/ts/tsInterfaceHeritage.h",
5403af6ab5fSopenharmony_ci  "ir/expressions/updateExpression.h",
5413af6ab5fSopenharmony_ci  "ir/module/importSpecifier.h",
5423af6ab5fSopenharmony_ci  "ir/ets/etsNewClassInstanceExpression.h",
5433af6ab5fSopenharmony_ci  "ir/statements/labelledStatement.h",
5443af6ab5fSopenharmony_ci  "ir/ts/tsModuleBlock.h",
5453af6ab5fSopenharmony_ci  "ir/ts/tsTypePredicate.h",
5463af6ab5fSopenharmony_ci  "ir/base/catchClause.h",
5473af6ab5fSopenharmony_ci  "ir/base/classProperty.h",
5483af6ab5fSopenharmony_ci  "ir/base/tsIndexSignature.h",
5493af6ab5fSopenharmony_ci  "checker/types/ts/arrayType.h",
5503af6ab5fSopenharmony_ci  "ir/astNode.h",
5513af6ab5fSopenharmony_ci  "ir/statements/ifStatement.h",
5523af6ab5fSopenharmony_ci  "ir/ets/etsTuple.h",
5533af6ab5fSopenharmony_ci  "ir/module/exportSpecifier.h",
5543af6ab5fSopenharmony_ci  "ir/ts/tsNamedTupleMember.h",
5553af6ab5fSopenharmony_ci  "ir/statements/returnStatement.h",
5563af6ab5fSopenharmony_ci  "checker/types/ts/neverType.h",
5573af6ab5fSopenharmony_ci  "checker/types/ts/unionType.h",
5583af6ab5fSopenharmony_ci  "ir/statements/tryStatement.h",
5593af6ab5fSopenharmony_ci  "ir/ts/tsQualifiedName.h",
5603af6ab5fSopenharmony_ci  "checker/types/ts/types.h",
5613af6ab5fSopenharmony_ci  "ir/ts/tsLiteralType.h",
5623af6ab5fSopenharmony_ci  "checker/types/typeMapping.h",
5633af6ab5fSopenharmony_ci  "checker/types/ets/etsBigIntType.h",
5643af6ab5fSopenharmony_ci  "ir/expressions/arrayExpression.h",
5653af6ab5fSopenharmony_ci  "ir/ets/etsUnionType.h",
5663af6ab5fSopenharmony_ci  "ir/ts/tsTypeParameter.h",
5673af6ab5fSopenharmony_ci  "ir/ts/tsConstructorType.h",
5683af6ab5fSopenharmony_ci  "ir/ts/tsTypeParameterDeclaration.h",
5693af6ab5fSopenharmony_ci  "checker/types/ts/enumLiteralType.h",
5703af6ab5fSopenharmony_ci  "ir/expressions/literals/charLiteral.h",
5713af6ab5fSopenharmony_ci  "ir/base/classElement.h",
5723af6ab5fSopenharmony_ci  "ir/statements/switchStatement.h",
5733af6ab5fSopenharmony_ci  "ir/expressions/identifier.h",
5743af6ab5fSopenharmony_ci  "ir/expressions/objectExpression.h",
5753af6ab5fSopenharmony_ci  "ir/statements/functionDeclaration.h",
5763af6ab5fSopenharmony_ci  "ir/as/prefixAssertionExpression.h",
5773af6ab5fSopenharmony_ci  "checker/types/ts/typeReference.h",
5783af6ab5fSopenharmony_ci  "ir/expressions/memberExpression.h",
5793af6ab5fSopenharmony_ci  "checker/types/ets/etsExtensionFuncHelperType.h",
5803af6ab5fSopenharmony_ci  "ir/ets/etsNullishTypes.h",
5813af6ab5fSopenharmony_ci  "ir/ets/etsLaunchExpression.h",
5823af6ab5fSopenharmony_ci  "ir/expressions/awaitExpression.h",
5833af6ab5fSopenharmony_ci  "ir/ets/etsFunctionType.h",
5843af6ab5fSopenharmony_ci  "checker/types/ets/etsArrayType.h",
5853af6ab5fSopenharmony_ci  "ir/expressions/binaryExpression.h",
5863af6ab5fSopenharmony_ci  "checker/types/ets/etsNullishTypes.h",
5873af6ab5fSopenharmony_ci  "ir/expressions/newExpression.h",
5883af6ab5fSopenharmony_ci  "ir/expressions/literals/stringLiteral.h",
5893af6ab5fSopenharmony_ci  "ir/ts/tsTupleType.h",
5903af6ab5fSopenharmony_ci  "checker/types/ets/longType.h",
5913af6ab5fSopenharmony_ci  "ir/module/exportAllDeclaration.h",
5923af6ab5fSopenharmony_ci  "checker/types/ts/bigintType.h",
5933af6ab5fSopenharmony_ci  "ir/ts/tsParenthesizedType.h",
5943af6ab5fSopenharmony_ci  "ir/ts/tsModuleDeclaration.h",
5953af6ab5fSopenharmony_ci  "ir/ets/etsPackageDeclaration.h",
5963af6ab5fSopenharmony_ci  "checker/types/ets/etsDynamicFunctionType.h",
5973af6ab5fSopenharmony_ci  "ir/expressions/literals/regExpLiteral.h",
5983af6ab5fSopenharmony_ci  "ir/ets/etsNewArrayInstanceExpression.h",
5993af6ab5fSopenharmony_ci  "checker/types/ets/etsVoidType.h",
6003af6ab5fSopenharmony_ci  "ir/base/metaProperty.h",
6013af6ab5fSopenharmony_ci  "checker/types/type.h",
6023af6ab5fSopenharmony_ci  "checker/types/ts/booleanLiteralType.h",
6033af6ab5fSopenharmony_ci  "checker/types/ts/anyType.h",
6043af6ab5fSopenharmony_ci  "ir/ets/etsScript.h",
6053af6ab5fSopenharmony_ci  "ir/ts/tsInferType.h",
6063af6ab5fSopenharmony_ci  "ir/ts/tsMappedType.h",
6073af6ab5fSopenharmony_ci  "ir/statements/debuggerStatement.h",
6083af6ab5fSopenharmony_ci  "ir/ts/tsBooleanKeyword.h",
6093af6ab5fSopenharmony_ci  "ir/ts/tsEnumDeclaration.h",
6103af6ab5fSopenharmony_ci  "checker/types/ets/etsObjectType.h",
6113af6ab5fSopenharmony_ci  "checker/types/ts/interfaceType.h",
6123af6ab5fSopenharmony_ci  "checker/types/ts/functionType.h",
6133af6ab5fSopenharmony_ci  "ir/statements/emptyStatement.h",
6143af6ab5fSopenharmony_ci  "ir/expressions/omittedExpression.h",
6153af6ab5fSopenharmony_ci  "ir/ts/tsNeverKeyword.h",
6163af6ab5fSopenharmony_ci  "ir/expressions/blockExpression.h",
6173af6ab5fSopenharmony_ci  "checker/types/ts/objectDescriptor.h",
6183af6ab5fSopenharmony_ci  "ir/ts/tsBigintKeyword.h",
6193af6ab5fSopenharmony_ci  "ir/statements/blockStatement.h",
6203af6ab5fSopenharmony_ci  "ir/expressions/literals/numberLiteral.h",
6213af6ab5fSopenharmony_ci  "checker/types/ets/shortType.h",
6223af6ab5fSopenharmony_ci  "checker/types/ts/bigintLiteralType.h",
6233af6ab5fSopenharmony_ci  "ir/expression.h",
6243af6ab5fSopenharmony_ci  "checker/types/ts/objectLiteralType.h",
6253af6ab5fSopenharmony_ci  "ir/typeNode.h",
6263af6ab5fSopenharmony_ci  "ir/base/spreadElement.h",
6273af6ab5fSopenharmony_ci  "ir/ts/tsTypeAssertion.h",
6283af6ab5fSopenharmony_ci  "ir/ts/tsTypeOperator.h",
6293af6ab5fSopenharmony_ci  "ir/ts/tsAsExpression.h",
6303af6ab5fSopenharmony_ci  "ir/statements/expressionStatement.h",
6313af6ab5fSopenharmony_ci  "checker/types/ts/elementFlags.h",
6323af6ab5fSopenharmony_ci  "ir/ts/tsImportType.h",
6333af6ab5fSopenharmony_ci  "checker/types/ts/indexInfo.h",
6343af6ab5fSopenharmony_ci  "checker/types/ets/etsTupleType.h",
6353af6ab5fSopenharmony_ci  "checker/types/signature.h",
6363af6ab5fSopenharmony_ci  "ir/ets/etsPrimitiveType.h",
6373af6ab5fSopenharmony_ci  "ir/as/namedType.h",
6383af6ab5fSopenharmony_ci  "ir/statements/throwStatement.h",
6393af6ab5fSopenharmony_ci  "ir/statements/forOfStatement.h",
6403af6ab5fSopenharmony_ci  "ir/statements/switchCaseStatement.h",
6413af6ab5fSopenharmony_ci  "ir/base/templateElement.h",
6423af6ab5fSopenharmony_ci  "checker/types/ets/charType.h",
6433af6ab5fSopenharmony_ci  "checker/types/ets/intType.h",
6443af6ab5fSopenharmony_ci  "ir/statements/forUpdateStatement.h",
6453af6ab5fSopenharmony_ci  "checker/types/ets/floatType.h",
6463af6ab5fSopenharmony_ci  "ir/ets/etsImportSource.h",
6473af6ab5fSopenharmony_ci  "ir/ets/etsTypeReferencePart.h",
6483af6ab5fSopenharmony_ci  "ir/ts/tsUnknownKeyword.h",
6493af6ab5fSopenharmony_ci  "ir/ets/etsStructDeclaration.h",
6503af6ab5fSopenharmony_ci  "checker/types/ts/objectType.h",
6513af6ab5fSopenharmony_ci  "ir/expressions/chainExpression.h",
6523af6ab5fSopenharmony_ci  "checker/types/ets/byteType.h",
6533af6ab5fSopenharmony_ci  "ir/ts/tsVoidKeyword.h",
6543af6ab5fSopenharmony_ci  "ir/statements/whileStatement.h",
6553af6ab5fSopenharmony_ci  "ir/expressions/taggedTemplateExpression.h",
6563af6ab5fSopenharmony_ci  "ir/statements/assertStatement.h",
6573af6ab5fSopenharmony_ci  "checker/types/ets/etsUnionType.h",
6583af6ab5fSopenharmony_ci  "checker/types/ts/stringType.h",
6593af6ab5fSopenharmony_ci  "ir/expressions/literals/booleanLiteral.h",
6603af6ab5fSopenharmony_ci  "ir/expressions/functionExpression.h",
6613af6ab5fSopenharmony_ci  "ir/statements/variableDeclarator.h",
6623af6ab5fSopenharmony_ci  "ir/module/importNamespaceSpecifier.h",
6633af6ab5fSopenharmony_ci  "ir/module/exportNamedDeclaration.h",
6643af6ab5fSopenharmony_ci  "ir/expressions/thisExpression.h",
6653af6ab5fSopenharmony_ci  "ir/ts/tsTypeReference.h",
6663af6ab5fSopenharmony_ci  "ir/base/classStaticBlock.h",
6673af6ab5fSopenharmony_ci  "ir/expressions/unaryExpression.h",
6683af6ab5fSopenharmony_ci  "ir/ts/tsThisType.h",
6693af6ab5fSopenharmony_ci  "ir/ts/tsNullKeyword.h",
6703af6ab5fSopenharmony_ci  "checker/types/ets/etsTypeParameter.h",
6713af6ab5fSopenharmony_ci  "checker/types/typeFacts.h",
6723af6ab5fSopenharmony_ci  "ir/base/decorator.h",
6733af6ab5fSopenharmony_ci  "checker/types/globalTypesHolder.h",
6743af6ab5fSopenharmony_ci  "ir/ets/etsClassLiteral.h",
6753af6ab5fSopenharmony_ci  "ir/ts/tsTypeAliasDeclaration.h",
6763af6ab5fSopenharmony_ci  "ir/ts/tsNonNullExpression.h",
6773af6ab5fSopenharmony_ci  "ir/ts/tsTypeLiteral.h",
6783af6ab5fSopenharmony_ci  "ir/ts/tsNumberKeyword.h",
6793af6ab5fSopenharmony_ci  "ir/opaqueTypeNode.h",
6803af6ab5fSopenharmony_ci  "ir/base/scriptFunction.h",
6813af6ab5fSopenharmony_ci  "ir/expressions/literal.h",
6823af6ab5fSopenharmony_ci  "ir/ts/tsInterfaceDeclaration.h",
6833af6ab5fSopenharmony_ci  "ir/ts/tsImportEqualsDeclaration.h",
6843af6ab5fSopenharmony_ci  "ir/validationInfo.h",
6853af6ab5fSopenharmony_ci  "ir/base/methodDefinition.h",
6863af6ab5fSopenharmony_ci  "ir/ts/tsIntersectionType.h",
6873af6ab5fSopenharmony_ci  "checker/types/ts/nullType.h",
6883af6ab5fSopenharmony_ci  "checker/types/ts/unknownType.h",
6893af6ab5fSopenharmony_ci  "ir/ts/tsEnumMember.h",
6903af6ab5fSopenharmony_ci  "ir/expressions/superExpression.h",
6913af6ab5fSopenharmony_ci  "checker/types/ts/constructorType.h",
6923af6ab5fSopenharmony_ci  "ir/ets/etsTypeReference.h",
6933af6ab5fSopenharmony_ci  "checker/types/ets/etsNonNullishType.h",
6943af6ab5fSopenharmony_ci  "checker/types/ets/etsObjectTypeConstants.h",
6953af6ab5fSopenharmony_ci  "checker/types/ets/types.h",
6963af6ab5fSopenharmony_ci  "ir/statements/variableDeclaration.h",
6973af6ab5fSopenharmony_ci  "ir/opcodeMap.h",
6983af6ab5fSopenharmony_ci  "ir/ts/tsAnyKeyword.h",
6993af6ab5fSopenharmony_ci  "checker/types/ets/doubleType.h",
7003af6ab5fSopenharmony_ci  "ir/visitor/IterateAstVisitor.h",
7013af6ab5fSopenharmony_ci  "checker/types/ts/enumType.h",
7023af6ab5fSopenharmony_ci  "ir/expressions/directEvalExpression.h",
7033af6ab5fSopenharmony_ci  "ir/ts/tsParameterProperty.h",
7043af6ab5fSopenharmony_ci  "ir/statements/continueStatement.h",
7053af6ab5fSopenharmony_ci  "ir/ets/etsWildcardType.h",
7063af6ab5fSopenharmony_ci  "ir/expressions/literals/undefinedLiteral.h",
7073af6ab5fSopenharmony_ci  "ir/ts/tsIndexedAccessType.h",
7083af6ab5fSopenharmony_ci  "checker/types/ets/wildcardType.h",
7093af6ab5fSopenharmony_ci  "checker/types/ts/booleanType.h",
7103af6ab5fSopenharmony_ci  "ir/expressions/typeofExpression.h",
7113af6ab5fSopenharmony_ci  "checker/types/ets/etsAsyncFuncReturnType.h",
7123af6ab5fSopenharmony_ci  "ir/statements/loopStatement.h",
7133af6ab5fSopenharmony_ci  "ir/base/scriptFunctionSignature.h",
7143af6ab5fSopenharmony_ci  "ir/expressions/yieldExpression.h",
7153af6ab5fSopenharmony_ci  "ir/ets/etsNewMultiDimArrayInstanceExpression.h",
7163af6ab5fSopenharmony_ci  "ir/ets/etsParameterExpression.h",
7173af6ab5fSopenharmony_ci  "ir/ts/tsTypeQuery.h",
7183af6ab5fSopenharmony_ci  "ir/expressions/importExpression.h",
7193af6ab5fSopenharmony_ci]
7203af6ab5fSopenharmony_ci
7213af6ab5fSopenharmony_ciES2PANDA_API_GENERATED = [
7223af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/bigintLiteralType.yaml",
7233af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/statements/switchCaseStatement.yaml",
7243af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ets/etsNewArrayInstanceExpression.yaml",
7253af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ets/etsTypeReferencePart.yaml",
7263af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/astDump.yaml",
7273af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsTypeOperator.yaml",
7283af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/constructorType.yaml",
7293af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/statements/expressionStatement.yaml",
7303af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ets/types.yaml",
7313af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ets/etsObjectTypeConstants.yaml",
7323af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/stringType.yaml",
7333af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/base/classDefinition.yaml",
7343af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsClassImplements.yaml",
7353af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/chainExpression.yaml",
7363af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/memberExpression.yaml",
7373af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsFunctionType.yaml",
7383af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsBigintKeyword.yaml",
7393af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsAsExpression.yaml",
7403af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/stringLiteralType.yaml",
7413af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/module/importNamespaceSpecifier.yaml",
7423af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/base/metaProperty.yaml",
7433af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsInterfaceBody.yaml",
7443af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/statements/tryStatement.yaml",
7453af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/unknownType.yaml",
7463af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/base/classStaticBlock.yaml",
7473af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/literals/undefinedLiteral.yaml",
7483af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ets/etsBigIntType.yaml",
7493af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsTypePredicate.yaml",
7503af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/unionType.yaml",
7513af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ets/floatType.yaml",
7523af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/statements/emptyStatement.yaml",
7533af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsTypeParameterDeclaration.yaml",
7543af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/statements/whileStatement.yaml",
7553af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsParenthesizedType.yaml",
7563af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsTypeParameterInstantiation.yaml",
7573af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/module/exportSpecifier.yaml",
7583af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/base/property.yaml",
7593af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/literals/stringLiteral.yaml",
7603af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsVoidKeyword.yaml",
7613af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/statements/classDeclaration.yaml",
7623af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/statements/assertStatement.yaml",
7633af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/globalTypesHolder.yaml",
7643af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/base/classElement.yaml",
7653af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/statement.yaml",
7663af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsNullKeyword.yaml",
7673af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/lexer/regexp/regexp.yaml",
7683af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/typeRelation.yaml",
7693af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/objectDescriptor.yaml",
7703af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/signature.yaml",
7713af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/taggedTemplateExpression.yaml",
7723af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/enumType.yaml",
7733af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsTypeReference.yaml",
7743af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/indexInfo.yaml",
7753af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/base/scriptFunctionSignature.yaml",
7763af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/pathsToHeaders.yaml",
7773af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsInferType.yaml",
7783af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/statements/forUpdateStatement.yaml",
7793af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/literals/regExpLiteral.yaml",
7803af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/module/exportAllDeclaration.yaml",
7813af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/varbinder/variableFlags.yaml",
7823af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/binaryExpression.yaml",
7833af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ets/doubleType.yaml",
7843af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/templateLiteral.yaml",
7853af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/literals/bigIntLiteral.yaml",
7863af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/base/tsPropertySignature.yaml",
7873af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsInterfaceHeritage.yaml",
7883af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ets/etsTuple.yaml",
7893af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/statements/returnStatement.yaml",
7903af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/neverType.yaml",
7913af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ets/etsArrayType.yaml",
7923af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expression.yaml",
7933af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsUnknownKeyword.yaml",
7943af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ets/etsAsyncFuncReturnType.yaml",
7953af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsModuleBlock.yaml",
7963af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsConditionalType.yaml",
7973af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/statements/variableDeclarator.yaml",
7983af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/statements/throwStatement.yaml",
7993af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/lexer/token/tokenType.yaml",
8003af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/module/exportNamedDeclaration.yaml",
8013af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsNamedTupleMember.yaml",
8023af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/typeParameter.yaml",
8033af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ets/etsTypeParameter.yaml",
8043af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ets/etsStringType.yaml",
8053af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/validationInfo.yaml",
8063af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsTypeAliasDeclaration.yaml",
8073af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/objectLiteralType.yaml",
8083af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/yieldExpression.yaml",
8093af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsTupleType.yaml",
8103af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/visitor/AstVisitor.yaml",
8113af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/module/exportDefaultDeclaration.yaml",
8123af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/base/catchClause.yaml",
8133af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/identifier.yaml",
8143af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/anyType.yaml",
8153af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/objectExpression.yaml",
8163af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/booleanType.yaml",
8173af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsNumberKeyword.yaml",
8183af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ets/etsUnionType.yaml",
8193af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsStringKeyword.yaml",
8203af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/arrowFunctionExpression.yaml",
8213af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/base/classProperty.yaml",
8223af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/sequenceExpression.yaml",
8233af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/enumLiteralType.yaml",
8243af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsImportType.yaml",
8253af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ets/etsDynamicFunctionType.yaml",
8263af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ets/etsDynamicType.yaml",
8273af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/functionExpression.yaml",
8283af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsTypeParameter.yaml",
8293af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsIndexedAccessType.yaml",
8303af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/thisExpression.yaml",
8313af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsThisType.yaml",
8323af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/classExpression.yaml",
8333af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/base/scriptFunction.yaml",
8343af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/booleanLiteralType.yaml",
8353af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/conditionalExpression.yaml",
8363af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/unaryExpression.yaml",
8373af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/astNodeFlags.yaml",
8383af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/updateExpression.yaml",
8393af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsNeverKeyword.yaml",
8403af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ets/longType.yaml",
8413af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/statements/loopStatement.yaml",
8423af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ets/etsNewMultiDimArrayInstanceExpression.yaml",
8433af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ets/byteType.yaml",
8443af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/opaqueTypeNode.yaml",
8453af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ets/intType.yaml",
8463af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsBooleanKeyword.yaml",
8473af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/elementFlags.yaml",
8483af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/astNode.yaml",
8493af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsParameterProperty.yaml",
8503af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsExternalModuleReference.yaml",
8513af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/awaitExpression.yaml",
8523af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ets/etsBooleanType.yaml",
8533af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsObjectKeyword.yaml",
8543af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/statements/forOfStatement.yaml",
8553af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/statements/doWhileStatement.yaml",
8563af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/directEvalExpression.yaml",
8573af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/undefinedType.yaml",
8583af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ets/etsWildcardType.yaml",
8593af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsTypeAssertion.yaml",
8603af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/statements/switchStatement.yaml",
8613af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ets/etsImportSource.yaml",
8623af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/module/importSpecifier.yaml",
8633af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ets/etsReExportDeclaration.yaml",
8643af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/typeMapping.yaml",
8653af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ets/etsPrimitiveType.yaml",
8663af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/literals/booleanLiteral.yaml",
8673af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/statements/labelledStatement.yaml",
8683af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/irnode.yaml",
8693af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsImportEqualsDeclaration.yaml",
8703af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ets/etsNullishTypes.yaml",
8713af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ets/etsParameterExpression.yaml",
8723af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsMappedType.yaml",
8733af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ets/etsTupleType.yaml",
8743af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/opcodeMap.yaml",
8753af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ets/etsNullishTypes.yaml",
8763af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/literals/numberLiteral.yaml",
8773af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/statements/breakStatement.yaml",
8783af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/numberLiteralType.yaml",
8793af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/voidType.yaml",
8803af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/nonPrimitiveType.yaml",
8813af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsTypeQuery.yaml",
8823af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/statements/variableDeclaration.yaml",
8833af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/base/methodDefinition.yaml",
8843af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/functionType.yaml",
8853af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/literals/nullLiteral.yaml",
8863af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/literal.yaml",
8873af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/importExpression.yaml",
8883af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/callExpression.yaml",
8893af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ets/etsLaunchExpression.yaml",
8903af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsUnionType.yaml",
8913af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsUndefinedKeyword.yaml",
8923af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ets/etsFunctionType.yaml",
8933af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsQualifiedName.yaml",
8943af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/base/tsIndexSignature.yaml",
8953af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/base/templateElement.yaml",
8963af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ets/etsObjectType.yaml",
8973af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/typeofExpression.yaml",
8983af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ets/etsUnionType.yaml",
8993af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/module/importDefaultSpecifier.yaml",
9003af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/base/tsSignatureDeclaration.yaml",
9013af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ets/etsImportDeclaration.yaml",
9023af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/bigintType.yaml",
9033af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsNonNullExpression.yaml",
9043af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/srcDump.yaml",
9053af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/astNodeMapping.yaml",
9063af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/type.yaml",
9073af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/nullType.yaml",
9083af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ets/etsNonNullishType.yaml",
9093af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsInterfaceDeclaration.yaml",
9103af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsAnyKeyword.yaml",
9113af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ets/wildcardType.yaml",
9123af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/as/prefixAssertionExpression.yaml",
9133af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/typeFacts.yaml",
9143af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/allEnums.yaml",
9153af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsConstructorType.yaml",
9163af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/omittedExpression.yaml",
9173af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsIntersectionType.yaml",
9183af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsArrayType.yaml",
9193af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/visitor/IterateAstVisitor.yaml",
9203af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/typeNode.yaml",
9213af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/typeReference.yaml",
9223af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/interfaceType.yaml",
9233af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/module/importDeclaration.yaml",
9243af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ets/etsPackageDeclaration.yaml",
9253af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/superExpression.yaml",
9263af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/statements/blockStatement.yaml",
9273af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/util/language.yaml",
9283af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ets/shortType.yaml",
9293af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ets/etsNewClassInstanceExpression.yaml",
9303af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ets/etsExtensionFuncHelperType.yaml",
9313af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/statements/continueStatement.yaml",
9323af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ets/etsClassLiteral.yaml",
9333af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/assignmentExpression.yaml",
9343af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ets/etsTypeReference.yaml",
9353af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/tupleType.yaml",
9363af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/numberType.yaml",
9373af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ets/charType.yaml",
9383af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/arrayType.yaml",
9393af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/types.yaml",
9403af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ets/etsFunctionType.yaml",
9413af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsModuleDeclaration.yaml",
9423af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsLiteralType.yaml",
9433af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/typeFlag.yaml",
9443af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ts/objectType.yaml",
9453af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ets/etsEnumType.yaml",
9463af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/statements/debuggerStatement.yaml",
9473af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsEnumMember.yaml",
9483af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/arrayExpression.yaml",
9493af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/statements/ifStatement.yaml",
9503af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/base/tsMethodSignature.yaml",
9513af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/as/namedType.yaml",
9523af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/blockExpression.yaml",
9533af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/statements/forInStatement.yaml",
9543af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/statements/functionDeclaration.yaml",
9553af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/checker/types/ets/etsVoidType.yaml",
9563af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsEnumDeclaration.yaml",
9573af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ets/etsStructDeclaration.yaml",
9583af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/literals/charLiteral.yaml",
9593af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/base/decorator.yaml",
9603af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ts/tsTypeLiteral.yaml",
9613af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/expressions/newExpression.yaml",
9623af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/ets/etsScript.yaml",
9633af6ab5fSopenharmony_ci  "$LIBGEN_DIR/gen/headers/ir/base/spreadElement.yaml",
9643af6ab5fSopenharmony_ci]
9653af6ab5fSopenharmony_ci
9663af6ab5fSopenharmony_ciES2PANDA_API = [ "public/cppToCTypes.yaml" ]
9673af6ab5fSopenharmony_ci
9683af6ab5fSopenharmony_ciES2PANDA_API += ES2PANDA_API_GENERATED
9693af6ab5fSopenharmony_ci
9703af6ab5fSopenharmony_ciforeach(i, ES2PANDA_API) {
9713af6ab5fSopenharmony_ci  RB_LIST += [ "public/${LIB_NAME}.rb" ]
9723af6ab5fSopenharmony_ci}
9733af6ab5fSopenharmony_ci
9743af6ab5fSopenharmony_ciaction("libes2panda_public_parse_headers") {
9753af6ab5fSopenharmony_ci  script = "./public/headers_parser/main.py"
9763af6ab5fSopenharmony_ci
9773af6ab5fSopenharmony_ci  args = [
9783af6ab5fSopenharmony_ci           rebase_path(".", ""),
9793af6ab5fSopenharmony_ci           rebase_path(LIBGEN_DIR, root_build_dir),
9803af6ab5fSopenharmony_ci         ] + rebase_path(HEADERS_TO_BE_PARSED, "")
9813af6ab5fSopenharmony_ci
9823af6ab5fSopenharmony_ci  sources = HEADERS_TO_BE_PARSED
9833af6ab5fSopenharmony_ci  outputs = ES2PANDA_API_GENERATED
9843af6ab5fSopenharmony_ci}
9853af6ab5fSopenharmony_ci
9863af6ab5fSopenharmony_ciark_gen("gen") {
9873af6ab5fSopenharmony_ci  data = ES2PANDA_API
9883af6ab5fSopenharmony_ci  template_files = [
9893af6ab5fSopenharmony_ci    "${LIB_NAME}_decl.inc.erb",
9903af6ab5fSopenharmony_ci    "${LIB_NAME}_enums.inc.erb",
9913af6ab5fSopenharmony_ci    "${LIB_NAME}_impl.inc.erb",
9923af6ab5fSopenharmony_ci    "${LIB_NAME}_include.inc.erb",
9933af6ab5fSopenharmony_ci    "${LIB_NAME}_list.inc.erb",
9943af6ab5fSopenharmony_ci  ]
9953af6ab5fSopenharmony_ci  sources = "public/"
9963af6ab5fSopenharmony_ci  destination = "$LIBGEN_DIR/"
9973af6ab5fSopenharmony_ci  api = RB_LIST
9983af6ab5fSopenharmony_ci  extra_dependencies = [ ":libes2panda_public_parse_headers" ]
9993af6ab5fSopenharmony_ci}
10003af6ab5fSopenharmony_ci
10013af6ab5fSopenharmony_ci# libes2panda does not include bytecode optimizer, because it is used in
10023af6ab5fSopenharmony_ci# libarkruntime, and conflict with JIT setup ensues
10033af6ab5fSopenharmony_cilibes2panda_public_sources = [
10043af6ab5fSopenharmony_ci  "public/${LIB_NAME}.cpp",
10053af6ab5fSopenharmony_ci  "util/generateBin.cpp",
10063af6ab5fSopenharmony_ci  "util/options.cpp",
10073af6ab5fSopenharmony_ci]
10083af6ab5fSopenharmony_ci
10093af6ab5fSopenharmony_ciconfig("libes2panda_config") {
10103af6ab5fSopenharmony_ci  cflags_cc = [
10113af6ab5fSopenharmony_ci    "-fexceptions",
10123af6ab5fSopenharmony_ci    "-Werror=shadow",
10133af6ab5fSopenharmony_ci  ]
10143af6ab5fSopenharmony_ci}
10153af6ab5fSopenharmony_ci
10163af6ab5fSopenharmony_cilibes2panda_configs = [
10173af6ab5fSopenharmony_ci  "$ark_root/assembler:arkassembler_public_config",
10183af6ab5fSopenharmony_ci  "$ark_root:ark_config",
10193af6ab5fSopenharmony_ci  ":libes2panda_public_config",
10203af6ab5fSopenharmony_ci  ":libes2panda_config",
10213af6ab5fSopenharmony_ci  "$ark_root/libpandabase:arkbase_public_config",
10223af6ab5fSopenharmony_ci  "$ark_root/libpandafile:arkfile_public_config",
10233af6ab5fSopenharmony_ci]
10243af6ab5fSopenharmony_ci
10253af6ab5fSopenharmony_cilibes2panda_public_configs = [
10263af6ab5fSopenharmony_ci  "$ark_root/assembler:arkassembler_public_config",
10273af6ab5fSopenharmony_ci  "$ark_root:ark_config",
10283af6ab5fSopenharmony_ci  ":libes2panda_public_config",
10293af6ab5fSopenharmony_ci  ":libes2panda_config",
10303af6ab5fSopenharmony_ci  "$ark_root/libpandabase:arkbase_public_config",
10313af6ab5fSopenharmony_ci  "$ark_root/libpandafile:arkfile_public_config",
10323af6ab5fSopenharmony_ci  "$ark_root/bytecode_optimizer:bytecodeopt_public_config",
10333af6ab5fSopenharmony_ci  "$ark_root/compiler:arkcompiler_public_config",
10343af6ab5fSopenharmony_ci  "$ark_root/runtime:arkruntime_public_config",
10353af6ab5fSopenharmony_ci]
10363af6ab5fSopenharmony_ci
10373af6ab5fSopenharmony_ciohos_shared_library("libes2panda") {
10383af6ab5fSopenharmony_ci  deps = [ ":libes2panda_frontend_static" ]
10393af6ab5fSopenharmony_ci  output_extension = "so"
10403af6ab5fSopenharmony_ci  part_name = "ets_frontend"
10413af6ab5fSopenharmony_ci  subsystem_name = "arkcompiler"
10423af6ab5fSopenharmony_ci}
10433af6ab5fSopenharmony_ci
10443af6ab5fSopenharmony_ciohos_source_set("libes2panda_frontend_static") {
10453af6ab5fSopenharmony_ci  sources = libes2panda_sources
10463af6ab5fSopenharmony_ci
10473af6ab5fSopenharmony_ci  configs = libes2panda_configs
10483af6ab5fSopenharmony_ci
10493af6ab5fSopenharmony_ci  deps = [
10503af6ab5fSopenharmony_ci    ":gen_${LIB_NAME}_decl_inc",
10513af6ab5fSopenharmony_ci    ":gen_${LIB_NAME}_enums_inc",
10523af6ab5fSopenharmony_ci    ":gen_${LIB_NAME}_impl_inc",
10533af6ab5fSopenharmony_ci    ":gen_${LIB_NAME}_include_inc",
10543af6ab5fSopenharmony_ci    ":gen_${LIB_NAME}_list_inc",
10553af6ab5fSopenharmony_ci    ":gen_es2panda_compiler_signatures_h",
10563af6ab5fSopenharmony_ci    ":gen_es2panda_lexer_keywords_h",
10573af6ab5fSopenharmony_ci    ":isa_gen_es2panda_formats_h",
10583af6ab5fSopenharmony_ci    ":isa_gen_es2panda_isa_h",
10593af6ab5fSopenharmony_ci    "$ark_third_party_root/icu/icu4c:static_icui18n",
10603af6ab5fSopenharmony_ci    "$ark_third_party_root/icu/icu4c:static_icuuc",
10613af6ab5fSopenharmony_ci  ]
10623af6ab5fSopenharmony_ci  external_deps = [
10633af6ab5fSopenharmony_ci    "runtime_core:libarktsassembler_package",
10643af6ab5fSopenharmony_ci    "runtime_core:libarktsbase_package",
10653af6ab5fSopenharmony_ci    "runtime_core:libarktscompiler_package",
10663af6ab5fSopenharmony_ci    "runtime_core:libarktsfile_package",
10673af6ab5fSopenharmony_ci    sdk_libc_secshared_dep,
10683af6ab5fSopenharmony_ci  ]
10693af6ab5fSopenharmony_ci  part_name = "ets_frontend"
10703af6ab5fSopenharmony_ci  subsystem_name = "arkcompiler"
10713af6ab5fSopenharmony_ci}
10723af6ab5fSopenharmony_ci
10733af6ab5fSopenharmony_ciohos_shared_library("libes2panda_public") {
10743af6ab5fSopenharmony_ci  deps = [ ":libes2panda_public_frontend_static" ]
10753af6ab5fSopenharmony_ci  output_extension = "so"
10763af6ab5fSopenharmony_ci  part_name = "ets_frontend"
10773af6ab5fSopenharmony_ci  subsystem_name = "arkcompiler"
10783af6ab5fSopenharmony_ci}
10793af6ab5fSopenharmony_ci
10803af6ab5fSopenharmony_ciohos_source_set("libes2panda_public_frontend_static") {
10813af6ab5fSopenharmony_ci  sources = libes2panda_public_sources
10823af6ab5fSopenharmony_ci
10833af6ab5fSopenharmony_ci  configs = libes2panda_public_configs
10843af6ab5fSopenharmony_ci
10853af6ab5fSopenharmony_ci  deps = [ ":libes2panda_frontend_static" ]
10863af6ab5fSopenharmony_ci
10873af6ab5fSopenharmony_ci  if (ark_standalone_build || ark_static_standalone_build) {
10883af6ab5fSopenharmony_ci    deps += [ "$ark_root/bytecode_optimizer:libarktsbytecodeopt_package" ]
10893af6ab5fSopenharmony_ci  }
10903af6ab5fSopenharmony_ci
10913af6ab5fSopenharmony_ci  external_deps = [
10923af6ab5fSopenharmony_ci    "runtime_core:libarktsbytecodeopt_package",
10933af6ab5fSopenharmony_ci    sdk_libc_secshared_dep,
10943af6ab5fSopenharmony_ci  ]
10953af6ab5fSopenharmony_ci  part_name = "ets_frontend"
10963af6ab5fSopenharmony_ci  subsystem_name = "arkcompiler"
10973af6ab5fSopenharmony_ci}
10983af6ab5fSopenharmony_ci
10993af6ab5fSopenharmony_ciark_isa_gen("isa_gen_es2panda") {
11003af6ab5fSopenharmony_ci  template_files = [
11013af6ab5fSopenharmony_ci    "isa.h.erb",
11023af6ab5fSopenharmony_ci    "formats.h.erb",
11033af6ab5fSopenharmony_ci  ]
11043af6ab5fSopenharmony_ci  sources = "compiler/templates"
11053af6ab5fSopenharmony_ci  destination = "$target_gen_dir/generated"
11063af6ab5fSopenharmony_ci}
11073af6ab5fSopenharmony_ci
11083af6ab5fSopenharmony_ciark_gen("gen_es2panda_lexer") {
11093af6ab5fSopenharmony_ci  data = [ "lexer/scripts/keywords.yaml" ]
11103af6ab5fSopenharmony_ci  template_files = [ "keywords.h.erb" ]
11113af6ab5fSopenharmony_ci  sources = "lexer/templates"
11123af6ab5fSopenharmony_ci  destination = "$target_gen_dir/generated"
11133af6ab5fSopenharmony_ci  api = [ "lexer/scripts/keywords.rb" ]
11143af6ab5fSopenharmony_ci}
11153af6ab5fSopenharmony_ci
11163af6ab5fSopenharmony_ciark_gen("gen_es2panda_compiler") {
11173af6ab5fSopenharmony_ci  data = [ "compiler/scripts/signatures.yaml" ]
11183af6ab5fSopenharmony_ci  template_files = [ "signatures.h.erb" ]
11193af6ab5fSopenharmony_ci  sources = "compiler/templates"
11203af6ab5fSopenharmony_ci  destination = "$target_gen_dir/generated"
11213af6ab5fSopenharmony_ci  api = [ "compiler/scripts/signatures.rb" ]
11223af6ab5fSopenharmony_ci}
1123