How to output the values of variables in ANDROID.MK and APPLICATION.MK

Source: Internet
Author: User

To know the values of the variables in android.mk and APPLICATION.MK can be created by creating the following two. mk Files:

    • Print_android_variable.mk
    • Print_application_variable.mk

Include to a location in the Android.mk file:

1 include $ (local_path) \print_android_variable.mk 2 include $ (local_path) \print_application_variable.mk
View Code

The file print_android_variable.mk content is as follows:

1$ (Warning Clear_vars =$ (clear_vars))2$ (Warning Build_shared_library =$ (build_shared_library))3$ (Warning Build_static_library =$ (build_static_library))4$ (Warning Prebuilt_shared_library =$ (prebuilt_shared_library))5$ (Warning Target_arch =$ (target_arch))6$ (Warning Target_platform =$ (target_platform))7$ (Warning Target_arch_abi =$ (Target_arch_abi))8$ (Warning Target_abi =$ (Target_abi))9$ (Warning Local_path =$ (local_path))Ten$ (Warning Local_module =$ (local_module)) One$ (Warning Local_module_filename =$ (local_module_filename)) A$ (Warning Local_src_files =$ (local_src_files)) -$ (Warning Local_cpp_extension =$ (local_cpp_extension)) -$ (Warning Local_c_includes =$ (local_c_includes)) the$ (Warning Local_cflags =$ (local_cflags)) -$ (Warning Local_cxxflags =$ (local_cxxflags)) -$ (Warning Local_cppflags =$ (local_cppflags)) -$ (Warning Local_static_libraries =$ (local_static_libraries)) +$ (Warning Local_shared_libraries =$ (local_shared_libraries)) -$ (Warning Local_whole_static_libraries =$ (local_whole_static_libraries)) +$ (Warning Local_ldlibs =$ (local_ldlibs)) A$ (Warning Local_ldflags =$ (local_ldflags)) at$ (Warning Local_allow_undefined_symbols =$ (local_allow_undefined_symbols)) -$ (Warning Local_arm_mode =$ (local_arm_mode)) -$ (Warning Local_arm_neon =$ (local_arm_neon)) -$ (Warning Local_disable_no_execute =$ (local_disable_no_execute)) -$ (Warning LOCAL_DISABLE_RELRO =$ (LOCAL_DISABLE_RELRO)) -$ (Warning Local_disable_format_string_checks =$ (local_disable_format_string_checks)) in$ (Warning Local_export_cflags =$ (local_export_cflags)) -$ (Warning Local_export_cppflags =$ (local_export_cppflags)) to$ (Warning Local_export_c_includes =$ (local_export_c_includes)) +$ (Warning Local_export_ldflags =$ (local_export_ldflags)) -$ (Warning Local_export_ldlibs =$ (local_export_ldlibs)) the$ (Warning Local_short_commands =$ (local_short_commands)) *$ (Warning local_thin_archive =$ (local_thin_archive)) $$ (Warning Local_filter_asm = $ (local_filter_asm))
View Code

The file print_application_variable.mk content is as follows:

1$ (Warning App_project_path =$ (app_project_path))2$ (Warning App_modules =$ (app_modules))3$ (Warning App_optim =$ (app_optim))4$ (Warning App_cflags =$ (app_cflags))5$ (Warning App_cxxflags =$ (app_cxxflags))6$ (Warning App_cppflags =$ (app_cppflags))7$ (Warning App_ldflags =$ (app_ldflags))8$ (Warning App_build_script =$ (app_build_script))9$ (Warning App_abi =$ (App_abi))Ten$ (Warning App_platform =$ (app_platform)) One$ (Warning App_stl =$ (app_stl)) A$ (Warning App_gnustl_force_cpp_features =$ (app_gnustl_force_cpp_features)) -$ (Warning App_short_commands =$ (app_short_commands)) -$ (Warning Ndk_toolchain_version =$ (ndk_toolchain_version)) the$ (Warning App_pie =$ (app_pie)) -$ (Warning App_thin_archive = $ (app_thin_archive))
View Code

How to output the values of variables in android.mk and application.mk

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.