Reviewers: rmcilroy,

Message:
PTAL.

Description:
Fix shared_library build after r17107

Please review this at https://codereview.chromium.org/26004003/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+13, -13 lines):
  M src/platform/elapsed-timer.h
  M src/platform/mutex.h
  M src/platform/semaphore.h
  M src/platform/time.h
  M src/unicode.h
  M tools/gyp/v8.gyp


Index: src/platform/elapsed-timer.h
diff --git a/src/platform/elapsed-timer.h b/src/platform/elapsed-timer.h
index 9016a229baac0449edaa4c4a1090408870dfe59f..b61b007605b18d77de6e840e716dd567a0ecd79b 100644
--- a/src/platform/elapsed-timer.h
+++ b/src/platform/elapsed-timer.h
@@ -28,8 +28,8 @@
 #ifndef V8_PLATFORM_ELAPSED_TIMER_H_
 #define V8_PLATFORM_ELAPSED_TIMER_H_

-#include "checks.h"
-#include "platform/time.h"
+#include "../checks.h"
+#include "time.h"

 namespace v8 {
 namespace internal {
Index: src/platform/mutex.h
diff --git a/src/platform/mutex.h b/src/platform/mutex.h
index 0f899ca59764bc7563a4b63d45d051d4db7c089a..125e9d4860f477df4209f51e27aff88442952f6b 100644
--- a/src/platform/mutex.h
+++ b/src/platform/mutex.h
@@ -28,9 +28,9 @@
 #ifndef V8_PLATFORM_MUTEX_H_
 #define V8_PLATFORM_MUTEX_H_

-#include "lazy-instance.h"
+#include "../lazy-instance.h"
 #if V8_OS_WIN
-#include "win32-headers.h"
+#include "../win32-headers.h"
 #endif

 #if V8_OS_POSIX
Index: src/platform/semaphore.h
diff --git a/src/platform/semaphore.h b/src/platform/semaphore.h
index 2cfa1421117748cff73c3cea9e347234fffb27b4..0babe5fd659b3063c1a114a5e5aec8e0d0c86be2 100644
--- a/src/platform/semaphore.h
+++ b/src/platform/semaphore.h
@@ -28,9 +28,9 @@
 #ifndef V8_PLATFORM_SEMAPHORE_H_
 #define V8_PLATFORM_SEMAPHORE_H_

-#include "lazy-instance.h"
+#include "../lazy-instance.h"
 #if V8_OS_WIN
-#include "win32-headers.h"
+#include "../win32-headers.h"
 #endif

 #if V8_OS_MACOSX
Index: src/platform/time.h
diff --git a/src/platform/time.h b/src/platform/time.h
index 25161f8022f53b2a6a112d956bc23b76ced6354f..877e0203bb553920aa6271a81d61695824657891 100644
--- a/src/platform/time.h
+++ b/src/platform/time.h
@@ -31,7 +31,7 @@
 #include <ctime>
 #include <limits>

-#include "allocation.h"
+#include "../allocation.h"

 // Forward declarations.
 extern "C" {
Index: src/unicode.h
diff --git a/src/unicode.h b/src/unicode.h
index 42a81824bac3a42941c41ad2550088b2532d424f..f1dcad0bcb3c8a5b8430e13ff46f6f5f44d2e62b 100644
--- a/src/unicode.h
+++ b/src/unicode.h
@@ -29,7 +29,7 @@
 #define V8_UNICODE_H_

 #include <sys/types.h>
-#include <globals.h>
+#include "globals.h"
 /**
  * \file
  * Definitions and convenience functions for working with unicode.
Index: tools/gyp/v8.gyp
diff --git a/tools/gyp/v8.gyp b/tools/gyp/v8.gyp
index 83549ddf6cdf737ff96b906331f2691dd6a963b7..bb9abc96fb3525b3a9688f06db6a7895efbe83f0 100644
--- a/tools/gyp/v8.gyp
+++ b/tools/gyp/v8.gyp
@@ -58,13 +58,10 @@
         ['component=="shared_library"', {
           'type': '<(component)',
           'sources': [
+            '../../src/defaults.cc',
             # Note: on non-Windows we still build this file so that gyp
             # has some sources to link into the component.
             '../../src/v8dll-main.cc',
-            '../../src/defaults.cc',
-          ],
-          'include_dirs': [
-            '../../include',
           ],
           'defines': [
             'V8_SHARED',
@@ -274,7 +271,6 @@
         '../../src/debug-agent.h',
         '../../src/debug.cc',
         '../../src/debug.h',
-        '../../src/defaults.cc',
         '../../src/deoptimizer.cc',
         '../../src/deoptimizer.h',
         '../../src/disasm.h',
@@ -858,6 +854,10 @@
             'BUILDING_V8_SHARED',
             'V8_SHARED',
           ],
+        }, {
+          'sources': [
+            '../../src/defaults.cc',
+          ],
         }],
         ['v8_postmortem_support=="true"', {
           'sources': [


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to