Skip to content
Snippets Groups Projects
Commit b8b13e8c authored by Greg Hartman's avatar Greg Hartman
Browse files

Hack to allow compilation on oreo and oreo-mr1

Change-Id: I2ddf71162da32b99e4c5f23bc0e505bcc43fb75e
Test: Compiles
parent 04f04993
Branches
No related tags found
No related merge requests found
......@@ -16,17 +16,3 @@
subdirs = [
"emugen",
]
python_binary_host {
name: "gen_entries_cuttlefish",
srcs: ["gen_entries.py"],
main: "gen_entries.py",
version: {
py2: {
enabled: true,
},
py3: {
enabled: false,
},
},
}
......@@ -89,68 +89,66 @@ genrule {
],
}
// out/host/linux-x86/bin/emugen_cuttlefish -i device/generic/opengl-transport/host/libs/virglrenderer/renderControl_dec -D /tmp/foo renderControl
genrule {
name: "gles1_core_functions_hdr",
tools: ["gen_entries_cuttlefish"],
cmd: "$(location gen_entries_cuttlefish) --mode=funcargs $(in) --output $(out)",
tool_files: ["gen_entries.py"],
cmd: "python device/generic/opengl-transport/host/libs/virglrenderer/gen_entries.py --mode=funcargs $(in) --output $(out)",
srcs: ["OpenGLESDispatch/gles1_core.entries"],
out: ["gles1_core_functions.h"],
}
genrule {
name: "gles1_extensions_functions_hdr",
tools: ["gen_entries_cuttlefish"],
cmd: "$(location gen_entries_cuttlefish) --mode=funcargs $(in) --output $(out)",
tool_files: ["gen_entries.py"],
cmd: "python device/generic/opengl-transport/host/libs/virglrenderer/gen_entries.py --mode=funcargs $(in) --output $(out)",
srcs: ["OpenGLESDispatch/gles1_extensions.entries"],
out: ["gles1_extensions_functions.h"],
}
genrule {
name: "egl_functions_hdr",
tools: ["gen_entries_cuttlefish"],
cmd: "$(location gen_entries_cuttlefish) --mode=funcargs $(in) --output $(out)",
tool_files: ["gen_entries.py"],
cmd: "python device/generic/opengl-transport/host/libs/virglrenderer/gen_entries.py --mode=funcargs $(in) --output $(out)",
srcs: ["OpenGLESDispatch/egl.entries"],
out: ["egl_functions.h"],
}
genrule {
name: "gles3_only_functions_hdr",
tools: ["gen_entries_cuttlefish"],
cmd: "$(location gen_entries_cuttlefish) --mode=funcargs $(in) --output $(out)",
tool_files: ["gen_entries.py"],
cmd: "python device/generic/opengl-transport/host/libs/virglrenderer/gen_entries.py --mode=funcargs $(in) --output $(out)",
srcs: ["OpenGLESDispatch/gles3_only.entries"],
out: ["gles3_only_functions.h"],
}
genrule {
name: "gles31_only_functions_hdr",
tools: ["gen_entries_cuttlefish"],
cmd: "$(location gen_entries_cuttlefish) --mode=funcargs $(in) --output $(out)",
tool_files: ["gen_entries.py"],
cmd: "python device/generic/opengl-transport/host/libs/virglrenderer/gen_entries.py --mode=funcargs $(in) --output $(out)",
srcs: ["OpenGLESDispatch/gles31_only.entries"],
out: ["gles31_only_functions.h"],
}
genrule {
name: "gles2_extensions_functions_hdr",
tools: ["gen_entries_cuttlefish"],
cmd: "$(location gen_entries_cuttlefish) --mode=funcargs $(in) --output $(out)",
tool_files: ["gen_entries.py"],
cmd: "python device/generic/opengl-transport/host/libs/virglrenderer/gen_entries.py --mode=funcargs $(in) --output $(out)",
srcs: ["OpenGLESDispatch/gles2_extensions.entries"],
out: ["gles2_extensions_functions.h"],
}
genrule {
name: "egl_extensions_functions_hdr",
tools: ["gen_entries_cuttlefish"],
cmd: "$(location gen_entries_cuttlefish) --mode=funcargs $(in) --output $(out)",
tool_files: ["gen_entries.py"],
cmd: "python device/generic/opengl-transport/host/libs/virglrenderer/gen_entries.py --mode=funcargs $(in) --output $(out)",
srcs: ["OpenGLESDispatch/egl_extensions.entries"],
out: ["egl_extensions_functions.h"],
}
genrule {
name: "gles2_core_functions_hdr",
tools: ["gen_entries_cuttlefish"],
cmd: "$(location gen_entries_cuttlefish) --mode=funcargs $(in) --output $(out)",
tool_files: ["gen_entries.py"],
cmd: "python device/generic/opengl-transport/host/libs/virglrenderer/gen_entries.py --mode=funcargs $(in) --output $(out)",
srcs: ["OpenGLESDispatch/gles2_core.entries"],
out: ["gles2_core_functions.h"],
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment