• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021-2022 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
14import("//build/ohos.gni")
15
16# for js-loader
17ohos_prebuilt_executable("js_js2abc_api8_linux") {
18  source = "./api8/bin/linux/js2abc"
19  part_name = "ets_frontend"
20  subsystem_name = "arkcompiler"
21}
22
23ohos_prebuilt_executable("js_js2abc_api8_win") {
24  source = "./api8/bin/win/js2abc.exe"
25  part_name = "ets_frontend"
26  subsystem_name = "arkcompiler"
27}
28
29ohos_prebuilt_executable("js_js2abc_api8_mac") {
30  source = "./api8/bin/mac/js2abc"
31  part_name = "ets_frontend"
32  subsystem_name = "arkcompiler"
33}
34
35ohos_prebuilt_etc("js_ts2abc_api8_linux") {
36  source = "./api8/src/index.js"
37  part_name = "ets_frontend"
38  subsystem_name = "arkcompiler"
39}
40
41ohos_prebuilt_etc("js_ts2abc_api8_win") {
42  source = "./api8/src/index.js"
43  part_name = "ets_frontend"
44  subsystem_name = "arkcompiler"
45}
46
47ohos_prebuilt_etc("js_ts2abc_api8_mac") {
48  source = "./api8/src/index.js"
49  part_name = "ets_frontend"
50  subsystem_name = "arkcompiler"
51}
52
53ohos_prebuilt_etc("js_package_api8_linux") {
54  source = "./api8/package.json"
55  part_name = "ets_frontend"
56  subsystem_name = "arkcompiler"
57}
58
59ohos_prebuilt_etc("js_package_api8_win") {
60  source = "./api8/package.json"
61  part_name = "ets_frontend"
62  subsystem_name = "arkcompiler"
63}
64
65ohos_prebuilt_etc("js_package_api8_mac") {
66  source = "./api8/package.json"
67  part_name = "ets_frontend"
68  subsystem_name = "arkcompiler"
69}
70
71ohos_prebuilt_etc("js_package-lock_api8_linux") {
72  source = "./api8/package-lock.json"
73  part_name = "ets_frontend"
74  subsystem_name = "arkcompiler"
75}
76
77ohos_prebuilt_etc("js_package-lock_api8_win") {
78  source = "./api8/package-lock.json"
79  part_name = "ets_frontend"
80  subsystem_name = "arkcompiler"
81}
82
83ohos_prebuilt_etc("js_package-lock_api8_mac") {
84  source = "./api8/package-lock.json"
85  part_name = "ets_frontend"
86  subsystem_name = "arkcompiler"
87}
88
89# for ets-loader
90ohos_prebuilt_executable("ets_js2abc_api8_linux") {
91  source = "./api8/bin/linux/js2abc"
92  part_name = "ets_frontend"
93  subsystem_name = "arkcompiler"
94}
95
96ohos_prebuilt_executable("ets_js2abc_api8_win") {
97  source = "./api8/bin/win/js2abc.exe"
98  part_name = "ets_frontend"
99  subsystem_name = "arkcompiler"
100}
101
102ohos_prebuilt_executable("ets_js2abc_api8_mac") {
103  source = "./api8/bin/mac/js2abc"
104  part_name = "ets_frontend"
105  subsystem_name = "arkcompiler"
106}
107
108ohos_prebuilt_etc("ets_ts2abc_api8_linux") {
109  source = "./api8/src/index.js"
110  part_name = "ets_frontend"
111  subsystem_name = "arkcompiler"
112}
113
114ohos_prebuilt_etc("ets_ts2abc_api8_win") {
115  source = "./api8/src/index.js"
116  part_name = "ets_frontend"
117  subsystem_name = "arkcompiler"
118}
119
120ohos_prebuilt_etc("ets_ts2abc_api8_mac") {
121  source = "./api8/src/index.js"
122  part_name = "ets_frontend"
123  subsystem_name = "arkcompiler"
124}
125
126ohos_prebuilt_etc("ets_package_api8_linux") {
127  source = "./api8/package.json"
128  part_name = "ets_frontend"
129  subsystem_name = "arkcompiler"
130}
131
132ohos_prebuilt_etc("ets_package_api8_win") {
133  source = "./api8/package.json"
134  part_name = "ets_frontend"
135  subsystem_name = "arkcompiler"
136}
137
138ohos_prebuilt_etc("ets_package_api8_mac") {
139  source = "./api8/package.json"
140  part_name = "ets_frontend"
141  subsystem_name = "arkcompiler"
142}
143
144ohos_prebuilt_etc("ets_package-lock_api8_linux") {
145  source = "./api8/package-lock.json"
146  part_name = "ets_frontend"
147  subsystem_name = "arkcompiler"
148}
149
150ohos_prebuilt_etc("ets_package-lock_api8_win") {
151  source = "./api8/package-lock.json"
152  part_name = "ets_frontend"
153  subsystem_name = "arkcompiler"
154}
155
156ohos_prebuilt_etc("ets_package-lock_api8_mac") {
157  source = "./api8/package-lock.json"
158  part_name = "ets_frontend"
159  subsystem_name = "arkcompiler"
160}
161