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

Side by Side Diff: icu.gyp

Issue 195973005: Add support for QNX Neutrino. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/icu46/
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
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 11 matching lines...) Expand all
22 'defines': [ 22 'defines': [
23 'U_USING_ICU_NAMESPACE=0', 23 'U_USING_ICU_NAMESPACE=0',
24 ], 24 ],
25 'conditions': [ 25 'conditions': [
26 ['component=="static_library"', { 26 ['component=="static_library"', {
27 'defines': [ 27 'defines': [
28 'U_STATIC_IMPLEMENTATION', 28 'U_STATIC_IMPLEMENTATION',
29 ], 29 ],
30 }], 30 }],
31 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ 31 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
32 or OS=="netbsd" or OS=="mac" or OS=="android") and \ 32 or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \
33 (target_arch=="arm" or target_arch=="ia32" or \ 33 (target_arch=="arm" or target_arch=="ia32" or \
34 target_arch=="mipsel")', { 34 target_arch=="mipsel")', {
35 'target_conditions': [ 35 'target_conditions': [
36 ['_toolset=="host"', { 36 ['_toolset=="host"', {
37 'cflags': [ '-m32' ], 37 'cflags': [ '-m32' ],
38 'ldflags': [ '-m32' ], 38 'ldflags': [ '-m32' ],
39 'asflags': [ '-32' ], 39 'asflags': [ '-32' ],
40 'xcode_settings': { 40 'xcode_settings': {
41 'ARCHS': [ 'i386' ], 41 'ARCHS': [ 'i386' ],
42 }, 42 },
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 'mac_bundle_resources': [ 117 'mac_bundle_resources': [
118 'source/data/in/icudtl.dat', 118 'source/data/in/icudtl.dat',
119 ], 119 ],
120 }, 120 },
121 }], # OS!=ios 121 }], # OS!=ios
122 ], # conditions 122 ], # conditions
123 }], # icu_use_data_file_flag 123 }], # icu_use_data_file_flag
124 ], # conditions 124 ], # conditions
125 'target_conditions': [ 125 'target_conditions': [
126 [ 'OS == "win" or OS == "mac" or OS == "ios" or ' 126 [ 'OS == "win" or OS == "mac" or OS == "ios" or '
127 '(OS == "android" and (_toolset == "target" or host_os != "linux") )', { 127 '(OS == "android" and (_toolset != "host" or host_os != "linux")) or '
128 '(OS == "qnx" and (_toolset == "host" and host_os != "linux"))', {
128 'sources!': ['linux/icudt46l_dat.S'], 129 'sources!': ['linux/icudt46l_dat.S'],
129 }], 130 }],
130 [ 'OS != "android" or _toolset == "host"', { 131 [ 'OS != "android" or _toolset == "host"', {
131 'sources!': ['android/icudt46l_dat.S'], 132 'sources!': ['android/icudt46l_dat.S'],
132 }], 133 }],
133 [ 'OS != "mac" and OS != "ios" and ' 134 [ 'OS != "mac" and OS != "ios" and '
134 '(OS != "android" or _toolset != "host" or host_os != "mac")', { 135 '((OS != "android" and OS != "qnx") or '
136 » '_toolset != "host" or host_os != "mac")', {
Mark Mentovai 2014/03/18 15:37:17 No tabs.
135 'sources!': ['mac/icudt46l_dat.S'], 137 'sources!': ['mac/icudt46l_dat.S'],
136 }], 138 }],
137 ], # target_conditions 139 ], # target_conditions
138 }, 140 },
139 { 141 {
140 'target_name': 'icui18n', 142 'target_name': 'icui18n',
141 'type': '<(component)', 143 'type': '<(component)',
142 'sources': [ 144 'sources': [
143 '<@(icui18n_sources)', 145 '<@(icui18n_sources)',
144 ], 146 ],
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 '<(android_src)/external/icu4c/common', 356 '<(android_src)/external/icu4c/common',
355 '<(android_src)/external/icu4c/i18n', 357 '<(android_src)/external/icu4c/i18n',
356 ], 358 ],
357 }, 359 },
358 'link_settings': { 360 'link_settings': {
359 'libraries': [ 361 'libraries': [
360 '-licui18n', 362 '-licui18n',
361 '-licuuc', 363 '-licuuc',
362 ], 364 ],
363 }, 365 },
364 },{ # OS!="android" 366 }],
367 ['OS=="qnx"', {
368 'link_settings': {
369 'libraries': [
370 '-licui18n',
371 '-licuuc',
372 ],
373 },
374 }],
375 ['OS!="android" and OS!="qnx"', {
365 'link_settings': { 376 'link_settings': {
366 'ldflags': [ 377 'ldflags': [
367 '<!@(icu-config --ldflags)', 378 '<!@(icu-config --ldflags)',
368 ], 379 ],
369 'libraries': [ 380 'libraries': [
370 '<!@(icu-config --ldflags-libsonly)', 381 '<!@(icu-config --ldflags-libsonly)',
371 ], 382 ],
372 }, 383 },
373 }], 384 }],
374 ], 385 ],
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
569 }, 580 },
570 'includes': [ 581 'includes': [
571 '../../build/shim_headers.gypi', 582 '../../build/shim_headers.gypi',
572 ], 583 ],
573 'toolsets': ['target'], 584 'toolsets': ['target'],
574 }, 585 },
575 ], # targets 586 ], # targets
576 }], 587 }],
577 ], # conditions 588 ], # conditions
578 } 589 }
OLDNEW
« no previous file with comments | « README.chromium ('k') | patches/platform.qnx.patch » ('j') | source/common/unicode/ptypes.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698