Commit 92644e19 authored by Tom Tan's avatar Tom Tan Committed by Commit Bot

Create export def file for Windows ARM64 platform.

The only difference between the new chrome_elf_arm64.def and existing chrome_elf_x64.def is that RegisterNonABICompliantCodeRange_ExportThunk and UnregisterNonABICompliantCodeRange_ExportThunk are not included because they are defined as x64 specific.

Bug: 893460
Change-Id: Id0d11fb9264309b3c6ce97d81eeab1a39e158fba
Reviewed-on: https://chromium-review.googlesource.com/c/1325149Reviewed-by: default avatarBruce Dawson <brucedawson@chromium.org>
Reviewed-by: default avatarCait Phillips <caitkp@chromium.org>
Commit-Queue: Tom Tan <Tom.Tan@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#608143}
parent cf190a82
...@@ -63,6 +63,8 @@ shared_library("chrome_elf") { ...@@ -63,6 +63,8 @@ shared_library("chrome_elf") {
] ]
if (target_cpu == "x86") { if (target_cpu == "x86") {
sources += [ "chrome_elf_x86.def" ] sources += [ "chrome_elf_x86.def" ]
} else if (target_cpu == "arm64") {
sources += [ "chrome_elf_arm64.def" ]
} else { } else {
sources += [ "chrome_elf_x64.def" ] sources += [ "chrome_elf_x64.def" ]
} }
......
; Copyright 2013 The Chromium Authors. All rights reserved.
; Use of this source code is governed by a BSD-style license that can be
; found in the LICENSE file.
LIBRARY "chrome_elf.dll"
EXPORTS
; When functions are added to this file, they must also be added to
; chrome_elf_x86.def and chrome_elf_x64.def
; From components/crash/content/app/crash_export_stubs.cc
CrashForException_ExportThunk
DumpHungProcessWithPtype_ExportThunk
GetCrashpadDatabasePath_ExportThunk
GetCrashReports_ExportThunk
InjectDumpForHungInput_ExportThunk
RequestSingleCrashUpload_ExportThunk
SetUploadConsent_ExportThunk
; From chrome_elf/crash/crash_helper.cc
SetMetricsClientId
; From chrome_elf/chrome_elf_main.cc
DumpProcessWithoutCrash
GetUserDataDirectoryThunk
SignalChromeElf
SignalInitializeCrashReporting
; From chrome/install_static
GetInstallDetailsPayload
; From chrome_elf/blacklist/blacklist.cc
AddDllToBlacklist
IsBlacklistInitialized
SuccessfullyBlocked
; From chrome_elf/third_party_dlls/logs
DrainLog
RegisterLogNotification
...@@ -5,7 +5,7 @@ LIBRARY "chrome_elf.dll" ...@@ -5,7 +5,7 @@ LIBRARY "chrome_elf.dll"
EXPORTS EXPORTS
; When functions are added to this file, they must also be added to ; When functions are added to this file, they must also be added to
; chrome_elf_x86.def ; chrome_elf_x86.def and chrome_elf_arm64.def
; From components/crash/content/app/crash_export_stubs.cc ; From components/crash/content/app/crash_export_stubs.cc
CrashForException_ExportThunk CrashForException_ExportThunk
......
...@@ -5,7 +5,7 @@ LIBRARY "chrome_elf.dll" ...@@ -5,7 +5,7 @@ LIBRARY "chrome_elf.dll"
EXPORTS EXPORTS
; When functions are added to this file, they must also be added to ; When functions are added to this file, they must also be added to
; chrome_elf_x64.def ; chrome_elf_x64.def and chrome_elf_arm64.def
; From components/crash/content/app/crash_export_stubs.cc ; From components/crash/content/app/crash_export_stubs.cc
CrashForException_ExportThunk CrashForException_ExportThunk
......
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