platform_build_soong/cc
Jooyung Han ba11812b1d cc: add min_sdk_version prop
min_sdk_version is the minimum version of the sdk that the compiled
artifacts will run against.

For example, when a module is used by two APEXes and their
min_sdk_versions are set to 29 and 30, then the module should support
both versions even if it is compiled against 30. Therefore,
min_sdk_version of the module needs to be set 29 in that case. In
general, this is set as the minimum value of min_sdk_vesions of APEXes.

For now, there's no build-time checks about this prop even if the prop
is set.

Bug: 145796956
Bug: 152655956
Bug: 153333044
Test: m nothing
Merged-In: I072ad8c317d2615e8b08e4e7ea2db8e7955b4b12
Change-Id: I072ad8c317d2615e8b08e4e7ea2db8e7955b4b12
(cherry picked from commit 379660c9c2)
2020-04-25 02:28:48 +09:00
..
config Switch to clang-r377782d (10.0.6). 2020-04-17 17:39:04 -07:00
libbuildversion
androidmk.go Fix missing NOTICE targets for static libs that aren't available to 2020-04-14 17:09:47 +01:00
binary.go Add support for cc_binary in module_exports 2020-02-18 16:17:35 +00:00
binary_sdk_member.go Make new module creation API more flexible 2020-04-22 12:51:44 +01:00
builder.go Only package gcno files for gcov coverage builds. 2020-04-21 12:40:27 -07:00
cc.go cc: add min_sdk_version prop 2020-04-25 02:28:48 +09:00
cc_test.go Enforce min_sdk_version of apex(use_vendor:true) 2020-03-25 10:40:41 +09:00
ccdeps.go Fix writing module_bp_cc_deps.json 2020-01-31 18:12:41 +00:00
cflag_artifacts.go Simple refactoring of prefix related functions. 2020-02-14 14:33:49 -08:00
check.go Forbid -Weverything 2019-11-12 15:55:03 -08:00
cmakelists.go Sandbox soong_build by changing to root directory 2020-01-11 01:11:46 +00:00
compdb.go Sandbox soong_build by changing to root directory 2020-01-11 01:11:46 +00:00
compiler.go Pass min_sdk_version to cc __ANDROID_SDK_VERSION__ 2020-03-25 23:23:26 +00:00
compiler_test.go Expand ClangExtraExternalCflags to non-Google vendor projects 2019-11-11 13:24:39 -08:00
coverage.go Only package gcno files for gcov coverage builds. 2020-04-21 12:40:27 -07:00
fuzz.go Add ramdisk image. 2020-01-22 16:54:18 -08:00
gen.go Fix header deps of sysprop_library 2020-02-19 15:30:02 +09:00
gen_stub_libs.py Rename # vndk tag to # llndk 2019-11-13 05:50:27 +00:00
gen_test.go Use empty string for core image variant 2019-12-13 20:44:36 -08:00
genrule.go Add ramdisk image. 2020-01-22 16:54:18 -08:00
genrule_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
installer.go Disable installation for sdk snapshot versioned prebuilts 2020-04-22 12:51:36 +01:00
kernel_headers.go Change exportedDirs and exportedSystemDirs from []string to android.Paths 2019-10-25 09:52:08 +09:00
library.go Add support for using cc_library in sdk/module_exports 2020-04-22 12:51:43 +01:00
library_headers.go Add support for cc_library_headers in sdk/module_exports 2020-04-22 12:51:26 +01:00
library_headers_test.go Add cc_prebuilt_library_headers 2020-04-22 12:51:24 +01:00
library_sdk_member.go Make new module creation API more flexible 2020-04-22 12:51:44 +01:00
library_test.go Apex: support codenames for min_sdk_version 2020-04-02 23:26:41 +09:00
linkable.go Skip version mutator for host/ramdisk/recovery 2020-04-10 14:30:25 +09:00
linker.go Copy shared_libs and system_shared_libs to module snapshot 2020-04-22 12:51:38 +01:00
llndk_library.go Remove PLATFORM_VERSION_FUTURE_CODENAMES 2020-04-08 09:25:20 +09:00
lto.go Split local and global cflags 2019-11-07 15:27:58 -08:00
makevars.go Exclude dirs from binder interface whitelisting 2019-12-04 09:10:21 -08:00
ndk_headers.go Sandbox soong_build by changing to root directory 2020-01-11 01:11:46 +00:00
ndk_library.go Apex: support codenames for min_sdk_version 2020-04-02 23:26:41 +09:00
ndk_prebuilt.go Make ndk_prebuilt_* be available to any apex 2020-04-20 16:23:46 +09:00
ndk_sysroot.go Expose some factories for aidl_test.go 2019-12-09 18:21:48 +09:00
object.go Split local and global cflags 2019-11-07 15:27:58 -08:00
object_test.go
pgo.go Add platform-wide sampling PGO option 2020-04-03 12:00:04 +00:00
prebuilt.go Add support for cc_prebuilt_library 2020-04-22 12:51:41 +01:00
prebuilt_test.go Add support for cc_prebuilt_library 2020-04-22 12:51:41 +01:00
proto.go Split local and global cflags 2019-11-07 15:27:58 -08:00
proto_test.go Use empty string for core image variant 2019-12-13 20:44:36 -08:00
pylintrc
rs.go Move/dedupe some host path functions in package_ctx.go. 2019-12-09 22:04:21 +00:00
sabi.go Revert "Also package recursive jni_libs deps of android_apps as well as direct deps." 2019-12-18 00:15:07 +00:00
sanitize.go Disable CFI only on incompatible variants. 2020-03-13 11:59:07 -04:00
snapshot_utils.go Capture snapshot headers in parallel 2020-03-05 09:36:31 +09:00
stl.go Statically link the unwinder into binaries packaged into an unbundled APEX with legacy_android10_support: true. 2020-02-13 22:29:44 -08:00
strip.go
sysprop.go
test.go Support arch variant for data attribute 2020-04-07 12:52:22 -07:00
test_data_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
test_gen_stub_libs.py Rename # vndk tag to # llndk 2019-11-13 05:50:27 +00:00
testing.go Add support for multiple os types 2020-04-22 12:51:34 +01:00
tidy.go
toolchain_library.go Repack libgcc.a to only include required objects 2019-10-24 16:34:54 -07:00
util.go Only package gcno files for gcov coverage builds. 2020-04-21 12:40:27 -07:00
vendor_public_library.go Split local and global cflags 2019-11-07 15:27:58 -08:00
vendor_snapshot.go Capture snapshot headers in parallel 2020-03-05 09:36:31 +09:00
vndk.go Don't allow a lib having stubs to become a member of VNDK 2020-04-13 13:08:16 +09:00
vndk_prebuilt.go Do not hide VNDK prebuilts from make 2020-02-17 19:01:13 +09:00