commit | 639c6ccf7a5235562ba848c6cdcbb30cf40d075d | [log] [tgz] |
---|---|---|
author | Dan Shi <dshi@google.com> | Fri Apr 13 14:39:53 2018 -0700 |
committer | Dan Shi <dshi@google.com> | Tue Apr 17 12:07:31 2018 -0700 |
tree | 308d433a0da55d644d938ffe7f8b6d4851fb99d9 | |
parent | 3204fd4bed72de891d7240e30d563f3e67adf634 [diff] |
Allow tests to be disabled for presubmit check A test can be disabled in two ways: 1. Add the test name to ALL_DISABLED_PRESUBMIT_TESTS variable. Integration tests (tests inside TradeFed) can only be disabled in this way. 2. In module config, set LOCAL_PRESUBMIT_DISABLED to true. This works for tests with build target. This change allows tests to be skipped in presubmit check to be saved in a list that's included in test-mappings.zip build artifact. Bug: 74971025 Test: m dist -j test-mapping Change-Id: I6e3016b017ce1ade024dc4ded72a10c778b88e7f
This is the Makefile-based portion of the Android Build System.
For documentation on how to run a build, see Usage.txt
For a list of behavioral changes useful for Android.mk writers see Changes.md
For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.
This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.