• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 // Copyright 2020 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 //
6 
7 // SystemInfo_ios.cpp: implementation of the iOS-specific parts of SystemInfo.h
8 
9 #include "common/platform.h"
10 
11 #if defined(ANGLE_PLATFORM_IOS) && !defined(ANGLE_PLATFORM_MACCATALYST)
12 
13 #    include "gpu_info_util/SystemInfo_internal.h"
14 
15 namespace angle
16 {
17 
GetSystemInfo(SystemInfo * info)18 bool GetSystemInfo(SystemInfo *info)
19 {
20     {
21         // TODO(anglebug.com/4275): Get the actual system version.
22         info->machineModelVersion = "0.0";
23     }
24 
25     return true;
26 }
27 
28 }  // namespace angle
29 
30 #endif  // defined(ANGLE_PLATFORM_IOS) && !defined(ANGLE_PLATFORM_MACCATALYST)
31