Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Side by Side Diff: third_party/android_crazy_linker/src/src/crazy_linker_system.h

Issue 1105893002: crazy linker: Improved fix for crbug/479220. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to master. Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CRAZY_LINKER_SYSTEM_H 5 #ifndef CRAZY_LINKER_SYSTEM_H
6 #define CRAZY_LINKER_SYSTEM_H 6 #define CRAZY_LINKER_SYSTEM_H
7 7
8 #include <errno.h> 8 #include <errno.h>
9 #include <stdio.h> 9 #include <stdio.h>
10 #include <stdlib.h> 10 #include <stdlib.h>
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // Returns true iff a given path is a regular file (or link to a regular 69 // Returns true iff a given path is a regular file (or link to a regular
70 // file). 70 // file).
71 bool PathIsFile(const char* path_name); 71 bool PathIsFile(const char* path_name);
72 72
73 // Returns the current directory, as a string. 73 // Returns the current directory, as a string.
74 String GetCurrentDirectory(); 74 String GetCurrentDirectory();
75 75
76 // Returns the value of a given environment variable. 76 // Returns the value of a given environment variable.
77 const char* GetEnv(const char* var_name); 77 const char* GetEnv(const char* var_name);
78 78
79 // Returns true iff |lib_name| corresponds to one of the NDK-exposed
80 // system libraries.
81 bool IsSystemLibrary(const char* lib_name);
82
83 } // namespace crazy 79 } // namespace crazy
84 80
85 #endif // CRAZY_LINKER_SYSTEM_H 81 #endif // CRAZY_LINKER_SYSTEM_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698