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

Side by Side Diff: BUILD.gn

Issue 1021673003: Set U_CHARSET_IS_UTF8 to 1 in BUILD.gn (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium 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 import("//third_party/icu/config.gni") 5 import("//third_party/icu/config.gni")
6 6
7 # Meta target that includes both icuuc and icui18n. Most targets want both. 7 # Meta target that includes both icuuc and icui18n. Most targets want both.
8 # You can depend on the individually if you need to. 8 # You can depend on the individually if you need to.
9 group("icu") { 9 group("icu") {
10 deps = [ 10 deps = [
11 ":icui18n", 11 ":icui18n",
12 ":icuuc", 12 ":icuuc",
13 ] 13 ]
14 } 14 }
15 15
16 # Shared config used by ICU and all dependents. 16 # Shared config used by ICU and all dependents.
17 config("icu_config") { 17 config("icu_config") {
18 defines = [ 18 defines = [
19 "U_USING_ICU_NAMESPACE=0", 19 "U_USING_ICU_NAMESPACE=0",
20 "U_ENABLE_DYLOAD=0", 20 "U_ENABLE_DYLOAD=0",
21 "U_CHARSET_IS_UTF8=1",
21 ] 22 ]
22 23
23 if (component_mode != "shared_library") { 24 if (component_mode != "shared_library") {
24 defines += [ "U_STATIC_IMPLEMENTATION" ] 25 defines += [ "U_STATIC_IMPLEMENTATION" ]
25 } 26 }
26 27
27 include_dirs = [ 28 include_dirs = [
28 "source/common", 29 "source/common",
29 "source/i18n", 30 "source/i18n",
30 ] 31 ]
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 sources = [ 546 sources = [
546 "android/icudtl_dat.S", 547 "android/icudtl_dat.S",
547 ] 548 ]
548 } else { 549 } else {
549 assert(false, "No icu data for this platform") 550 assert(false, "No icu data for this platform")
550 } 551 }
551 defines = [ "U_HIDE_DATA_SYMBOL" ] 552 defines = [ "U_HIDE_DATA_SYMBOL" ]
552 } 553 }
553 } 554 }
554 } 555 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698