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

Side by Side Diff: icu.gyp

Issue 10632003: Implement use_system_icu for Android. (Closed) Base URL: http://git.chromium.org/chromium/deps/icu46.git@master
Patch Set: Created 8 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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'variables': { 6 'variables': {
7 'use_system_icu%': 0, 7 'use_system_icu%': 0,
8 'icu_use_data_file_flag%': 0, 8 'icu_use_data_file_flag%': 0,
9 }, 9 },
10 'target_defaults': { 10 'target_defaults': {
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 }, { # use_system_icu != 0 564 }, { # use_system_icu != 0
565 'targets': [ 565 'targets': [
566 { 566 {
567 'target_name': 'system_icu', 567 'target_name': 'system_icu',
568 'type': 'none', 568 'type': 'none',
569 'direct_dependent_settings': { 569 'direct_dependent_settings': {
570 'defines': [ 570 'defines': [
571 'USE_SYSTEM_ICU', 571 'USE_SYSTEM_ICU',
572 ], 572 ],
573 }, 573 },
574 'link_settings': { 574 'conditions': [
575 'ldflags': [ 575 ['OS=="android"', {
576 '<!@(icu-config --ldflags)', 576 'direct_dependent_settings': {
577 ], 577 'include_dirs': [
578 'libraries': [ 578 '<(android_src)/external/icu4c/common',
579 '<!@(icu-config --ldflags-libsonly)', 579 '<(android_src)/external/icu4c/i18n',
580 ], 580 ],
581 }, 581 },
582 'link_settings': {
583 'libraries': [
584 '-licui18n',
585 '-licuuc',
586 ],
587 },
588 },{ # OS!="android"
589 'link_settings': {
590 'ldflags': [
591 '<!@(icu-config --ldflags)',
592 ],
593 'libraries': [
594 '<!@(icu-config --ldflags-libsonly)',
595 ],
596 },
597 }],
598 ],
582 }, 599 },
583 { 600 {
584 'target_name': 'icudata', 601 'target_name': 'icudata',
585 'type': 'none', 602 'type': 'none',
586 'dependencies': ['system_icu'], 603 'dependencies': ['system_icu'],
587 'export_dependent_settings': ['system_icu'], 604 'export_dependent_settings': ['system_icu'],
588 }, 605 },
589 { 606 {
590 'target_name': 'icui18n', 607 'target_name': 'icui18n',
591 'type': 'none', 608 'type': 'none',
592 'dependencies': ['system_icu'], 609 'dependencies': ['system_icu'],
593 'export_dependent_settings': ['system_icu'], 610 'export_dependent_settings': ['system_icu'],
594 }, 611 },
595 { 612 {
596 'target_name': 'icuuc', 613 'target_name': 'icuuc',
597 'type': 'none', 614 'type': 'none',
598 'dependencies': ['system_icu'], 615 'dependencies': ['system_icu'],
599 'export_dependent_settings': ['system_icu'], 616 'export_dependent_settings': ['system_icu'],
600 }, 617 },
601 ], 618 ],
602 }], 619 }],
603 ], 620 ],
604 } 621 }
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