xref: /interface/sdk_c/third_party/node/BUILD.gn (revision 7777dab0)
17777dab0Sopenharmony_ci# Copyright (c) 2022 Huawei Device Co., Ltd.
27777dab0Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
37777dab0Sopenharmony_ci# you may not use this file except in compliance with the License.
47777dab0Sopenharmony_ci# You may obtain a copy of the License at
57777dab0Sopenharmony_ci#
67777dab0Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
77777dab0Sopenharmony_ci#
87777dab0Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
97777dab0Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
107777dab0Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
117777dab0Sopenharmony_ci# See the License for the specific language governing permissions and
127777dab0Sopenharmony_ci# limitations under the License.
137777dab0Sopenharmony_ci
147777dab0Sopenharmony_ciimport("//build/ohos.gni")
157777dab0Sopenharmony_ci
167777dab0Sopenharmony_ciohos_ndk_headers("node_header") {
177777dab0Sopenharmony_ci  dest_dir = "$ndk_headers_out_dir"
187777dab0Sopenharmony_ci  sources = [
197777dab0Sopenharmony_ci    "//third_party/node/src/js_native_api.h",
207777dab0Sopenharmony_ci    "//third_party/node/src/js_native_api_types.h",
217777dab0Sopenharmony_ci    "//third_party/node/src/node_api.h",
227777dab0Sopenharmony_ci    "//third_party/node/src/node_api_types.h",
237777dab0Sopenharmony_ci  ]
247777dab0Sopenharmony_ci}
25