1 // 2 // Copyright 2015 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 // system_utils_osx.cpp: Implementation of OS-specific functions for OSX 8 9 #include "system_utils.h" 10 11 #include <unistd.h> 12 13 #include <CoreServices/CoreServices.h> 14 #include <mach-o/dyld.h> 15 #include <mach/mach.h> 16 #include <mach/mach_time.h> 17 #include <cstdlib> 18 #include <vector> 19 20 #include <array> 21 22 namespace angle 23 { GetSharedLibraryExtension()24const char *GetSharedLibraryExtension() 25 { 26 return "dylib"; 27 } 28 } // namespace angle 29