blob: aff7f2a1edccb8df56c2d7d572519a3bb19b664c [file] [log] [blame]
Dan Willemsen47f445f2019-12-26 09:23:54 -08001cc_library_headers {
2 name: "FlexLexer",
3 host_supported: true,
4 vendor_available: true,
Victor Khimenko14ede932020-05-12 00:09:59 +02005 // TODO(b/153609531): remove when no longer needed.
6 native_bridge_supported: true,
Dan Willemsen47f445f2019-12-26 09:23:54 -08007 export_include_dirs: ["common/flex"],
8 notice: "common/flex/NOTICE",
9}
Dan Willemsenf3acd612020-07-16 17:45:05 -070010
11prebuilt_build_tool {
12 name: "bison",
13 deps: ["common/bison/**/*"],
Dan Willemsende9f4772020-07-17 19:42:12 -070014 export_to_make_var: "BISON",
Jiyong Park1291abb2020-09-09 17:16:54 +090015 enabled: false,
16 arch: {
17 x86_64: {
18 enabled: true,
19 },
20 },
Dan Willemsenf3acd612020-07-16 17:45:05 -070021 target: {
22 darwin: {
23 src: "darwin-x86/bin/bison",
24 deps: ["darwin-x86/lib64/libc++.dylib"],
25 },
26 linux: {
27 src: "linux-x86/bin/bison",
28 deps: ["linux-x86/lib64/libc++.so"],
29 },
30 },
31}
32
33prebuilt_build_tool {
34 name: "flex",
Dan Willemsende9f4772020-07-17 19:42:12 -070035 export_to_make_var: "LEX",
Jiyong Park1291abb2020-09-09 17:16:54 +090036 enabled: false,
37 arch: {
38 x86_64: {
39 enabled: true,
40 },
41 },
Dan Willemsenf3acd612020-07-16 17:45:05 -070042 target: {
43 darwin: {
44 src: "darwin-x86/bin/flex",
45 },
46 linux: {
47 src: "linux-x86/bin/flex",
48 },
49 },
50}
51
52prebuilt_build_tool {
53 name: "m4",
Dan Willemsende9f4772020-07-17 19:42:12 -070054 export_to_make_var: "M4",
Jiyong Park1291abb2020-09-09 17:16:54 +090055 enabled: false,
56 arch: {
57 x86_64: {
58 enabled: true,
59 },
60 },
Dan Willemsenf3acd612020-07-16 17:45:05 -070061 target: {
62 darwin: {
63 src: "darwin-x86/bin/m4",
64 },
65 linux: {
66 src: "linux-x86/bin/m4",
67 },
68 },
69}