mmm hardware/libhardware_legacy/power/

news/2025/2/25 6:59:13

android源码目录下的build/envsetup.sh文件,描述编译的命令

- m:       Makes from the top of the tree. 
- mm:      Builds all of the modules in the current directory. 
- mmm:     Builds all of the modules in the supplied directories. 

要想使用这些命令,首先需要在android源码根目录执行. build/envsetup.sh 脚本设置环境

m:编译所有的模块 
mm:编译当前目录下的模块,当前目录下要有Android.mk文件 
mmm:编译指定路径下的模块,指定路径下要有Android.mk文件 

下面举个例子说明,假设我要编译android下的\hardware\libhardware_legacy\power模块,当前目录为源码根目录,方法如下: 

1、. build/envsetup.sh 
2、mmm hardware/libhardware_legacy/power/ 

或者 : 

1、. build/envsetup.sh 
2、cd hardware/libhardware_legacy/power/ 

3、mm


http://www.niftyadmin.cn/n/711138.html

相关文章

关于form表单回车自动刷新

现象: form表单,输入框聚焦后,回车,页面刷新跳转。 原因: form表单,在只有一个输入框的时候,在点击回车时,就会触发表单的提交,而form若没有url,则提交后就会…

Java8新特性——新一套日期时间API

文章目录: 1.新旧对比(线程安全问题) 2.LocalDate 3.LocalTime 4.LocalDateTime 5.Instant 6.Duration、Period 7.TestTemporalAdjuster、TestTemporalAdjusters 8.DateTimeFormatter 1.新旧对比(线程安全问题&#xff09…

Request.InputStream 将数据作为XML数据发送

将数据作为XML数据发送,例如: public voidPostXml(stringurl, stringxml){ byte[] bytes Encoding.UTF8.GetBytes(xml); HttpWebRequest request (HttpWebRequest) WebRequest.Create(url); request.Method "POST"; request.ContentLength bytes.Len…

oauth2学习

oauth2 生词: 授权码模式(authorization code)简化模式(implicit)密码模式(resource owner password credentials)客户端模式(client credentials)问题: 分享…

AndroidImagePicker 的使用

github地址 https://github.com/easonline/AndroidImagePicker 效果图 本文转自Work Hard Work Smart博客园博客,原文链接:http://www.cnblogs.com/linlf03/p/5235541.html,如需转载请自行联系原作者

SpringBoot——四大核心之指标监控(actuator)

1.写在前面 首先肯定要说一下SpringBoot的四大核心了: 自动装配:简单配置甚至零配置即可运行项目起步依赖:场景启动器Actuator:指标监控命令行界面 :命令行这篇文章呢,我来和大家聊聊指标监控这个东西。 2.…

[Google] 出现次数最多的前K个元素

bob, joe, bob, jane, bob, joe, jack bob 3 joe 2 topN(2) bob, joe . interface TopN {void insert(String query);List<String> getTop(int n); } 用map<string, int>来存string在数组v中的下标&#xff0c;v存包含string与出现次数cnt的结构体&#xff0c;每…

JavaScript 内存泄漏教程

作者&#xff1a; 阮一峰日期&#xff1a; 2017年4月16日一、什么是内存泄漏&#xff1f;程序的运行需要内存。只要程序提出要求&#xff0c;操作系统或者运行时&#xff08;runtime&#xff09;就必须供给内存。对于持续运行的服务进程&#xff08;daemon&#xff09;&#xf…