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

Side by Side Diff: icu.gyp

Issue 10491006: Remove host target of ICU on 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 'destination': '<(PRODUCT_DIR)', 60 'destination': '<(PRODUCT_DIR)',
61 'files': [ 61 'files': [
62 'windows/icudt.dll', 62 'windows/icudt.dll',
63 ], 63 ],
64 }, 64 },
65 ], 65 ],
66 }], 66 }],
67 [ 'OS == "win" or OS == "mac" or OS == "android"', { 67 [ 'OS == "win" or OS == "mac" or OS == "android"', {
68 'sources!': ['linux/icudt46l_dat.S'], 68 'sources!': ['linux/icudt46l_dat.S'],
69 }], 69 }],
70 [ 'OS == "android"', { 70 [ 'OS != "android"', {
71 # Android builds ImageDiff for host, which has a dependency on
72 # newwtf so needs to be able to build this target for host as
73 # well.
74 'toolsets': ['host', 'target'],
75 }, { # 'OS != "android"',
76 'sources!': ['android/icudt46l_dat.S'], 71 'sources!': ['android/icudt46l_dat.S'],
77 }], 72 }],
78 [ 'OS != "mac"', { 73 [ 'OS != "mac"', {
79 'sources!': ['mac/icudt46l_dat.S'], 74 'sources!': ['mac/icudt46l_dat.S'],
80 }], 75 }],
81 [ 'OS != "win" and icu_use_data_file_flag', { 76 [ 'OS != "win" and icu_use_data_file_flag', {
82 # Remove any assembly data file. 77 # Remove any assembly data file.
83 'sources/': [['exclude', 'icudt46l_dat']], 78 'sources/': [['exclude', 'icudt46l_dat']],
84 # Compile in the stub data symbol. 79 # Compile in the stub data symbol.
85 'sources': ['source/stubdata/stubdata.c'], 80 'sources': ['source/stubdata/stubdata.c'],
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 [ 'os_posix == 1 and OS != "mac"', { 277 [ 'os_posix == 1 and OS != "mac"', {
283 # Since ICU wants to internally use its own deprecated APIs, don't 278 # Since ICU wants to internally use its own deprecated APIs, don't
284 # complain about it. 279 # complain about it.
285 'cflags': [ 280 'cflags': [
286 '-Wno-deprecated-declarations', 281 '-Wno-deprecated-declarations',
287 ], 282 ],
288 'cflags_cc': [ 283 'cflags_cc': [
289 '-frtti', 284 '-frtti',
290 ], 285 ],
291 }], 286 }],
292 ['OS == "android"', {
293 # Android builds ImageDiff for host, which has a dependency on
294 # newwtf so needs to be able to build this target for host as
295 # well.
296 'toolsets': ['host', 'target'],
297 }],
298 ['OS == "mac"', { 287 ['OS == "mac"', {
299 'xcode_settings': { 288 'xcode_settings': {
300 'GCC_ENABLE_CPP_RTTI': 'YES', # -frtti 289 'GCC_ENABLE_CPP_RTTI': 'YES', # -frtti
301 }, 290 },
302 }], 291 }],
303 ['OS == "win"', { 292 ['OS == "win"', {
304 'msvs_settings': { 293 'msvs_settings': {
305 'VCCLCompilerTool': { 294 'VCCLCompilerTool': {
306 'RuntimeTypeInfo': 'true', 295 'RuntimeTypeInfo': 'true',
307 }, 296 },
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 'cflags': [ 515 'cflags': [
527 # Since ICU wants to internally use its own deprecated APIs, 516 # Since ICU wants to internally use its own deprecated APIs,
528 # don't complain about it. 517 # don't complain about it.
529 '-Wno-deprecated-declarations', 518 '-Wno-deprecated-declarations',
530 '-Wno-unused-function', 519 '-Wno-unused-function',
531 ], 520 ],
532 'cflags_cc': [ 521 'cflags_cc': [
533 '-frtti', 522 '-frtti',
534 ], 523 ],
535 }], 524 }],
536 ['OS == "android"', {
537 # Android builds ImageDiff for host, which has a dependency on
538 # newwtf so needs to be able to build this target for host as
539 # well.
540 'toolsets': ['host', 'target'],
541 }],
542 ['OS == "mac"', { 525 ['OS == "mac"', {
543 'xcode_settings': { 526 'xcode_settings': {
544 'GCC_ENABLE_CPP_RTTI': 'YES', # -frtti 527 'GCC_ENABLE_CPP_RTTI': 'YES', # -frtti
545 }, 528 },
546 }], 529 }],
547 ['OS == "win"', { 530 ['OS == "win"', {
548 'msvs_settings': { 531 'msvs_settings': {
549 'VCCLCompilerTool': { 532 'VCCLCompilerTool': {
550 'RuntimeTypeInfo': 'true', 533 'RuntimeTypeInfo': 'true',
551 }, 534 },
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 { 595 {
613 'target_name': 'icuuc', 596 'target_name': 'icuuc',
614 'type': 'none', 597 'type': 'none',
615 'dependencies': ['system_icu'], 598 'dependencies': ['system_icu'],
616 'export_dependent_settings': ['system_icu'], 599 'export_dependent_settings': ['system_icu'],
617 }, 600 },
618 ], 601 ],
619 }], 602 }],
620 ], 603 ],
621 } 604 }
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