diff options
author | Colin Cross <ccross@android.com> | 2021-07-30 17:03:40 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-07-30 17:03:40 +0000 |
commit | d2a01e37a4c8ed482fbe455c4ab41c395b1500cb (patch) | |
tree | ffe111eb4028b7734ea326cf09545443864ef536 | |
parent | 5f218b5780b2392cd487fd43132bbae7799f2cf2 (diff) | |
parent | 681a6f9804d295915d1ee6dfbbc13bd4e802a5a2 (diff) | |
download | opengl-transport-d2a01e37a4c8ed482fbe455c4ab41c395b1500cb.tar.gz |
Use $(location) to find path to tools am: 681a6f9804
Original change: https://android-review.googlesource.com/c/device/generic/opengl-transport/+/1685106
Change-Id: Ib1c3670a28f824eae933599988b28bf436925f40
-rw-r--r-- | host/libs/virglrenderer/Android.bp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/host/libs/virglrenderer/Android.bp b/host/libs/virglrenderer/Android.bp index 3791f7aa6..c05b1e5cf 100644 --- a/host/libs/virglrenderer/Android.bp +++ b/host/libs/virglrenderer/Android.bp @@ -102,7 +102,7 @@ genrule { genrule { name: "gles1_core_functions_hdr", tool_files: ["gen_entries.py"], - cmd: "python device/generic/opengl-transport/host/libs/virglrenderer/gen_entries.py --mode=funcargs $(in) --output $(out)", + cmd: "python $(location gen_entries.py) --mode=funcargs $(in) --output $(out)", srcs: ["OpenGLESDispatch/gles1_core.entries"], out: ["gles1_core_functions.h"], } @@ -110,7 +110,7 @@ genrule { genrule { name: "gles1_extensions_functions_hdr", tool_files: ["gen_entries.py"], - cmd: "python device/generic/opengl-transport/host/libs/virglrenderer/gen_entries.py --mode=funcargs $(in) --output $(out)", + cmd: "python $(location gen_entries.py) --mode=funcargs $(in) --output $(out)", srcs: ["OpenGLESDispatch/gles1_extensions.entries"], out: ["gles1_extensions_functions.h"], } @@ -118,7 +118,7 @@ genrule { genrule { name: "egl_functions_hdr", tool_files: ["gen_entries.py"], - cmd: "python device/generic/opengl-transport/host/libs/virglrenderer/gen_entries.py --mode=funcargs $(in) --output $(out)", + cmd: "python $(location gen_entries.py) --mode=funcargs $(in) --output $(out)", srcs: ["OpenGLESDispatch/egl.entries"], out: ["egl_functions.h"], } @@ -126,7 +126,7 @@ genrule { genrule { name: "gles3_only_functions_hdr", tool_files: ["gen_entries.py"], - cmd: "python device/generic/opengl-transport/host/libs/virglrenderer/gen_entries.py --mode=funcargs $(in) --output $(out)", + cmd: "python $(location gen_entries.py) --mode=funcargs $(in) --output $(out)", srcs: ["OpenGLESDispatch/gles3_only.entries"], out: ["gles3_only_functions.h"], } @@ -134,7 +134,7 @@ genrule { genrule { name: "gles31_only_functions_hdr", tool_files: ["gen_entries.py"], - cmd: "python device/generic/opengl-transport/host/libs/virglrenderer/gen_entries.py --mode=funcargs $(in) --output $(out)", + cmd: "python $(location gen_entries.py) --mode=funcargs $(in) --output $(out)", srcs: ["OpenGLESDispatch/gles31_only.entries"], out: ["gles31_only_functions.h"], } @@ -142,7 +142,7 @@ genrule { genrule { name: "gles2_extensions_functions_hdr", tool_files: ["gen_entries.py"], - cmd: "python device/generic/opengl-transport/host/libs/virglrenderer/gen_entries.py --mode=funcargs $(in) --output $(out)", + cmd: "python $(location gen_entries.py) --mode=funcargs $(in) --output $(out)", srcs: ["OpenGLESDispatch/gles2_extensions.entries"], out: ["gles2_extensions_functions.h"], } @@ -150,7 +150,7 @@ genrule { genrule { name: "egl_extensions_functions_hdr", tool_files: ["gen_entries.py"], - cmd: "python device/generic/opengl-transport/host/libs/virglrenderer/gen_entries.py --mode=funcargs $(in) --output $(out)", + cmd: "python $(location gen_entries.py) --mode=funcargs $(in) --output $(out)", srcs: ["OpenGLESDispatch/egl_extensions.entries"], out: ["egl_extensions_functions.h"], } @@ -158,7 +158,7 @@ genrule { genrule { name: "gles2_core_functions_hdr", tool_files: ["gen_entries.py"], - cmd: "python device/generic/opengl-transport/host/libs/virglrenderer/gen_entries.py --mode=funcargs $(in) --output $(out)", + cmd: "python $(location gen_entries.py) --mode=funcargs $(in) --output $(out)", srcs: ["OpenGLESDispatch/gles2_core.entries"], out: ["gles2_core_functions.h"], } |