Evas: remove Evil.h when not needed and use evil_private when needed

Test Plan: compilation

Reviewers: zmike, raster, cedric

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8921
This commit is contained in:
Vincent Torri 2019-05-20 08:46:02 -04:00 committed by Mike Blumenkrantz
parent 41866a8855
commit 24e4881efb
25 changed files with 18 additions and 72 deletions

View File

@ -8,10 +8,6 @@
#include <sys/stat.h>
#include <errno.h>
#ifdef _WIN32
# include <Evil.h>
#endif
#include "evas_common_private.h"
#include "evas_private.h"

View File

@ -1,9 +1,6 @@
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#ifdef _WIN32
# include <Evil.h>
#endif
#ifdef __linux__
# include <sys/syscall.h>
#endif

View File

@ -7,7 +7,8 @@
#ifdef _WIN32
# include <winsock2.h>
#endif /* ! _WIN32 */
# include <evil_private.h> /* fcntl */
#endif
#include <fcntl.h>

View File

@ -3,7 +3,7 @@
#endif
#ifdef _WIN32
# include <Evil.h>
# include <evil_private.h> /* evil_path_is_absolute */
#endif
#include <Eet.h>

View File

@ -10,6 +10,10 @@
#include "eo_internal.h"
#ifdef _WIN32
# include <evil_private.h> /* evil_init evil_shutdown */
#endif
#include <Ecore.h>
#define EFL_INTERNAL_UNSTABLE

View File

@ -3,7 +3,7 @@
#endif
#ifdef _WIN32
# include <Evil.h>
# include <windows.h>
#endif
#include <assert.h>
@ -32,7 +32,7 @@ struct _ScaleitemKey
int src_x, src_y;
unsigned int src_w, src_h;
unsigned int dst_w, dst_h;
Eina_Bool smooth : 1;
Eina_Bool smooth : 1;
};
struct _Scaleitem

View File

@ -29,10 +29,6 @@
# define dgettext(domain, x) (x)
#endif
#ifdef _WIN32
# include <Evil.h>
#endif
#include <Eina.h>
#include "evas_language_utils.h"

View File

@ -17,7 +17,7 @@
#include <sys/param.h>
#ifdef _WIN32
# include <Evil.h>
# include <evil_private.h> /* evil_path_is_absolute */
#endif
#include "evas_common_private.h"

View File

@ -24,10 +24,6 @@
#include <stdint.h>
#include <unistd.h>
#ifdef _WIN32
# include <Evil.h>
#endif
#ifdef HAVE_ESCAPE
# include <Escape.h>
#endif

View File

@ -14,6 +14,10 @@
# include <dlfcn.h> /* dlopen,dlclose,etc */
#endif
#ifdef _WIN32
# include <evil_private.h> /* dlsym */
#endif
#if defined HAVE_DLSYM
# define EVAS_GL 1
# define EVAS_GL_NO_GL_H_CHECK 1

View File

@ -4,6 +4,8 @@
#if defined HAVE_DLSYM && ! defined _WIN32
# include <dlfcn.h> /* dlopen,dlclose,etc */
#elif _WIN32
# include <evil_private.h> /* dlopen dlclose dlsym */
#else
# warning native_dmabuf should not get compiled if dlsym is not found on the system!
#endif

View File

@ -4,6 +4,8 @@
#if defined HAVE_DLSYM && ! defined _WIN32
# include <dlfcn.h> /* dlopen,dlclose,etc */
#elif _WIN32
# include <evil_private.h> /* dlopen dlclose dlsym */
#else
# warning native_tbm should not get compiled if dlsym is not found on the system!
#endif

View File

@ -4,10 +4,6 @@
#include <stdio.h>
#ifdef _WIN32
# include <Evil.h>
#endif
#include <math.h>
#include "evas_common_private.h"

View File

@ -2,10 +2,6 @@
# include "config.h"
#endif
#ifdef _WIN32
# include <Evil.h>
#endif
#include "evas_common_private.h"
#include "evas_private.h"

View File

@ -4,10 +4,6 @@
#include <stdio.h>
#ifdef _WIN32
# include <Evil.h>
#endif
#include "evas_common_private.h"
#include "evas_private.h"

View File

@ -4,10 +4,6 @@
#include <stdio.h>
#ifdef _WIN32
# include <Evil.h>
#endif
#include <openjpeg.h>
#include "Evas_Loader.h"

View File

@ -2,10 +2,6 @@
# include <config.h>
#endif
#ifdef _WIN32
# include <Evil.h>
#endif
#include "evas_common_private.h"
#include "evas_private.h"

View File

@ -6,10 +6,6 @@
#include <png.h>
#include <setjmp.h>
#ifdef _WIN32
# include <Evil.h>
#endif
#include "evas_common_private.h"
#include "evas_private.h"

View File

@ -19,10 +19,6 @@
# include <netinet/in.h>
#endif
#ifdef _WIN32
# include <Evil.h>
#endif
#include "evas_common_private.h"
#include "evas_private.h"

View File

@ -6,10 +6,6 @@
#include <sys/types.h>
#include <fcntl.h>
#ifdef _WIN32
# include <Evil.h>
#endif
#include "evas_common_private.h"
#include "evas_private.h"

View File

@ -7,10 +7,6 @@
#include <unistd.h>
#include <tiffio.h>
#ifdef _WIN32
# include <Evil.h>
#endif
#include "evas_common_private.h"
#include "evas_private.h"

View File

@ -4,10 +4,6 @@
#include <stdio.h>
#ifdef _WIN32
# include <Evil.h>
#endif
#include "evas_common_private.h"
#include "evas_private.h"

View File

@ -6,10 +6,6 @@
#include <string.h>
#include <webp/decode.h>
#ifdef _WIN32
# include <Evil.h>
#endif
#include "evas_common_private.h"
#include "evas_private.h"

View File

@ -2,10 +2,6 @@
# include <config.h>
#endif
#ifdef _WIN32
# include <Evil.h>
#endif
#include "evas_common_private.h"
#include "evas_private.h"

View File

@ -6,10 +6,6 @@
#include <png.h>
#include <setjmp.h>
#ifdef _WIN32
# include <Evil.h>
#endif
#include "evas_common_private.h"
#include "evas_private.h"