Colin Cross | 09975c3 | 2017-08-29 15:01:05 -0700 | [diff] [blame] | 1 | build = [ |
Colin Cross | af0b54c | 2017-09-27 17:22:32 -0700 | [diff] [blame] | 2 | "JavaLibrary.bp", |
Colin Cross | 09975c3 | 2017-08-29 15:01:05 -0700 | [diff] [blame] | 3 | "NativeCode.bp", |
| 4 | ] |
Nan Zhang | 65f27a3 | 2018-01-05 10:41:46 -0800 | [diff] [blame] | 5 | |
| 6 | python_binary_host { |
| 7 | name: "gen-annotated-java-files-bp", |
| 8 | main: "annotations/generate_annotated_java_files.py", |
| 9 | srcs: [ |
| 10 | "annotations/generate_annotated_java_files.py", |
| 11 | ], |
| 12 | version: { |
| 13 | py2: { |
| 14 | enabled: true, |
| 15 | embedded_launcher: true, |
| 16 | }, |
| 17 | py3: { |
| 18 | enabled: false, |
| 19 | }, |
| 20 | }, |
| 21 | } |
Nan Zhang | d55722b | 2018-02-27 15:08:20 -0800 | [diff] [blame] | 22 | |
| 23 | genrule { |
| 24 | name: "notices-for-framework-stubs", |
| 25 | tool_files: [ |
| 26 | "NOTICE", |
| 27 | "ojluni/NOTICE", |
| 28 | ], |
| 29 | cmd: "cp -f $(location NOTICE) $(genDir)/NOTICES/libcore-NOTICE && cp -f $(location ojluni/NOTICE) $(genDir)/NOTICES/ojluni-NOTICE", |
| 30 | out: [ |
| 31 | "NOTICES/libcore-NOTICE", |
| 32 | "NOTICES/ojluni-NOTICE", |
| 33 | ], |
| 34 | } |