Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Program compilation method and relevant device

A technology for compiling programs and compiling files is applied in the field of program compiling methods and related devices, which can solve the problems that Android source code compiling occupies many resources and takes a long time, so as to improve system development efficiency, save occupied time and resources, and reduce small footprint effect

Active Publication Date: 2014-06-18
XIAOMI INC
View PDF4 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present disclosure provide a program compiling method and related devices to solve the problem that Android source code compiling takes up a lot of resources and takes a long time

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Program compilation method and relevant device
  • Program compilation method and relevant device
  • Program compilation method and relevant device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0074] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

[0075] For example, a certain module corresponds to target file A, and target file A depends on file B (that is, target file A is created by file B). When compiling target file A, the Make tool first checks whether there is a file B that meets the dependency condition. If If it does not exist, the target file A can be obtained by compiling the file B after compiling the file B. It can...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a program compilation method and a relevant device. The method comprises the steps of querying a dependent file depended by a selected file to be compiled from a first directory tree stored on a compilation host; then obtaining the dependent file from a second directory tree stored on a compilation server; using the dependent file for compiling the file to be compiled to obtain an object file. The effect of depending on the other directory tree (the second directory tree) in addition to the directory tree of the file to be compiled during compilation of Android source codes is realized, a set of complete Android source codes is not required to be downloaded and maintained by research and development personnel, source codes corresponding to a module are only required to be downloaded and the occupied space of a hard disk is reduced. Moreover, the dependent file required by the object file can be directly obtained from the second directory tree, the dependent file can be obtained without performing compilation and the time and resources for compiling the dependent file are saved. Accordingly, the required hard disk space and the compilation time are greatly reduced and the system development efficiency is improved.

Description

technical field [0001] The present disclosure relates to the field of computer technology, in particular to a program compiling method and related devices. Background technique [0002] Program compilation is to convert a high-level programming language into a machine language that can be recognized by computer hardware, so that the computer can process it. [0003] The Android system is a semi-open-source operating system based on Linux, which is mainly used in mobile terminals (such as smart phones, tablet computers, etc.). Mobile terminal manufacturers can customize their own Android systems according to their own hardware personality. At this time, they need System developers develop and compile the source code of the system. [0004] When compiling the source code of Android, a large-scale development project can be decomposed into multiple more manageable modules or sub-projects, and there may be dependencies between modules or sub-projects. When compiling an object f...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/45
Inventor 葛旭东汪文俊许瑞军
Owner XIAOMI INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products