platform_build_soong/cc
Justin Yun 46f66059e9 Define test_min_vndk_version for cc_test
If a cc_test module defines test_options.test_min_vndk_version, the
test runs only if the ro.vndk.version of the device is defined as a
version code name or an integer value that is higher than or equal to
the value in the test_min_vndk_version proprety.

Also, move the existing test_min_api_level property to test_options
struct.

Bug: 186786268
Bug: 187258404
Test: manual test
Change-Id: I43f1cca5b60f102298726332d374e4b14c425948
2021-05-05 18:47:23 +09:00
..
config Switch to clang r416183b 12.0.5. 2021-04-15 20:22:01 +00:00
libbuildversion Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
ndk_api_coverage_parser Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
ndkstubgen Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
symbolfile Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
Android.bp Move TestVendorPublicLibraries into vendor_public_library_test.go 2021-04-26 17:43:32 -07:00
androidmk.go Remove global state from vendor public libraries 2021-04-27 16:26:00 -07:00
api_level.go Remove nativeApiLevelFromUserWithDefault 2021-04-15 14:00:00 +09:00
binary.go bp2build: convert paths/module refs to Bazel label 2021-02-04 13:45:56 -05:00
binary_sdk_member.go Create fewer empty version variants 2020-10-05 18:57:21 -07:00
bp2build.go Refactor how bp2build gets arch-specific props. 2021-05-05 09:00:01 +02:00
builder.go Use create_minidebuginfo tool instead of bash script. 2021-05-01 00:06:07 +01:00
cc.go Remove global state from vendor public libraries 2021-04-27 16:26:00 -07:00
cc_test.go Remove obsolete llndk_library 2021-04-26 18:41:00 -07:00
ccdeps.go Add soong cc and java deps to general-tests dist 2020-07-06 16:19:56 -07:00
cflag_artifacts.go Pass pctx and ctx to NewRuleBuilder 2020-12-01 16:22:16 -08:00
check.go Remove unnecessary snake case variables. 2020-12-22 12:38:35 -08:00
cmakelists.go AIDEGen: Add "-fprofile-sample-use" parameter into category. 2021-03-08 09:33:23 +08:00
compdb.go Sandbox soong_build by changing to root directory 2020-01-11 01:11:46 +00:00
compiler.go Merge changes from topic "min_sdk_version" 2021-03-26 08:07:28 +00:00
compiler_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
coverage.go Build against cfi supported coverage lib 2021-01-14 11:46:10 -08:00
fuzz.go Add GetEmbeddedPrebuilt and IsModulePrebuilt 2021-04-28 14:02:04 +01:00
gen.go cpp output of an AIDL file is together with the headers 2021-04-07 21:49:34 +09:00
gen_test.go Automatically call TestingBuildParams.RelativeToTop() 2021-03-30 19:35:35 +01:00
genrule.go Add debug ramdisk variant. 2021-04-29 22:58:17 +09:00
genrule_test.go Remove buildDir from cc package 2021-03-30 23:44:43 +01:00
image.go Merge "Add debug ramdisk variant." 2021-05-02 23:54:40 +00:00
installer.go Only output make targets for uninstallable static libs in the APEX 2020-08-06 22:52:58 +01:00
kernel_headers.go Start using Providers instead of direct module access 2020-10-12 16:55:47 -07:00
library.go bp2build: build static version of libstdc++. 2021-05-04 02:06:41 +00:00
library_headers.go bp2build: remove header globs in generated srcs. 2021-04-27 06:26:40 +00:00
library_headers_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
library_sdk_member.go Incorporate cc_library_headers into mixed builds 2021-04-23 09:37:33 -04:00
library_test.go Remove buildDir from cc package 2021-03-30 23:44:43 +01:00
linkable.go Merge "Remove global state from vendor public libraries" 2021-04-29 16:16:42 +00:00
linker.go Skip default dependencies for header libraries 2021-04-26 18:23:45 -07:00
llndk_library.go Remove obsolete llndk_library 2021-04-26 18:41:00 -07:00
lto.go Global ThinLTO: opt out vndk binaries as a workaround 2020-10-09 22:08:11 +08:00
makevars.go Use create_minidebuginfo tool instead of bash script. 2021-05-01 00:06:07 +01:00
ndk_headers.go Remove draft API support. 2021-04-13 15:55:47 -07:00
ndk_library.go Merge changes Ib07d4410,I0b306292 2021-04-15 23:21:55 +00:00
ndk_prebuilt.go Add Target to cc.SharedLibraryInfo 2021-01-26 11:02:53 -08:00
ndk_sysroot.go Remove draft API support. 2021-04-13 15:55:47 -07:00
object.go bp2build: refactor/standardize cc_* bp2build converters 2021-04-22 08:31:24 +00:00
object_test.go Move cc_object tests to object_test.go 2021-04-19 12:44:51 -04:00
OWNERS Refactor OWNERS files in platform/build/soong. 2020-10-08 16:14:32 -07:00
pgo.go [pgo] Do not explicitly link profile runtime 2021-03-23 18:07:30 -07:00
prebuilt.go Merge changes from topic "tvts-test-host-jni" 2021-04-17 04:35:24 +00:00
prebuilt_test.go Remove ccFixtureFactory 2021-03-30 23:44:43 +01:00
proto.go Pass pctx and ctx to NewRuleBuilder 2020-12-01 16:22:16 -08:00
proto_test.go Rename OptionalPath.RelativeToPath -> RelativeToTop 2021-03-30 20:06:22 +01:00
pylintrc Fix pylint issues in gen_stub_libs. 2020-07-16 13:21:43 -07:00
rs.go Remove obsolete PDK build functionality 2020-08-11 01:11:44 +00:00
sabi.go cc: Create a common image mutator interface 2021-04-13 11:04:44 -04:00
sanitize.go Merge changes I46e851c8,I2c9eb248 2021-04-09 22:31:09 +00:00
sdk.go Remove some global state from vendor and recovery snapshots 2021-02-01 20:02:39 +09:00
sdk_test.go Automatically call TestingBuildParams.RelativeToTop() 2021-03-30 19:35:35 +01:00
snapshot_prebuilt.go Add debug ramdisk variant. 2021-04-29 22:58:17 +09:00
snapshot_utils.go Allow extending of the list of directories to be scanned for VSDK 2021-03-15 23:14:47 +00:00
stl.go Skip default dependencies for header libraries 2021-04-26 18:23:45 -07:00
strip.go Allow stripping host modules 2020-12-04 09:43:49 -08:00
stub_library.go Remove obsolete llndk_library 2021-04-26 18:41:00 -07:00
sysprop.go Add comments about sysprop_library 2020-11-24 14:13:31 +09:00
test.go Define test_min_vndk_version for cc_test 2021-05-05 18:47:23 +09:00
test_data_test.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
testing.go Remove global state from vendor public libraries 2021-04-27 16:26:00 -07:00
tidy.go Forbit extra quotes in tidy flag lists 2021-02-25 20:46:15 -08:00
toolchain_library.go Improve commenting for cc/builer.go, and kill dead code 2020-12-01 18:28:38 -05:00
util.go Add some comments for VNDK / vendor snapshots 2020-12-10 21:12:39 +09:00
vendor_public_library.go Remove global state from vendor public libraries 2021-04-27 16:26:00 -07:00
vendor_public_library_test.go Remove global state from vendor public libraries 2021-04-27 16:26:00 -07:00
vendor_snapshot.go Remove obsolete llndk_library 2021-04-26 18:41:00 -07:00
vendor_snapshot_test.go Remove obsolete llndk_library 2021-04-26 18:41:00 -07:00
vndk.go Remove obsolete llndk_library 2021-04-26 18:41:00 -07:00
vndk_prebuilt.go Merge changes from topic "tvts-test-host-jni" 2021-04-17 04:35:24 +00:00