1# Copyright (c) 2021 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14common_include = [ 15 "./common", 16 "./engine", 17 "//foundation/ace/napi", 18 "//foundation/ace/napi/interfaces/innerkits", 19 "//foundation/ace/napi/interfaces/kits", 20 "//foundation/ace/napi/native_engine", 21 "//third_party/googletest/include", 22 "//third_party/node/src", 23 "//utils/native/base/include", 24] 25 26quickjs_include = common_include 27quickjs_include += [ "//foundation/ace/napi/native_engine/impl/quickjs" ] 28 29ark_include = common_include 30ark_include += [ 31 "//ark/js_runtime", 32 "//foundation/ace/napi/native_engine/impl/ark", 33] 34 35jerryscript_include = common_include 36jerryscript_include += [ 37 "//foundation/ace/napi/native_engine/impl/jerryscript", 38 "//third_party/jerryscript", 39 "//third_party/jerryscript/jerry-core/include", 40] 41 42common_deps = [ 43 "//third_party/googletest:gtest", 44 "//third_party/googletest:gtest_main", 45 "//third_party/libuv:uv", 46 "//utils/native/base:utils", 47] 48 49quickjs_deps = common_deps 50quickjs_deps += [ 51 "//foundation/ace/napi:ace_napi_quickjs", 52 "//third_party/quickjs:qjs", 53] 54 55ark_deps = common_deps 56ark_deps += [ 57 "//ark/js_runtime:libark_jsruntime", 58 "//foundation/ace/napi:ace_napi_ark", 59] 60 61jerryscript_deps = common_deps 62jerryscript_deps += [ 63 "//foundation/ace/napi:ace_napi_jerryscript", 64 "//third_party/jerryscript:libjerryscript", 65] 66