提交 365843af 编写于 作者: L leon

Fix bug about build

上级 295989d6
......@@ -10,10 +10,11 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import("//build/lite/config/component/lite_component.gni")
import("//build/lite/config/test.gni")
if (defined(ohos_lite)) {
import("//build/lite/config/component/lite_component.gni")
import("//build/lite/config/test.gni")
unittest("init_test") {
unittest("init_test") {
output_extension = "bin"
output_dir = "$root_out_dir/test/unittest/startup"
ldflags = [
......@@ -43,8 +44,15 @@ unittest("init_test") {
"//build/lite/config/component/cJSON:cjson_shared",
"//third_party/bounds_checking_function:libsec_shared",
]
}
}
group("unittest") {
group("unittest") {
deps = [ ":init_test" ]
}
} else {
import("//build/ohos.gni")
sources = []
group("unittest") {
deps = []
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册