diff options
author | Colin Cross <ccross@android.com> | 2021-07-30 17:20:28 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-07-30 17:20:28 +0000 |
commit | 58d8c25b1fd0a634c3b81ab0ac9369a932864e97 (patch) | |
tree | ffe111eb4028b7734ea326cf09545443864ef536 | |
parent | 6b0c7c618e990597042e03eb9e6ae554581d723a (diff) | |
parent | d2a01e37a4c8ed482fbe455c4ab41c395b1500cb (diff) | |
download | opengl-transport-58d8c25b1fd0a634c3b81ab0ac9369a932864e97.tar.gz |
Use $(location) to find path to tools am: 681a6f9804 am: d2a01e37a4android-t-preview-2android-t-preview-1android-t-beta-3android-s-v2-preview-2android-s-v2-preview-1android-s-v2-beta-3android-s-v2-beta-2android-s-qpr3-beta-1android-t-preview-1android-s-v2-preview-1android-s-v2-beta-3android-s-qpr3-beta-1
Original change: https://android-review.googlesource.com/c/device/generic/opengl-transport/+/1685106
Change-Id: Id00fa1c8b838403acb272d633679b7304fe4f07d
-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"], } |