platform_build_soong/java
Colin Cross 42d48b7b8b Enforce dependencies have right architecture
ctx.AddDependency will succeed if the named dependency only has a
single variant, even if that variant is the wrong architecture.
Use ctx.AddVariationDependency(nil, ...) instead, which requires
that all variations of the calling module match the dependency.

Bug: 112707915
Test: no change to out/soong/build.ninja
Test: using a device dependency in a host java module is an error
Change-Id: I70b661a57d4412eb63b8c9841febfb756e9e025d
2018-08-30 16:31:02 +00:00
..
config Add jetifier support in Soong. 2018-08-29 11:37:32 -07:00
aapt2.go Regenerate R.java files from LOCAL_STATIC_ANDROID_LIBRARIES 2018-05-03 14:38:12 -07:00
aar.go Enforce dependencies have right architecture 2018-08-30 16:31:02 +00:00
android_manifest.go Fix manifest merging flags 2018-08-28 14:10:03 -07:00
android_resources.go Add support for android_library modules 2018-05-03 14:38:12 -07:00
androidmk.go Add support for dumping proguard api file. 2018-08-22 13:59:48 -07:00
app.go Fix using defaults in android_app and android_test modules 2018-08-20 13:45:45 -07:00
app_builder.go Add support for android_library modules 2018-05-03 14:38:12 -07:00
app_test.go Use manifest merger in Soong 2018-07-11 19:46:38 +00:00
builder.go Add jetifier support in Soong. 2018-08-29 11:37:32 -07:00
dex.go Ensure that the R8 minification map (ProGuard dictionary) file exists 2018-08-27 12:56:16 +02:00
droiddoc.go Enforce dependencies have right architecture 2018-08-30 16:31:02 +00:00
gen.go Add proto.canonical_path_from_root 2018-02-22 16:48:35 -08:00
genrule.go Soong: add "java_genrule_host" 2018-04-13 16:37:22 -07:00
jacoco.go Change syntax for jacoco filter wildcard params. 2018-01-29 12:46:26 -08:00
jacoco_test.go Change syntax for jacoco filter wildcard params. 2018-01-29 12:46:26 -08:00
java.go Enforce dependencies have right architecture 2018-08-30 16:31:02 +00:00
java_resources.go Add support for android_library modules 2018-05-03 14:38:12 -07:00
java_test.go Revert "Add support for renamed kotlin stdlib." 2018-08-29 05:41:25 +00:00
prebuilt_apis.go Add api_dirs property and use module name as prefix 2018-06-25 10:30:30 +09:00
proto.go Enforce dependencies have right architecture 2018-08-30 16:31:02 +00:00
sdk_library.go Enforce dependencies have right architecture 2018-08-30 16:31:02 +00:00
support_libraries.go Export lists of support libraries modules to Make 2018-05-03 16:48:13 -07:00
system_modules.go Enforce dependencies have right architecture 2018-08-30 16:31:02 +00:00