Dan Willemsen | 47f445f | 2019-12-26 09:23:54 -0800 | [diff] [blame] | 1 | cc_library_headers { |
| 2 | name: "FlexLexer", |
| 3 | host_supported: true, |
| 4 | vendor_available: true, |
Victor Khimenko | 14ede93 | 2020-05-12 00:09:59 +0200 | [diff] [blame] | 5 | // TODO(b/153609531): remove when no longer needed. |
| 6 | native_bridge_supported: true, |
Dan Willemsen | 47f445f | 2019-12-26 09:23:54 -0800 | [diff] [blame] | 7 | export_include_dirs: ["common/flex"], |
| 8 | notice: "common/flex/NOTICE", |
| 9 | } |
Dan Willemsen | f3acd61 | 2020-07-16 17:45:05 -0700 | [diff] [blame] | 10 | |
| 11 | prebuilt_build_tool { |
| 12 | name: "bison", |
| 13 | deps: ["common/bison/**/*"], |
Dan Willemsen | de9f477 | 2020-07-17 19:42:12 -0700 | [diff] [blame] | 14 | export_to_make_var: "BISON", |
Dan Willemsen | f3acd61 | 2020-07-16 17:45:05 -0700 | [diff] [blame] | 15 | target: { |
| 16 | darwin: { |
| 17 | src: "darwin-x86/bin/bison", |
| 18 | deps: ["darwin-x86/lib64/libc++.dylib"], |
| 19 | }, |
| 20 | linux: { |
| 21 | src: "linux-x86/bin/bison", |
| 22 | deps: ["linux-x86/lib64/libc++.so"], |
| 23 | }, |
| 24 | }, |
| 25 | } |
| 26 | |
| 27 | prebuilt_build_tool { |
| 28 | name: "flex", |
Dan Willemsen | de9f477 | 2020-07-17 19:42:12 -0700 | [diff] [blame] | 29 | export_to_make_var: "LEX", |
Dan Willemsen | f3acd61 | 2020-07-16 17:45:05 -0700 | [diff] [blame] | 30 | target: { |
| 31 | darwin: { |
| 32 | src: "darwin-x86/bin/flex", |
| 33 | }, |
| 34 | linux: { |
| 35 | src: "linux-x86/bin/flex", |
| 36 | }, |
| 37 | }, |
| 38 | } |
| 39 | |
| 40 | prebuilt_build_tool { |
| 41 | name: "m4", |
Dan Willemsen | de9f477 | 2020-07-17 19:42:12 -0700 | [diff] [blame] | 42 | export_to_make_var: "M4", |
Dan Willemsen | f3acd61 | 2020-07-16 17:45:05 -0700 | [diff] [blame] | 43 | target: { |
| 44 | darwin: { |
| 45 | src: "darwin-x86/bin/m4", |
| 46 | }, |
| 47 | linux: { |
| 48 | src: "linux-x86/bin/m4", |
| 49 | }, |
| 50 | }, |
| 51 | } |