diff options
author | Cody Schuffelen <schuffelen@google.com> | 2018-11-19 15:54:12 -0800 |
---|---|---|
committer | Cody Schuffelen <schuffelen@google.com> | 2018-11-19 15:54:12 -0800 |
commit | 816a8bb0375be3c581cb7b1ab77b377cf51d4714 (patch) | |
tree | 30c4986464e4db6a41e3afce4be5e5d53d3238be /host/libs/virglrenderer/Android.bp | |
parent | d282cb97c84b804d72c35612bd905c19200f6205 (diff) | |
parent | 286422f8ce1fdcb26c140ab8b999ce5fa77b0536 (diff) | |
download | device_generic_opengl-transport-816a8bb0375be3c581cb7b1ab77b377cf51d4714.tar.gz device_generic_opengl-transport-816a8bb0375be3c581cb7b1ab77b377cf51d4714.tar.bz2 device_generic_opengl-transport-816a8bb0375be3c581cb7b1ab77b377cf51d4714.zip |
Merge ab/5111269 into masterandroid-wear-8.0.0_r2android-q-preview-6android-q-preview-5android-q-preview-4android-q-preview-2.5android-q-preview-1
Test: TH
Bug: 119522286
Change-Id: I0481b3f41b2c4895b88bdd8a58d32ae02769bca7
Diffstat (limited to 'host/libs/virglrenderer/Android.bp')
-rw-r--r-- | host/libs/virglrenderer/Android.bp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/host/libs/virglrenderer/Android.bp b/host/libs/virglrenderer/Android.bp index 6c31b7a02..e66086041 100644 --- a/host/libs/virglrenderer/Android.bp +++ b/host/libs/virglrenderer/Android.bp @@ -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"], } @@ -181,8 +179,6 @@ cc_library_host_shared { ], cflags: ["-Wno-unused-parameter", "-DOPENGL_DEBUG_PRINTOUT"], host_ldlibs: [ "-ldl" ], - version_script : "libvirglrenderer.lds", - defaults: [ "cuttlefish_host_only" ], generated_sources: [ "glesv1_dec_cuttlefish_gensrc", "glesv3_dec_cuttlefish_gensrc", @@ -205,4 +201,8 @@ cc_library_host_shared { "virtio_gpu_uapi_headers", "virgl_headers" ], + + // TODO(b/118466250): Make this work on the Mac + version_script : "libvirglrenderer.lds", + defaults: [ "cuttlefish_host_only" ], } |