Commit 0f57ce8f authored by bulach's avatar bulach Committed by Commit bot

Forward declaration for Isolate / Platform in libplatform.h.

Reduces dependencies on #include files, making it easier for other
build systems to include this library.

BUG=

Review URL: https://codereview.chromium.org/740493002

Cr-Commit-Position: refs/heads/master@{#25408}
parent d5d15253
...@@ -5,9 +5,11 @@ ...@@ -5,9 +5,11 @@
#ifndef V8_LIBPLATFORM_LIBPLATFORM_H_ #ifndef V8_LIBPLATFORM_LIBPLATFORM_H_
#define V8_LIBPLATFORM_LIBPLATFORM_H_ #define V8_LIBPLATFORM_LIBPLATFORM_H_
#include "include/v8-platform.h"
namespace v8 { namespace v8 {
class Isolate;
class Platform;
namespace platform { namespace platform {
/** /**
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include <include/libplatform/libplatform.h> #include <include/libplatform/libplatform.h>
#include <include/v8-debug.h> #include <include/v8-debug.h>
#include <include/v8-platform.h>
#include <fcntl.h> #include <fcntl.h>
#include <stdio.h> #include <stdio.h>
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include <include/v8.h> #include <include/v8.h>
#include <include/libplatform/libplatform.h> #include <include/libplatform/libplatform.h>
#include <include/v8-platform.h>
#include <assert.h> #include <assert.h>
#include <fcntl.h> #include <fcntl.h>
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
#include "include/libplatform/libplatform.h" #include "include/libplatform/libplatform.h"
#include "include/v8.h" #include "include/v8.h"
#include "include/v8-platform.h"
#include "src/base/compiler-specific.h" #include "src/base/compiler-specific.h"
#include "testing/gmock/include/gmock/gmock.h" #include "testing/gmock/include/gmock/gmock.h"
......
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