Commit 2bdcbb9a by Austin Kinross Committed by Geoff Lang

Enable Windows Phone 8.1 project generation

Change-Id: Iab44f6d634bdcd01348aa49de28b96c3b6086df7 Reviewed-on: https://chromium-review.googlesource.com/241945Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Tested-by: 's avatarAustin Kinross <aukinros@microsoft.com>
parent cd83a2f2
...@@ -36,4 +36,5 @@ def generateProjects(generation_dir, build_winphone): ...@@ -36,4 +36,5 @@ def generateProjects(generation_dir, build_winphone):
if __name__ == '__main__': if __name__ == '__main__':
# Generate Windows 8.1 projects # Generate Windows 8.1 projects
generateProjects("winrt/windows", False); generateProjects("winrt/8.1/windows", False);
generateProjects("winrt/8.1/windowsphone", True);
\ No newline at end of file
...@@ -76,11 +76,11 @@ ...@@ -76,11 +76,11 @@
typedef HDC EGLNativeDisplayType; typedef HDC EGLNativeDisplayType;
typedef HBITMAP EGLNativePixmapType; typedef HBITMAP EGLNativePixmapType;
#if defined(WINAPI_FAMILY) && WINAPI_FAMILY == WINAPI_FAMILY_PC_APP /* Windows Store */ #if !defined(WINAPI_FAMILY) || (WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP) /* Windows Desktop */
typedef HWND EGLNativeWindowType;
#else /* Windows Store */
#include <inspectable.h> #include <inspectable.h>
typedef IInspectable* EGLNativeWindowType; typedef IInspectable* EGLNativeWindowType;
#else
typedef HWND EGLNativeWindowType;
#endif #endif
#elif defined(__WINSCW__) || defined(__SYMBIAN32__) /* Symbian */ #elif defined(__WINSCW__) || defined(__SYMBIAN32__) /* Symbian */
......
...@@ -34,9 +34,6 @@ ...@@ -34,9 +34,6 @@
#endif #endif
#ifdef ANGLE_PLATFORM_WINDOWS #ifdef ANGLE_PLATFORM_WINDOWS
# if defined(WINAPI_FAMILY) && WINAPI_FAMILY == WINAPI_FAMILY_PC_APP
# define ANGLE_ENABLE_WINDOWS_STORE 1
# endif
# ifndef STRICT # ifndef STRICT
# define STRICT 1 # define STRICT 1
# endif # endif
...@@ -49,6 +46,10 @@ ...@@ -49,6 +46,10 @@
# include <windows.h> # include <windows.h>
# if defined(WINAPI_FAMILY) && (WINAPI_FAMILY != WINAPI_FAMILY_DESKTOP_APP)
# define ANGLE_ENABLE_WINDOWS_STORE 1
# endif
# if defined(ANGLE_ENABLE_D3D9) # if defined(ANGLE_ENABLE_D3D9)
# include <d3d9.h> # include <d3d9.h>
# include <d3dcompiler.h> # include <d3dcompiler.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment