platform_build_soong/android
Jiyong Park 3c306f3d1d Don't allow using framework and SDK at the same time.
Using SDK (current, system_current, module_current, or <api_version>)
while at the same time depending on "framework" doesn't make sense
because framework anyway provides all APIs including hidden ones. This
is not only uncessary but also error prone because the availability of a
private method in a class depends on whether the class is part of the
SDK or not.

Add a neverallow rule for prohibiting that. Note that "core_*" SDKs are
allowed because there's no overlap between "framework" and the core-Java
SDKs.

Bug: 227528906
Test: m nothing on git_master
Change-Id: I0605075aef20c75db084beeedcbf49a642573e69
2022-04-05 15:39:05 +09:00
..
soongconfig Revert "Prevent unspecified values in soong_config_string_variable" 2022-03-24 13:52:58 +00:00
Android.bp Add metrics collection to soong_build 2022-03-25 17:19:44 -04:00
android_test.go
androidmk.go Allow appending artifact in dist with product name 2022-03-24 14:46:18 +00:00
androidmk_test.go Allow appending artifact in dist with product name 2022-03-24 14:46:18 +00:00
apex.go Allow java_sdk_library in an APEX to have higher min_sdk_version. 2021-12-08 11:36:34 +00:00
apex_test.go
api_levels.go Support tailoring clang --target flag based on min sdk version. 2022-03-18 01:16:52 +00:00
arch.go Add host_linux target properties 2022-03-07 14:56:33 -08:00
arch_list.go Export variant/features via soong_injection 2022-02-28 14:17:15 -05:00
arch_test.go Add host_linux target properties 2022-03-07 14:56:33 -08:00
bazel.go convert java_import jars with arch variants 2022-03-31 21:00:24 +00:00
bazel_handler.go Handle arch/cpu variants in mixed builds 2022-03-21 11:13:49 -04:00
bazel_handler_test.go Handle arch/cpu variants in mixed builds 2022-03-21 11:13:49 -04:00
bazel_paths.go Start unblocking com.android.runtime deps 2022-01-06 10:40:43 -05:00
bazel_test.go
config.go Allow appending artifact in dist with product name 2022-03-24 14:46:18 +00:00
config_test.go
csuite_config.go
csuite_config_test.go
deapexer.go Do not allow duplicate deapexer dependencies. 2021-12-07 23:30:30 +00:00
defaults.go Use Module.GetProperties() instead of ModuleBase.generalProperties 2022-01-08 03:09:52 +00:00
defaults_test.go
defs.go Install android_app_set modules in Soong 2021-11-17 19:55:33 -08:00
depset_generic.go
depset_paths.go
depset_test.go
deptag.go
deptag_test.go
expand.go
expand_test.go
filegroup.go Handle arch/cpu variants in mixed builds 2022-03-21 11:13:49 -04:00
fixture.go
fixture_test.go
hooks.go add type to modules created by LoadHookContext 2022-03-10 20:59:45 +00:00
image.go
license.go Support multiple library names per target. 2022-02-11 10:36:22 -08:00
license_kind.go Use Module.GetProperties() instead of ModuleBase.generalProperties 2022-01-08 03:09:52 +00:00
license_kind_test.go
license_metadata.go Generate sdk_repo notice files from license metadata 2022-01-28 15:56:07 -08:00
license_sdk_member.go Support multiple library names per target. 2022-02-11 10:36:22 -08:00
license_test.go
licenses.go Export binaries for shippedlibs and bom. 2022-02-28 20:13:35 -08:00
licenses_test.go Support multiple library names per target. 2022-02-11 10:36:22 -08:00
makefile_goal.go
makevars.go Install android_app_set modules in Soong 2021-11-17 19:55:33 -08:00
metrics.go Add metrics collection to soong_build 2022-03-25 17:19:44 -04:00
module.go Merge changes from topic "refactor-packagingbase" 2022-03-29 13:45:22 +00:00
module_test.go Add values to json module graph 2022-03-25 18:30:49 -04:00
mutator.go cosmetic: 1)typos 2)parameters named for clarity 2022-01-29 06:34:53 +00:00
mutator_test.go
namespace.go cosmetic: 1)typos 2)parameters named for clarity 2022-01-29 06:34:53 +00:00
namespace_test.go
neverallow.go Don't allow using framework and SDK at the same time. 2022-04-05 15:39:05 +09:00
neverallow_test.go Don't allow using framework and SDK at the same time. 2022-04-05 15:39:05 +09:00
ninja_deps.go
ninja_deps_test.go
notices.go Revert "Revert "Build notice files from license metadata."" 2022-04-01 18:00:00 +00:00
onceper.go
onceper_test.go
override_module.go
package.go
package_ctx.go Escape Host*Variable contents 2021-12-08 15:08:59 -08:00
package_test.go cosmetic changes 2021-12-13 13:33:15 -05:00
packaging.go Move GatherPackagingSpecs out of CopyDepsToZip 2022-03-28 14:29:14 +09:00
packaging_test.go Move GatherPackagingSpecs out of CopyDepsToZip 2022-03-28 14:29:14 +09:00
path_properties.go Use Module.GetProperties() instead of ModuleBase.generalProperties 2022-01-08 03:09:52 +00:00
path_properties_test.go
paths.go Check ABI regardless of arch variants 2022-03-09 18:16:36 +08:00
paths_test.go Remove InstallBypassMake and ToMakePath 2021-12-15 15:22:53 -08:00
phony.go
prebuilt.go Fix genrule tool dependencies when a prebuilt tool is preferred. 2022-01-12 23:35:57 +00:00
prebuilt_build_tool.go
prebuilt_test.go bp2build: add support for soong_config_module_type. 2021-11-08 13:38:28 +00:00
proto.go convert java proto libraries with bp2build 2022-02-15 21:04:59 +00:00
register.go add type to modules created by LoadHookContext 2022-03-10 20:59:45 +00:00
rule_builder.go Add libc_musl as a dependency of RuleBuilderCommand.BuiltTool 2022-02-10 11:36:31 -08:00
rule_builder_test.go Fix OutDir vs SoongOutDir in tests 2021-11-09 17:25:57 -08:00
sandbox.go
sdk.go Detect duplicates in sdkRegistry 2021-09-23 11:37:57 +01:00
sdk_test.go Detect duplicates in sdkRegistry 2021-09-23 11:37:57 +01:00
sdk_version.go Test SdkSpecForm. 2021-12-01 17:43:00 +00:00
sdk_version_test.go Test SdkSpecForm. 2021-12-01 17:43:00 +00:00
singleton.go
singleton_module.go
singleton_module_test.go Move functionality to test install rules into testing.go. 2022-02-10 23:36:06 +00:00
soong_config_modules.go Close opened paths 2022-02-07 10:17:35 -05:00
soong_config_modules_test.go Add package for printing starlark formatted data 2022-02-08 17:32:28 -05:00
test_asserts.go
test_suites.go Remove InstallBypassMake and ToMakePath 2021-12-15 15:22:53 -08:00
testing.go Move functionality to test install rules into testing.go. 2022-02-10 23:36:06 +00:00
util.go Add SortedStringValues and SortedUniqueStringValues 2022-02-17 15:52:07 -08:00
util_test.go Add SortedStringValues and SortedUniqueStringValues 2022-02-17 15:52:07 -08:00
variable.go Allow appending artifact in dist with product name 2022-03-24 14:46:18 +00:00
variable_test.go
visibility.go
visibility_test.go