Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Side by Side Diff: docs/i18n_support.md

Issue 1347153006: [Docs] Add wiki content to Markdown docs (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # ECMAScript 402
2
3 V8 optionally implements the [ECMAScript 402](http://www.ecma-international.org/ ecma-402/1.0/) API. The API is enabled by default, but can be turned off at comp ile time.
4
5
6 ## Prerequisites
7
8 The i18n implementation adds a dependency on ICU. If you run
9
10 ```
11 make dependencies
12 ```
13
14 a suitable version of ICU is checked out into `third_party/icu`.
15
16
17 ### Alternative ICU checkout
18
19 You can check out the ICU sources at a different location and define the gyp var iable `icu_gyp_path` to point at the `icu.gyp` file.
20
21
22 ### System ICU
23
24 Last but not least, you can compile V8 against a version of ICU installed in you r system. To do so, specify the gyp variable `use_system_icu=1`. If you also hav e `want_separate_host_toolset` enabled, the bundled ICU will still be compiled t o generate the V8 snapshot. The system ICU will only be used for the target arch itecture.
25
26
27 ## Embedding V8
28
29 If you embed V8 in your application, but your application itself doesn't use ICU , you will need to initialize ICU before calling into V8 by executing:
30
31 ```
32 v8::V8::InitializeICU();
33 ```
34
35 It is safe to invoke this method if ICU was not compiled in, then it does nothin g.
36
37
38 ## Compiling without i18n support
39
40 To build V8 without i18n support use
41
42 ```
43 make i18nsupport=off native
44 ```
OLDNEW
« docs/building_with_gyp.md ('K') | « docs/handling_of_ports.md ('k') | docs/javascript.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698