Use Fuchsia's Windows Clang SDK (flutter/engine#29736)
This commit is contained in:
9
DEPS
9
DEPS
@@ -99,7 +99,7 @@ allowed_hosts = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
deps = {
|
deps = {
|
||||||
'src': 'https://github.com/flutter/buildroot.git' + '@' + 'bfa04ad85fed176aa909f880ef5c8009c945ba03',
|
'src': 'https://github.com/flutter/buildroot.git' + '@' + '3dc3ec56b3dc76ba60c8348053a9f6ef3446b0f2',
|
||||||
|
|
||||||
# Fuchsia compatibility
|
# Fuchsia compatibility
|
||||||
#
|
#
|
||||||
@@ -632,12 +632,11 @@ deps = {
|
|||||||
'dep_type': 'cipd',
|
'dep_type': 'cipd',
|
||||||
},
|
},
|
||||||
|
|
||||||
# TODO(fxb/4443): Remove this when Fuchsia can provide the Windows Clang Toolchain
|
'src/buildtools/windows-x64/clang': {
|
||||||
'src/third_party/llvm-build/Release+Asserts': {
|
|
||||||
'packages': [
|
'packages': [
|
||||||
{
|
{
|
||||||
'package': 'flutter/clang/win-amd64',
|
'package': 'fuchsia/third_party/clang/windows-amd64',
|
||||||
'version': 'git_revision:5ec206df8534d2dd8cb9217c3180e5ddba587393'
|
'version': 'a4WSJSNW8w7fYZ5GoOcCM7PlBxrXknK4ni71zZV1R_gC'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
'condition': 'download_windows_deps',
|
'condition': 'download_windows_deps',
|
||||||
|
|||||||
@@ -26,22 +26,22 @@ struct Win32Message {
|
|||||||
HWND hWnd;
|
HWND hWnd;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef enum {
|
typedef enum WmFieldExtended {
|
||||||
kNotExtended = 0,
|
kNotExtended = 0,
|
||||||
kExtended = 1,
|
kExtended = 1,
|
||||||
} WmFieldExtended;
|
} WmFieldExtended;
|
||||||
|
|
||||||
typedef enum {
|
typedef enum WmFieldContext {
|
||||||
kNoContext = 0,
|
kNoContext = 0,
|
||||||
kAltHeld = 1,
|
kAltHeld = 1,
|
||||||
} WmFieldContext;
|
} WmFieldContext;
|
||||||
|
|
||||||
typedef enum {
|
typedef enum WmFieldPrevState {
|
||||||
kWasUp = 0,
|
kWasUp = 0,
|
||||||
kWasDown = 1,
|
kWasDown = 1,
|
||||||
} WmFieldPrevState;
|
} WmFieldPrevState;
|
||||||
|
|
||||||
typedef enum {
|
typedef enum WmFieldTransitionState {
|
||||||
kBeingReleased = 0,
|
kBeingReleased = 0,
|
||||||
kBeingPressed = 1,
|
kBeingPressed = 1,
|
||||||
} WmFieldTransitionState;
|
} WmFieldTransitionState;
|
||||||
@@ -49,7 +49,7 @@ typedef enum {
|
|||||||
// WM_KEYDOWN messages.
|
// WM_KEYDOWN messages.
|
||||||
//
|
//
|
||||||
// See https://docs.microsoft.com/en-us/windows/win32/inputdev/wm-keydown.
|
// See https://docs.microsoft.com/en-us/windows/win32/inputdev/wm-keydown.
|
||||||
typedef struct {
|
typedef struct WmKeyDownInfo {
|
||||||
uint32_t key;
|
uint32_t key;
|
||||||
|
|
||||||
uint8_t scan_code;
|
uint8_t scan_code;
|
||||||
@@ -74,7 +74,7 @@ typedef struct {
|
|||||||
// WM_KEYUP messages.
|
// WM_KEYUP messages.
|
||||||
//
|
//
|
||||||
// See https://docs.microsoft.com/en-us/windows/win32/inputdev/wm-keyup.
|
// See https://docs.microsoft.com/en-us/windows/win32/inputdev/wm-keyup.
|
||||||
typedef struct {
|
typedef struct WmKeyUpInfo {
|
||||||
uint32_t key;
|
uint32_t key;
|
||||||
|
|
||||||
uint8_t scan_code;
|
uint8_t scan_code;
|
||||||
@@ -96,7 +96,7 @@ typedef struct {
|
|||||||
// WM_CHAR messages.
|
// WM_CHAR messages.
|
||||||
//
|
//
|
||||||
// See https://docs.microsoft.com/en-us/windows/win32/inputdev/wm-char.
|
// See https://docs.microsoft.com/en-us/windows/win32/inputdev/wm-char.
|
||||||
typedef struct {
|
typedef struct WmCharInfo {
|
||||||
uint32_t char_code;
|
uint32_t char_code;
|
||||||
|
|
||||||
uint8_t scan_code;
|
uint8_t scan_code;
|
||||||
@@ -118,7 +118,7 @@ typedef struct {
|
|||||||
// WM_SYSKEYUP messages.
|
// WM_SYSKEYUP messages.
|
||||||
//
|
//
|
||||||
// See https://docs.microsoft.com/en-us/windows/win32/inputdev/wm-syskeyup.
|
// See https://docs.microsoft.com/en-us/windows/win32/inputdev/wm-syskeyup.
|
||||||
typedef struct {
|
typedef struct WmSysKeyUpInfo {
|
||||||
uint32_t key;
|
uint32_t key;
|
||||||
|
|
||||||
uint8_t scan_code;
|
uint8_t scan_code;
|
||||||
@@ -140,7 +140,7 @@ typedef struct {
|
|||||||
// WM_DEADCHAR messages.
|
// WM_DEADCHAR messages.
|
||||||
//
|
//
|
||||||
// See https://docs.microsoft.com/en-us/windows/win32/inputdev/wm-deadchar.
|
// See https://docs.microsoft.com/en-us/windows/win32/inputdev/wm-deadchar.
|
||||||
typedef struct {
|
typedef struct WmDeadCharInfo {
|
||||||
uint32_t char_code;
|
uint32_t char_code;
|
||||||
|
|
||||||
uint8_t scan_code;
|
uint8_t scan_code;
|
||||||
|
|||||||
@@ -19,8 +19,8 @@ import sys
|
|||||||
|
|
||||||
# Path constants. (All of these should be absolute paths.)
|
# Path constants. (All of these should be absolute paths.)
|
||||||
THIS_DIR = os.path.abspath(os.path.dirname(__file__))
|
THIS_DIR = os.path.abspath(os.path.dirname(__file__))
|
||||||
LLVM_BUILD_DIR = os.path.abspath(os.path.join(THIS_DIR, '..', '..', 'third_party',
|
LLVM_BUILD_DIR = os.path.abspath(os.path.join(THIS_DIR, '..', '..', 'buildtools',
|
||||||
'llvm-build', 'Release+Asserts'))
|
'windows-x64', 'clang'))
|
||||||
|
|
||||||
|
|
||||||
def GetDiaDll():
|
def GetDiaDll():
|
||||||
|
|||||||
Reference in New Issue
Block a user