Output print messages in the Android.mk file (reprint)

Source: Internet
Author: User

Transferred from: http://blog.csdn.net/xiaibiancheng/article/details/8479694

In the development of the Android NDK sometimes want to look at the value of a variable in the Android.mk file, you can then android.mk the file with the Warnin statement to implement the function if there is a android.mk file content as follows:

    Local_path: = $ (call my-dir)            include $ (clear_vars)            local_module    := hello-jni      local_src _files:= hello-jni.c            include $ (build_shared_library)  

We want to see how much the Local_path value is, so we can output it in the following way.

Local_path: = $ (call my-dir)  "Thevalue of Local_path is$ (local_path)")  include $ (clear_vars)    Local_module    := hello-jni  local_src_files:= hello-jni.c    

Finally, the result is:

Output print messages in the Android.mk file (reprint)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.