1// Copyright 2016 the V8 project authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#ifndef V8_BASE_FILE_UTILS_H_ 6#define V8_BASE_FILE_UTILS_H_ 7 8#include <memory> 9 10#include "src/base/base-export.h" 11 12namespace v8 { 13namespace base { 14 15// Helper functions to manipulate file paths. 16 17V8_BASE_EXPORT 18std::unique_ptr<char[]> RelativePath(const char* exec_path, const char* name); 19 20} // namespace base 21} // namespace v8 22 23#endif // V8_BASE_FILE_UTILS_H_ 24