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

Side by Side Diff: icu.gyp

Issue 690603002: Remove Android system ICU support. (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/icu52
Patch Set: Created 6 years, 1 month 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 | Annotate | Revision Log
« 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 'includes': [ 6 'includes': [
7 'icu.gypi', 7 'icu.gypi',
8 ], 8 ],
9 'variables': { 9 'variables': {
10 'use_system_icu%': 0, 10 'use_system_icu%': 0,
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 'msvs_settings': { 240 'msvs_settings': {
241 'VCCLCompilerTool': { 241 'VCCLCompilerTool': {
242 'AdditionalOptions': [ 242 'AdditionalOptions': [
243 # See http://bugs.icu-project.org/trac/ticket/11122 243 # See http://bugs.icu-project.org/trac/ticket/11122
244 '-Wno-inline-new-delete', 244 '-Wno-inline-new-delete',
245 '-Wno-implicit-exception-spec-mismatch', 245 '-Wno-implicit-exception-spec-mismatch',
246 ], 246 ],
247 }, 247 },
248 }, 248 },
249 }], 249 }],
250 ['OS == "android" and use_system_stlport == 1', {
251 'target_conditions': [
252 ['_toolset == "target"', {
253 # ICU requires RTTI, which is not present in the system's
254 # stlport, so we have to include gabi++.
255 'include_dirs': [
256 '<(android_src)/abi/cpp/include',
257 ],
258 }],
259 ],
260 }],
261 ], # conditions 250 ], # conditions
262 }, 251 },
263 { 252 {
264 'target_name': 'icuuc', 253 'target_name': 'icuuc',
265 'type': '<(component)', 254 'type': '<(component)',
266 'sources': [ 255 'sources': [
267 '<@(icuuc_sources)', 256 '<@(icuuc_sources)',
268 ], 257 ],
269 'defines': [ 258 'defines': [
270 'U_COMMON_IMPLEMENTATION', 259 'U_COMMON_IMPLEMENTATION',
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 'msvs_settings': { 336 'msvs_settings': {
348 'VCCLCompilerTool': { 337 'VCCLCompilerTool': {
349 'AdditionalOptions': [ 338 'AdditionalOptions': [
350 # See http://bugs.icu-project.org/trac/ticket/11122 339 # See http://bugs.icu-project.org/trac/ticket/11122
351 '-Wno-inline-new-delete', 340 '-Wno-inline-new-delete',
352 '-Wno-implicit-exception-spec-mismatch', 341 '-Wno-implicit-exception-spec-mismatch',
353 ], 342 ],
354 }, 343 },
355 }, 344 },
356 }], 345 }],
357 ['OS == "android" and use_system_stlport == 1', {
358 'target_conditions': [
359 ['_toolset == "target"', {
360 # ICU requires RTTI, which is not present in the system's
361 # stlport, so we have to include gabi++.
362 'include_dirs': [
363 '<(android_src)/abi/cpp/include',
364 ],
365 }],
366 ],
367 }],
368 ], # conditions 346 ], # conditions
369 }, 347 },
370 ], # targets 348 ], # targets
371 }], 349 }],
372 ['use_system_icu==1', { 350 ['use_system_icu==1', {
373 'targets': [ 351 'targets': [
374 { 352 {
375 'target_name': 'system_icu', 353 'target_name': 'system_icu',
376 'type': 'none', 354 'type': 'none',
377 'conditions': [ 355 'conditions': [
378 ['OS=="android"', {
379 'direct_dependent_settings': {
380 'include_dirs': [
381 '<(android_src)/external/icu/icu4c/source/common',
382 '<(android_src)/external/icu/icu4c/source/i18n',
383 ],
384 },
385 'link_settings': {
386 'libraries': [
387 '-licui18n',
388 '-licuuc',
389 ],
390 },
391 }],
392 ['OS=="qnx"', { 356 ['OS=="qnx"', {
393 'link_settings': { 357 'link_settings': {
394 'libraries': [ 358 'libraries': [
395 '-licui18n', 359 '-licui18n',
396 '-licuuc', 360 '-licuuc',
397 ], 361 ],
398 }, 362 },
399 }], 363 }],
400 ['OS!="android" and OS!="qnx"', { 364 ['OS!="qnx"', {
401 'link_settings': { 365 'link_settings': {
402 'ldflags': [ 366 'ldflags': [
403 '<!@(icu-config --ldflags)', 367 '<!@(icu-config --ldflags)',
404 ], 368 ],
405 'libraries': [ 369 'libraries': [
406 '<!@(icu-config --ldflags-libsonly)', 370 '<!@(icu-config --ldflags-libsonly)',
407 ], 371 ],
408 }, 372 },
409 }], 373 }],
410 ], 374 ],
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 }, 577 },
614 'includes': [ 578 'includes': [
615 '../../build/shim_headers.gypi', 579 '../../build/shim_headers.gypi',
616 ], 580 ],
617 'toolsets': ['target'], 581 'toolsets': ['target'],
618 }, 582 },
619 ], # targets 583 ], # targets
620 }], 584 }],
621 ], # conditions 585 ], # conditions
622 } 586 }
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