-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'android-14.0.0_r50' into staging/lineage-21.0_merge-androi…
…d-14.0.0_r50 Android 14.0.0 Release 50 (AP2A.240605.024) * tag 'android-14.0.0_r50': (355 commits) release-config: sync from goog/main Merge "Add secretkeeper-v1-java to platform APIs" into main am: f28b569 am: 196729f Create rule to generate the exportable api files when checkapi is disabled Revert "Additional cleanup prior to adding the runtime stubs" Revert "Generate runtime stubs in droidstubs" Support partial module variants with apex_contributions Fix non-determinism in prebuilt selection Use BaseModuleName for LOCAL_MODULE Disable source javalib dexpreopt when using prebuilt apex Allow clippy::disallowed_names since it can be used for debugging Add the build flags for apex contribution contents Add a source_module_name to android_app Revert "Fix non-determinism in prebuilt selection" Fix non-determinism in prebuilt selection Copy imported APKs to output filename disablePrebuilt: also clear sanitizer-dependent Srcs Define libc++ config macros to nothing Remove --multitree-build Some tweaks to the aconfig flag collection logic Use R.txt files from aar files directly ... Conflicts: android/allowlists/allowlists.go androidmk/androidmk/android.go apex/apex.go etc/prebuilt_etc.go java/android_manifest.go Change-Id: I5294562126628c0a9917f145ed933b6b13c05b3d
- Loading branch information
1 parent
3824227
commit cf7e9cc
Showing
321 changed files
with
13,291 additions
and
6,872 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,6 @@ [email protected] | |
[email protected] | ||
[email protected] | ||
[email protected] | ||
[email protected] | ||
[email protected] | ||
|
||
per-file build/soong/ui/build/androidmk_denylist.go = [email protected], [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
// Copyright 2024 Google Inc. All rights reserved. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
package aconfig | ||
|
||
import ( | ||
"testing" | ||
|
||
"android/soong/android" | ||
) | ||
|
||
func TestTwoAconfigDeclarationsPerPackage(t *testing.T) { | ||
bp := ` | ||
aconfig_declarations { | ||
name: "module_name.foo", | ||
package: "com.example.package", | ||
container: "com.android.foo", | ||
srcs: [ | ||
"foo.aconfig", | ||
], | ||
} | ||
aconfig_declarations { | ||
name: "module_name.bar", | ||
package: "com.example.package", | ||
container: "com.android.foo", | ||
srcs: [ | ||
"bar.aconfig", | ||
], | ||
} | ||
` | ||
errMsg := "Only one aconfig_declarations allowed for each package." | ||
android.GroupFixturePreparers( | ||
PrepareForTestWithAconfigBuildComponents). | ||
ExtendWithErrorHandler(android.FixtureExpectsOneErrorPattern(errMsg)). | ||
RunTestWithBp(t, bp) | ||
} |
Oops, something went wrong.