提交 a79aa322 编写于 作者: Y yangming_ha

#I3XHRS:增加gn版本号的检查

上级 3dcbb5a2
...@@ -12,6 +12,9 @@ ...@@ -12,6 +12,9 @@
# limitations under the License. # limitations under the License.
import("//build/lite/ndk/ndk.gni") import("//build/lite/ndk/ndk.gni")
# gn version >= 1717 required.
assert(gn_version >= 1717, "GN version 1717 required, please upgrade!")
# write version info. # write version info.
version_info = [ "VERSION=\"$ohos_version\"", version_info = [ "VERSION=\"$ohos_version\"",
"BUILD_TIME=\"$ohos_build_datetime\""] "BUILD_TIME=\"$ohos_build_datetime\""]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册