Title: [93484] trunk/Source
Revision
93484
Author
[email protected]
Date
2011-08-20 21:37:52 -0700 (Sat, 20 Aug 2011)

Log Message

Source/WebCore: Point build system and #include headers to v8-i18n library instead of v8 library.
We forked a new code.google.com/p/v8-i18n project from v8/extensions/experimental.
https://bugs.webkit.org/show_bug.cgi?id=66573

Patch by Nebojsa Ciric <[email protected]> on 2011-08-20
Reviewed by Kent Tamura.

Covered by existing tests, and no code was changed.

* WebCore.gyp/WebCore.gyp:
* bindings/v8/V8DOMWindowShell.cpp:
(WebCore::V8DOMWindowShell::createNewContext):

Source/WebKit/chromium: Add dependency on v8-i18n library. We used v8 repository before.
Chromium DEPS change was already submited (http://codereview.chromium.org/7583050).
https://bugs.webkit.org/show_bug.cgi?id=66573

Patch by Nebojsa Ciric <[email protected]> on 2011-08-20
Reviewed by Kent Tamura.

* DEPS:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (93483 => 93484)


--- trunk/Source/WebCore/ChangeLog	2011-08-20 20:37:41 UTC (rev 93483)
+++ trunk/Source/WebCore/ChangeLog	2011-08-21 04:37:52 UTC (rev 93484)
@@ -1,3 +1,17 @@
+2011-08-20  Nebojsa Ciric  <[email protected]>
+
+        Point build system and #include headers to v8-i18n library instead of v8 library.
+        We forked a new code.google.com/p/v8-i18n project from v8/extensions/experimental.
+        https://bugs.webkit.org/show_bug.cgi?id=66573
+
+        Reviewed by Kent Tamura.
+
+        Covered by existing tests, and no code was changed.
+
+        * WebCore.gyp/WebCore.gyp:
+        * bindings/v8/V8DOMWindowShell.cpp:
+        (WebCore::V8DOMWindowShell::createNewContext):
+
 2011-08-20  Tom Zakrajsek  <[email protected]>
 
         instanceof HTMLSourceElement Fails

Modified: trunk/Source/WebCore/WebCore.gyp/WebCore.gyp (93483 => 93484)


--- trunk/Source/WebCore/WebCore.gyp/WebCore.gyp	2011-08-20 20:37:41 UTC (rev 93483)
+++ trunk/Source/WebCore/WebCore.gyp/WebCore.gyp	2011-08-21 04:37:52 UTC (rev 93484)
@@ -1762,7 +1762,7 @@
         }],
         ['_javascript__engine=="v8"', {
           'dependencies': [
-            '<(chromium_src_dir)/v8/src/extensions/experimental/experimental.gyp:i18n_api',
+            '<(chromium_src_dir)/third_party/v8-i18n/build/all.gyp:v8-i18n',
           ],
         }],
       ],

Modified: trunk/Source/WebCore/bindings/v8/V8DOMWindowShell.cpp (93483 => 93484)


--- trunk/Source/WebCore/bindings/v8/V8DOMWindowShell.cpp	2011-08-20 20:37:41 UTC (rev 93483)
+++ trunk/Source/WebCore/bindings/v8/V8DOMWindowShell.cpp	2011-08-21 04:37:52 UTC (rev 93484)
@@ -66,7 +66,7 @@
 #include <v8.h>
 
 #if ENABLE(_javascript__I18N_API)
-#include <v8/src/extensions/experimental/i18n-extension.h>
+#include <v8-i18n/include/extension.h>
 #endif
 
 #include <wtf/Assertions.h>
@@ -368,8 +368,8 @@
 
 #if ENABLE(_javascript__I18N_API)
     // Enables experimental i18n API in V8.
-    if (RuntimeEnabledFeatures::_javascript_I18NAPIEnabled() && !V8Proxy::registeredExtensionWithV8(v8::internal::I18NExtension::get()))
-        V8Proxy::registerExtension(v8::internal::I18NExtension::get());
+    if (RuntimeEnabledFeatures::_javascript_I18NAPIEnabled() && !V8Proxy::registeredExtensionWithV8(v8_i18n::Extension::get()))
+        V8Proxy::registerExtension(v8_i18n::Extension::get());
 #endif
 
     // Dynamically tell v8 about our extensions now.

Modified: trunk/Source/WebKit/chromium/ChangeLog (93483 => 93484)


--- trunk/Source/WebKit/chromium/ChangeLog	2011-08-20 20:37:41 UTC (rev 93483)
+++ trunk/Source/WebKit/chromium/ChangeLog	2011-08-21 04:37:52 UTC (rev 93484)
@@ -1,3 +1,13 @@
+2011-08-20  Nebojsa Ciric  <[email protected]>
+
+        Add dependency on v8-i18n library. We used v8 repository before.
+        Chromium DEPS change was already submited (http://codereview.chromium.org/7583050).
+        https://bugs.webkit.org/show_bug.cgi?id=66573
+
+        Reviewed by Kent Tamura.
+
+        * DEPS:
+
 2011-08-19  Adam Klein  <[email protected]>
 
         [chromium] Remove various unreferenced bits from Chromium API headers

Modified: trunk/Source/WebKit/chromium/DEPS (93483 => 93484)


--- trunk/Source/WebKit/chromium/DEPS	2011-08-20 20:37:41 UTC (rev 93483)
+++ trunk/Source/WebKit/chromium/DEPS	2011-08-21 04:37:52 UTC (rev 93484)
@@ -136,6 +136,8 @@
     From('chromium_deps', 'src/third_party/snappy/src'),
   'third_party/sfntly/src/sfntly':
     From('chromium_deps', 'src/third_party/sfntly/src/sfntly'),
+  'third_party/v8-i18n':
+    From('chromium_deps', 'src/third_party/v8-i18n'),
   'third_party':
     Var('chromium_svn')+'/third_party@'+Var('chromium_rev'),
 }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to