Commit 95845ad4 authored by mstarzinger's avatar mstarzinger Committed by Commit bot

Turn v8.h into a normal header.

R=bmeurer@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#30265}
parent 3ead1897
......@@ -14,9 +14,10 @@ include_rules = [
specific_include_rules = {
".*\.h": [
# Note that src/v8.h is the top header for some .cc files, it shouldn't be
# included in any .h files though. In the long run we should make src/v8.h
# act like any normal header file, instead of a grab-bag include.
# Note that src/v8.h by now is a regular header file, it doesn't provide
# any special declarations besides the V8 class. There should be no need
# for including it in any .h files though. This rule is just a reminder,
# and can be removed once the dust has settled.
"-src/v8.h",
],
"d8\.cc": [
......
include_rules = [
"-src/v8.h",
]
include_rules = [
"+src/compiler/interpreter-assembler.h",
"-src/v8.h",
]
......@@ -2,13 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Top include for all V8 .cc files.
//
#ifndef V8_V8_H_
#define V8_V8_H_
#include "include/v8.h"
#include "src/allocation.h"
#if defined(GOOGLE3) || defined(DCHECK_ALWAYS_ON)
// Google3 and Chromium special flag handling.
#if defined(DEBUG) && defined(NDEBUG)
......@@ -25,13 +24,6 @@
#error both DEBUG and NDEBUG are set
#endif
// Basic includes
#include "include/v8.h"
#include "src/allocation.h"
// Objects
#include "src/objects-inl.h"
namespace v8 {
namespace internal {
......
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