当前位置: 首页 > article >正文

在线查看 Android 系统源代码 Android Code Search

在线查看 Android 系统源代码 Android Code Search

  • 1. Android Code Search
  • 2. Android
    • 2.1. platform/superproject
    • 2.2. build/envsetup.sh
    • 2.3. build/make/envsetup.sh
  • References

1. Android Code Search

https://cs.android.com/

在这里插入图片描述

Android
https://cs.android.com/android
Android is a mobile operating system developed by Google

AndroidX
https://cs.android.com/androidx
Libraries for Android development

Android Studio
https://cs.android.com/android-studio
Android Studio projects for building Android applications

Android-llvm
https://cs.android.com/android-llvm
Android branch of the LLVM Project (a collection of modular and reusable compiler and toolchain technologies)

2. Android

https://cs.android.com/android

Android is a mobile operating system developed by Google

在这里插入图片描述

2.1. platform/superproject

https://cs.android.com/android/platform/superproject

Repository Root -> Files and Directories

在这里插入图片描述

Branch

在这里插入图片描述

2.2. build/envsetup.sh

Symbolic link
This item is a symbolic link. Use the path below to view the item it refers to.
Path: build/make/envsetup.sh

2.3. build/make/envsetup.sh

在这里插入图片描述

source ./build/make/envsetup.sh
hmm
Run "m help" for help with the build system itself.

Invoke ". build/envsetup.sh" from your shell to add the following functions to your environment:
- lunch:      lunch <product_name>-<release_type>-<build_variant>
              Selects <product_name> as the product to build, and <build_variant> as the variant to
              build, and stores those selections in the environment to be read by subsequent
              invocations of 'm' etc.
- tapas:      tapas [<App1> <App2> ...] [arm|x86|arm64|x86_64] [eng|userdebug|user]
              Sets up the build environment for building unbundled apps (APKs).
- banchan:    banchan <module1> [<module2> ...] \\
                      [arm|x86|arm64|riscv64|x86_64|arm64_only|x86_64only] [eng|userdebug|user]
              Sets up the build environment for building unbundled modules (APEXes).
- croot:      Changes directory to the top of the tree, or a subdirectory thereof.
- m:          Makes from the top of the tree.
- mm:         Builds and installs all of the modules in the current directory, and their
              dependencies.
- mmm:        Builds and installs all of the modules in the supplied directories, and their
              dependencies.
              To limit the modules being built use the syntax: mmm dir/:target1,target2.
- mma:        Same as 'mm'
- mmma:       Same as 'mmm'
- provision:  Flash device with all required partitions. Options will be passed on to fastboot.
- cgrep:      Greps on all local C/C++ files.
- ggrep:      Greps on all local Gradle files.
- gogrep:     Greps on all local Go files.
- jgrep:      Greps on all local Java files.
- jsongrep:   Greps on all local Json files.
- ktgrep:     Greps on all local Kotlin files.
- resgrep:    Greps on all local res/*.xml files.
- mangrep:    Greps on all local AndroidManifest.xml files.
- mgrep:      Greps on all local Makefiles and *.bp files.
- owngrep:    Greps on all local OWNERS files.
- rsgrep:     Greps on all local Rust files.
- sepgrep:    Greps on all local sepolicy files.
- sgrep:      Greps on all local source files.
- tomlgrep:   Greps on all local Toml files.
- pygrep:     Greps on all local Python files.
- godir:      Go to the directory containing a file.
- allmod:     List all modules.
- gomod:      Go to the directory containing a module.
- bmod:       Get the Bazel label of a Soong module if it is converted with bp2build.
- pathmod:    Get the directory containing a module.
- outmod:     Gets the location of a module's installed outputs with a certain extension.
- dirmods:    Gets the modules defined in a given directory.
- installmod: Adb installs a module's built APK.
- refreshmod: Refresh list of modules for allmod/gomod/pathmod/outmod/installmod.
- syswrite:   Remount partitions (e.g. system.img) as writable, rebooting if necessary.

Environment options:
- SANITIZE_HOST: Set to 'address' to use ASAN for all host modules.
- ANDROID_QUIET_BUILD: set to 'true' to display only the essential messages.
...

References

[1] Yongqiang Cheng, https://yongqiang.blog.csdn.net/


http://www.kler.cn/a/313941.html

相关文章:

  • Linux 常用操作指令大揭秘(下)
  • 鸿蒙next版开发:ArkTS组件点击事件详解
  • Microsoft 365 Exchange如何设置可信发件IP白名单
  • MySQL重难点(一)索引
  • 时间管理的三个痛点
  • 【QT】QSS
  • leetcode49字母异位词分组
  • 深度解析 MintRich 独特的价格曲线机制玩法
  • OpenGL 原生库5 变换
  • 从拥堵到畅通:HTTP/2 如何解决 Web 性能瓶颈?
  • 集合框架(一):Collection集合的遍历方式
  • Cypress初次安装启动常见问题
  • Element Plus 中Input输入框
  • JVM 内存管理详解
  • 宝塔面板FTP连接时“服务器发回了不可路由的地址。使用服务器地址代替。”
  • 共轭传热和浸没边界耦合相关的论文的阅读笔记
  • cesium效果不酷炫怎么办--增加渲染器
  • Redis五中数据类型的底层实现
  • nodejs+express+vue教辅课程辅助教学系统 43x2u前后端分离项目
  • mysql-死锁
  • EP16 自定义头部导航栏
  • ubuntu64位系统无法运行32位程序的解决办法
  • C++校招面经(二)
  • Sentinel组件学习
  • 力扣题解815
  • vue 入门一