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

Side by Side Diff: icu.gyp

Issue 141063008: Add support for QNX Neutrino. Base URL: https://chromium.googlesource.com/chromium/deps/icu46.git@master
Patch Set: Undo change to _XOPEN_SOURCE_EXTENDED Created 6 years, 10 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 | « README.chromium ('k') | patches/platform.qnx.patch » ('j') | 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 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 _toolset != "host" or host_ os != "mac")', {
135 'sources!': ['mac/icudt46l_dat.S'], 136 'sources!': ['mac/icudt46l_dat.S'],
136 }], 137 }],
137 ], # target_conditions 138 ], # target_conditions
138 }, 139 },
139 { 140 {
140 'target_name': 'icui18n', 141 'target_name': 'icui18n',
141 'type': '<(component)', 142 'type': '<(component)',
142 'sources': [ 143 'sources': [
143 '<@(icui18n_sources)', 144 '<@(icui18n_sources)',
144 ], 145 ],
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 '<(android_src)/external/icu4c/common', 355 '<(android_src)/external/icu4c/common',
355 '<(android_src)/external/icu4c/i18n', 356 '<(android_src)/external/icu4c/i18n',
356 ], 357 ],
357 }, 358 },
358 'link_settings': { 359 'link_settings': {
359 'libraries': [ 360 'libraries': [
360 '-licui18n', 361 '-licui18n',
361 '-licuuc', 362 '-licuuc',
362 ], 363 ],
363 }, 364 },
364 },{ # OS!="android" 365 }],
366 ['OS=="qnx"', {
367 'link_settings': {
368 'libraries': [
369 '-licui18n',
370 '-licuuc',
371 ],
372 },
373 }],
374 ['OS!="android" and OS!="qnx"', {
365 'link_settings': { 375 'link_settings': {
366 'ldflags': [ 376 'ldflags': [
367 '<!@(icu-config --ldflags)', 377 '<!@(icu-config --ldflags)',
368 ], 378 ],
369 'libraries': [ 379 'libraries': [
370 '<!@(icu-config --ldflags-libsonly)', 380 '<!@(icu-config --ldflags-libsonly)',
371 ], 381 ],
372 }, 382 },
373 }], 383 }],
374 ], 384 ],
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
569 }, 579 },
570 'includes': [ 580 'includes': [
571 '../../build/shim_headers.gypi', 581 '../../build/shim_headers.gypi',
572 ], 582 ],
573 'toolsets': ['target'], 583 'toolsets': ['target'],
574 }, 584 },
575 ], # targets 585 ], # targets
576 }], 586 }],
577 ], # conditions 587 ], # conditions
578 } 588 }
OLDNEW
« no previous file with comments | « README.chromium ('k') | patches/platform.qnx.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698