511 people read comments (0) from
Figure 1 makefile structure of Android
Android compilation files mainly depend on MK files. The source code compilation name is Android. mk, which is not a common MAKEFILE file.
The MAKEFILE file in the android Directory includes the main. mk file in the build/Core directory.
Main. mk
the core content of the android compilation system.2. Android build systemSystem) is concentrated in build/Core under the android source code. In android2.256 *. mk files. There are also some shell scripts. The android compilation system does not only perform binary operations on the target (host) system.Compiling files, compiling, linking, and packaging Java applications, as well as generating various dependencies and ensuring that modifications to
In actual work, we often accidentally delete the database or table and regret it. Is there any regret to take? The delayed backup described today can be achieved.Delayed backup causes slave to lag behind the master for a period of time. When a misoperation occurs, you only need to immediately stop slave synchronization, and you can easily retrieve the accidentally deleted data from the delayed backup database.The following describes how to use mk-slav
++ ++
This article is original on this site. You are welcome to repost it! Reprinted please indicate the source:
Http://blog.csdn.net/mr_raptor/article/details/7540730
++ ++
Android compilation system (I): http://blog.csdn.net/mr_raptor/article/details/7539978
Android compilation system (2): http://blog.csdn.net/mr_raptor/article/details/7540066
Android compilation system (3): http://blog.csdn.net/mr_raptor/article/details/7540730
The previous two sections explain how to customize Android compi
"which wowould you like? [Generic-Eng]"Read answer..................# Separate the product in the product-variant model# Separating the variant of the product-variant model# Check to see if it is within the range of (User userdebug ENG)Export target_product = $ ProductExport target_build_variant = $ VariantExport target_simulator = falseExport target_build_type = releasePrintconfig// Print some major variables and call the relation printconfig ()-> get_build_var ()-> build/CORE/config.
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
AndroidBuilding system includes important configuration items,
Android.
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 items and create Product configuration files. In addition to compiling and defining Product-related environment variables, you also nee
build/target/board/*/boardconfig. mk vendor/*/boardconfig. mk 2>/dev/null ')Read the board configuration file boardconfig. mk In the build/target/board/* directory.Read the board configuration file boardconfig. mk in the directory of Vendor /*/.Choices value:Build/target/board/emulator/boardconfig. mkBuild/target/boar
------: In addition to the full permissions of the directory owner, other users have no permissions on the directory at all.
Examples are as follows:Each user has its own directory, which is usually placed under/home
[Email protected] home]# ll/home/
Total dosage 0
DRWX------. 3 Mk Mk 78 September MK
NOTE: [rwx------] indicates that the
the tape. in this way, the amount of data written to the tape can be greatly reduced, thus shortening the time to write the tape to a considerable extent. in addition, from an internal perspective of Oracle, starting from Version 7.3, Oracle allows users to perform direct path export, that is, skipping Oracle $ Make-F $ ORACLE_HOME/rdbms/lib/oracle. mk expst $ Make-F $ ORACLE_HOME/rdbms/lib/oracle. mk i
The basic structure of makefile of u-boot1.3.2 is analyzed as follows:The main directory contains a makefile, a config. mk, and a mkconfig script.(1) first, the user needs makeSmdk2410_config, so that makefile will generate include/config. mk using the mkconfig script.Arch, board, CPU, Soc, and other variables can be used by other makefiles as a basic configuration.MakeSmdk2410_config, so include/config.
It's easy to use a BFs. Pay attention to it and cut it over ~~ 6 minutes to complete code debugging. 5 minutes later, it's still amazing ~~~
The following is a problem with the HDU server code. the maximum time for each submission is 765 ms or a small value.
Of course, it can be further optimized. For example, bit operation processing may take more than twice as long as it is too time-consuming to write.
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlight
1. How to compile a specific product for Android
First, let's take a look at how Android Makefile parses the environment variable TARGET_PRODUCT.
The reference relationship of Android Makefile is as follows: Makefile-> build/core/main. mk-> build/core/config. mk-> build/core/envsetup. mk-> build/core/product_config.mk compile the system in build/core/product_con
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 source code (repo down, about 2 GB) gives people the illusion that android is quite complex. From the android compiling system perspective, this article shows you that android is actually pure.
The android compilation system is c
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 had to set up this mechanism had to worship it and burn the three-pillar high incense with sincerity, when you are amazed at the greatn
the line is straight, then for a grid within the railway must be linked horizontally or vertically linked, then we have all the small animal points to split two points, representing the matching horizontal row and matching vertical line, and then for the two matching degrees are matched to the same direction can be easily counted.See the code for the concrete map.Code (no cost Flow section):intp[ -][ -],n,m,fix,fix2,mk[ -][ -],sz; intWT,BL; intGetmin
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
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 library is not explicitly supported by ndk, then the application should not rely on it to provide, or break the wireless system updates o
When Android integrates a new product, considerations for lunch's product name and device name
In the Android system lunch, the current Product process includes the following parts:
1. lunch: Determine TARGET_PRODUCT. Generally, the vendorsetup. sh script in the vendor/device/build/target/product contains user/eng/userdebug, respectively.
2. check the rationality of product development.
By loading the AndroidProduct. mk file in the vendor/device/build
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.