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

Side by Side Diff: BUILD.gn

Issue 1183493003: GN: Avoid failing unconditionally on iOS due to the lack of a target for icudata (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: Created 5 years, 6 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 = [
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 496
497 if (is_win || icu_use_data_file) { 497 if (is_win || icu_use_data_file) {
498 sources += [ "source/stubdata/stubdata.c" ] 498 sources += [ "source/stubdata/stubdata.c" ]
499 defines += [ "U_ICUDATAENTRY_IN_COMMON" ] 499 defines += [ "U_ICUDATAENTRY_IN_COMMON" ]
500 } 500 }
501 } 501 }
502 502
503 # TODO(GYP) support use_system_icu. 503 # TODO(GYP) support use_system_icu.
504 if (icu_use_data_file) { 504 if (icu_use_data_file) {
505 if (is_ios) { 505 if (is_ios) {
506 # TODO(GYP): Support mac resource bundle shown below. 506 group("icudata") {
507 # 'link_settings': { 507 # TODO(csg): Provide an empty group so that this target does not
508 # 'mac_bundle_resources': [ 508 # unconditionally fail. The dat file needs to be bundled separately. In
509 # 'source/data/in/icudtl.dat', 509 # the longer term, need to figure out how to use system ICU
510 # ], 510 }
Dirk Pranke 2015/06/16 00:46:41 Please leave this as TODO(GYP): so that we can tra
511 # }
512 } else { 511 } else {
513 copy("icudata") { 512 copy("icudata") {
514 if (is_android) { 513 if (is_android) {
515 sources = [ 514 sources = [
516 "android/icudtl.dat", 515 "android/icudtl.dat",
517 ] 516 ]
518 } else { 517 } else {
519 sources = [ 518 sources = [
520 "source/data/in/icudtl.dat", 519 "source/data/in/icudtl.dat",
521 ] 520 ]
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 sources = [ 562 sources = [
564 "android/icudtl_dat.S", 563 "android/icudtl_dat.S",
565 ] 564 ]
566 } else { 565 } else {
567 assert(false, "No icu data for this platform") 566 assert(false, "No icu data for this platform")
568 } 567 }
569 defines = [ "U_HIDE_DATA_SYMBOL" ] 568 defines = [ "U_HIDE_DATA_SYMBOL" ]
570 } 569 }
571 } 570 }
572 } 571 }
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