| OLD | NEW |
| 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 if (is_android) { | 7 if (is_android) { |
| 8 import("//build/config/android/rules.gni") | 8 import("//build/config/android/rules.gni") |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 556 deps = [ ":icudata" ] | 556 deps = [ ":icudata" ] |
| 557 disable_compression = true | 557 disable_compression = true |
| 558 } | 558 } |
| 559 } | 559 } |
| 560 } | 560 } |
| 561 | 561 |
| 562 # TODO(GYP) support use_system_icu. | 562 # TODO(GYP) support use_system_icu. |
| 563 if (icu_use_data_file) { | 563 if (icu_use_data_file) { |
| 564 if (is_ios) { | 564 if (is_ios) { |
| 565 bundle_data("icudata") { | 565 bundle_data("icudata") { |
| 566 sources = [ "source/data/in/icudtl.dat" ] | 566 sources = [ "common/icudtl.dat" ] |
| 567 outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ] | 567 outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ] |
| 568 } | 568 } |
| 569 } else { | 569 } else { |
| 570 copy("icudata") { | 570 copy("icudata") { |
| 571 if (is_android) { | 571 if (is_android) { |
| 572 sources = [ | 572 sources = [ |
| 573 "android/icudtl.dat", | 573 "android/icudtl.dat", |
| 574 ] | 574 ] |
| 575 } else { | 575 } else { |
| 576 sources = [ | 576 sources = [ |
| 577 "source/data/in/icudtl.dat", | 577 "common/icudtl.dat", |
| 578 ] | 578 ] |
| 579 } | 579 } |
| 580 | 580 |
| 581 outputs = [ | 581 outputs = [ |
| 582 "$root_out_dir/icudtl.dat", | 582 "$root_out_dir/icudtl.dat", |
| 583 ] | 583 ] |
| 584 | 584 |
| 585 data = [ | 585 data = [ |
| 586 "$root_out_dir/icudtl.dat", | 586 "$root_out_dir/icudtl.dat", |
| 587 ] | 587 ] |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 620 sources = [ | 620 sources = [ |
| 621 "android/icudtl_dat.S", | 621 "android/icudtl_dat.S", |
| 622 ] | 622 ] |
| 623 } else { | 623 } else { |
| 624 assert(false, "No icu data for this platform") | 624 assert(false, "No icu data for this platform") |
| 625 } | 625 } |
| 626 defines = [ "U_HIDE_DATA_SYMBOL" ] | 626 defines = [ "U_HIDE_DATA_SYMBOL" ] |
| 627 } | 627 } |
| 628 } | 628 } |
| 629 } | 629 } |
| OLD | NEW |