OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project 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 | 5 |
6 // Defined when linking against shared lib on Windows. | 6 // Defined when linking against shared lib on Windows. |
7 #if defined(USING_V8_SHARED) && !defined(V8_SHARED) | 7 #if defined(USING_V8_SHARED) && !defined(V8_SHARED) |
8 #define V8_SHARED | 8 #define V8_SHARED |
9 #endif | 9 #endif |
10 | 10 |
(...skipping 22 matching lines...) Expand all Loading... |
33 #include "src/gdb-jit.h" | 33 #include "src/gdb-jit.h" |
34 #endif | 34 #endif |
35 | 35 |
36 #ifdef ENABLE_VTUNE_JIT_INTERFACE | 36 #ifdef ENABLE_VTUNE_JIT_INTERFACE |
37 #include "src/third_party/vtune/v8-vtune.h" | 37 #include "src/third_party/vtune/v8-vtune.h" |
38 #endif | 38 #endif |
39 | 39 |
40 #include "src/d8.h" | 40 #include "src/d8.h" |
41 | 41 |
42 #include "include/libplatform/libplatform.h" | 42 #include "include/libplatform/libplatform.h" |
| 43 #include "include/v8-platform.h" |
| 44 |
43 #ifndef V8_SHARED | 45 #ifndef V8_SHARED |
44 #include "src/api.h" | 46 #include "src/api.h" |
45 #include "src/base/cpu.h" | 47 #include "src/base/cpu.h" |
46 #include "src/base/logging.h" | 48 #include "src/base/logging.h" |
47 #include "src/base/platform/platform.h" | 49 #include "src/base/platform/platform.h" |
48 #include "src/base/sys-info.h" | 50 #include "src/base/sys-info.h" |
49 #include "src/basic-block-profiler.h" | 51 #include "src/basic-block-profiler.h" |
50 #include "src/d8-debug.h" | 52 #include "src/d8-debug.h" |
51 #include "src/debug.h" | 53 #include "src/debug.h" |
52 #include "src/natives.h" | 54 #include "src/natives.h" |
(...skipping 1712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1765 } | 1767 } |
1766 | 1768 |
1767 } // namespace v8 | 1769 } // namespace v8 |
1768 | 1770 |
1769 | 1771 |
1770 #ifndef GOOGLE3 | 1772 #ifndef GOOGLE3 |
1771 int main(int argc, char* argv[]) { | 1773 int main(int argc, char* argv[]) { |
1772 return v8::Shell::Main(argc, argv); | 1774 return v8::Shell::Main(argc, argv); |
1773 } | 1775 } |
1774 #endif | 1776 #endif |
OLD | NEW |