summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp24
1 files changed, 10 insertions, 14 deletions
diff --git a/Android.bp b/Android.bp
index c47c096044..e57045fc5b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -3,19 +3,15 @@ build = [
"NativeCode.bp",
]
-python_binary_host {
- name: "gen-annotated-java-files-bp",
- main: "annotations/generate_annotated_java_files.py",
- srcs: [
- "annotations/generate_annotated_java_files.py",
+genrule {
+ name: "notices-for-framework-stubs",
+ tool_files: [
+ "NOTICE",
+ "ojluni/NOTICE",
+ ],
+ cmd: "cp -f $(location NOTICE) $(genDir)/NOTICES/libcore-NOTICE && cp -f $(location ojluni/NOTICE) $(genDir)/NOTICES/ojluni-NOTICE",
+ out: [
+ "NOTICES/libcore-NOTICE",
+ "NOTICES/ojluni-NOTICE",
],
- version: {
- py2: {
- enabled: true,
- embedded_launcher: true,
- },
- py3: {
- enabled: false,
- },
- },
}