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 27 matching lines...) Expand all Loading... |
38 #include "include/libplatform/libplatform.h" | 38 #include "include/libplatform/libplatform.h" |
39 #ifndef V8_SHARED | 39 #ifndef V8_SHARED |
40 #include "src/api.h" | 40 #include "src/api.h" |
41 #include "src/base/cpu.h" | 41 #include "src/base/cpu.h" |
42 #include "src/base/logging.h" | 42 #include "src/base/logging.h" |
43 #include "src/base/platform/platform.h" | 43 #include "src/base/platform/platform.h" |
44 #include "src/base/sys-info.h" | 44 #include "src/base/sys-info.h" |
45 #include "src/basic-block-profiler.h" | 45 #include "src/basic-block-profiler.h" |
46 #include "src/d8-debug.h" | 46 #include "src/d8-debug.h" |
47 #include "src/debug.h" | 47 #include "src/debug.h" |
48 #include "src/natives.h" | 48 #include "src/snapshot/natives.h" |
49 #include "src/v8.h" | 49 #include "src/v8.h" |
50 #endif // !V8_SHARED | 50 #endif // !V8_SHARED |
51 | 51 |
52 #ifdef V8_USE_EXTERNAL_STARTUP_DATA | 52 #ifdef V8_USE_EXTERNAL_STARTUP_DATA |
53 #include "src/startup-data-util.h" | 53 #include "src/startup-data-util.h" |
54 #endif // V8_USE_EXTERNAL_STARTUP_DATA | 54 #endif // V8_USE_EXTERNAL_STARTUP_DATA |
55 | 55 |
56 #if !defined(_WIN32) && !defined(_WIN64) | 56 #if !defined(_WIN32) && !defined(_WIN64) |
57 #include <unistd.h> // NOLINT | 57 #include <unistd.h> // NOLINT |
58 #else | 58 #else |
(...skipping 1659 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1718 } | 1718 } |
1719 | 1719 |
1720 } // namespace v8 | 1720 } // namespace v8 |
1721 | 1721 |
1722 | 1722 |
1723 #ifndef GOOGLE3 | 1723 #ifndef GOOGLE3 |
1724 int main(int argc, char* argv[]) { | 1724 int main(int argc, char* argv[]) { |
1725 return v8::Shell::Main(argc, argv); | 1725 return v8::Shell::Main(argc, argv); |
1726 } | 1726 } |
1727 #endif | 1727 #endif |
OLD | NEW |