diff options
| author | 2018-12-14 17:26:57 +0800 | |
|---|---|---|
| committer | 2019-03-07 14:08:35 +0800 | |
| commit | 224e103308a80fa6440bddb3798ccafdffb14bd7 (patch) | |
| tree | 51508ec877e84d09a81988b6adff6778825c946f /tools/warn/cpp_warn_patterns.py | |
| parent | e34ff5ca5d1d5d9f138b2a3e59962d2b65b97c09 (diff) | |
Build System: Solve dependency problem for test
1. A test can add a runtime dependent test module by just setting
LOCAL_REQUIRED_MODULES or LOCAL_TARGET_REQUIRED_MODULES. Then the dependent test
module will be copied to testcase folder.
2. Do not install to $(TARGET_OUT_DATA) for testcase
BUG: 117224272
Test: 1. (a) vi cts/tests/tests/text/Android.mk
(b) add LOCAL_REQUIRED_MODULES := CtsPrintTestCases
(c) m -j CtsTextTestCases
(d) Then, CtsPrintTestCases should also be built to testcase folder like below.
./target/product/generic_arm64/testcases/CtsPrintTestCases
Change-Id: I24ea3783486c54a05cfa9d3d0375b977afc230f8
Diffstat (limited to 'tools/warn/cpp_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions