Android Building System Analysis
By thinker
2 columns
Keywords:
Android
Coding
To learn about a system, I often start with makefile or building system,What are the elements of system composition? What is the final structure of the project? For androidAnd I am no exception.Through understanding the building system, we can know how to add, modify, and delete programs,And maintain integrity.
Set hosts
Andr
the core of the android compilation system is the make introduced at the end of Chapter 1st. Based on this, a compilation framework suitable for Android is established. MK files, shell scripts, and Python scripts are combined. The system modules of the framework can be compiled or packaged separately, or integrated and packaged according to certain rules; the co
Android compilation process (I): http://www.cnblogs.com/mr-raptor/archive/2012/06/07/2540359.html
Android compilation process (2): http://www.cnblogs.com/mr-raptor/archive/2012/06/08/2541571.html
Android compilation process (3): http://www.cnblogs.com/mr-raptor/archive/2012/06/12/2547030.html
The previous two sections explain how to customize
Android Compilation System Analysis
Since the android open source, it has aroused a boom in the embedded industry. Many embedded developers expressed strong interest in Android and downloaded the android source code for compilation and transplantation. The huge Android sour
required.
Ndk only provides system header files supported by limited local APIs and library files on the Android platform. However, a standard Android system image includes many local shared libraries, all of these should be taken into account the implementation details that can be thoroughly changed in the update and release versions.
If the Android system li
From: http://blog.csdn.net/yili_xie/article/details/5004205
It took me a month to look at Android make. On the Internet, I always saw some prawns saying that I overviewed Android make in one day, I have to lament that the strength of the prawns and the progress of the snails can be despised. However, the android make system is completely clear, and the gods who
other extensions can also be well processed (see Docs/ANDROID-MK.TXT files ).
You can store your source files in different locations as long as you create $ ndk/sources/
3.3 compile the Android. mk compilation script:----------------------
The android. mk file is a small co
The android compiling environment is complex, and unlike the normal compiling environment: Only makefile files are available in the top-level directory, while each other component uses the unified standard android. mk. android. the MK file itself is relatively simple, but it
[Android] MTK Android compilation command, androidmtk
Command Format:./maketek [option] [project] [action] [modules] Option: -T,-tee: Output log information to the current terminal -O,-opt = ...... : Compile additional conditions. Generally, use-opt = TARGET_BUILD_VARIANT = user to compile the user board software. -H, help: print the help information and exit Project: Project name, for example, basicom
files:
1. A set of cross-compilation tools, including compilers and connectors, can be used to generate arm binary files on Linux, OS X and windows (through cygwin) platforms.
2. A set of system header files corresponding to the stable local API list supported by the Android platform are described in the file docs/STABLE-APIS.TXT. The stable API here refers to the APIs that can be supported by the current and later versions, because most local system
ALL_DEFAULT_INSTALLED_MODULES += $(_fulldest)) $(eval unique_product_copy_files_destinations += $(_dest))))unique_product_copy_files_pairs :=unique_product_copy_files_destinations :=
This isPRODUCT_COPY_FILESWhere it works! You can refer to the above annotations and describe the rule usage,Only file can be copied.!
That is, the source of the above compilation and printing, which indicates that the items are ignored. Detailed rules can be followed in detail, and t
From: http://blog.csdn.net/linweig/archive/2009/12/24/5061016.aspx
Android building system includes important configuration items,(1) Android. mk(2) androidproducts. mk(3) Target _-. mk, host _-. mk and-.
This article describes how to use Android ndk (r7) to set the android local code compilation tool chain and how to compile Android based on makefile. MK, and uses FFMPEG (0.8.5) as an example to describe how to use this tool chain port. The compiled library file can be used to call the FFMPEG decoding library through a
Method One, Windows with the hh.exe open
About the CHM is what format file, how to play School without worry in front of the involved, you can go to see this article. The above is to open the CHM file by using the hh.exe program from the Windows
Modify:
Android2.3.4 _ gb_t34/build/CORE/Main. mk
# Ifneq (64, $ (findstring 64, $ (build_arch) // open this Annotation
Ifneq (i686, $ (findstring i686, $ (build_arch) // annotate this line$ (Warning ************************************* ***********************)$ (Warning you are attempting to build on a 32-bit system .)$ (Warning only 64-bit build environments are supported beyond froyo/2.2 .)
$ (Warning ***********************************
, do you have more requirements? Compile it by yourself...
4. debugging is really difficult. In Windows, the gdb connection debugging is only successful once, and the rest are inexplicably stuck. Use the log for the time being. It is also convenient, because it is a library that has been properly run on Win32 and WM, so there are not many debugging tasks.
2. Android. mk and application.
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.