egl: fix python lib deprecation warning
authorEric Engestrom <eric.engestrom@intel.com>
Wed, 7 Nov 2018 13:07:09 +0000 (13:07 +0000)
committerEric Engestrom <eric.engestrom@intel.com>
Sun, 13 Jan 2019 13:59:08 +0000 (13:59 +0000)
commitbdf6a5c1d2e01aed88a338c403f28a4b9898068e
treef7696ecacb43e577328a1bbce65cdfc703b5f83b
parentb938d5fbefe09c67318e88eb869cab016fc6749b
egl: fix python lib deprecation warning

  DeprecationWarning: the imp module is deprecated in favour of importlib

Instead of complicated logic, just import the file directly.

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/egl/Makefile.am
src/egl/generate/gen_egl_dispatch.py
src/egl/meson.build