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

Side by Side Diff: build/standalone.gypi

Issue 61153009: Add support for the QNX operating system. (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Created 7 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
« no previous file with comments | « AUTHORS ('k') | build/toolchain.gypi » ('j') | include/v8config.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 26 matching lines...) Expand all
37 'visibility%': 'hidden', 37 'visibility%': 'hidden',
38 'v8_enable_backtrace%': 0, 38 'v8_enable_backtrace%': 0,
39 'v8_enable_i18n_support%': 1, 39 'v8_enable_i18n_support%': 1,
40 'msvs_multi_core_compile%': '1', 40 'msvs_multi_core_compile%': '1',
41 'mac_deployment_target%': '10.5', 41 'mac_deployment_target%': '10.5',
42 'variables': { 42 'variables': {
43 'variables': { 43 'variables': {
44 'variables': { 44 'variables': {
45 'conditions': [ 45 'conditions': [
46 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or \ 46 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or \
47 OS=="netbsd" or OS=="mac"', { 47 OS=="netbsd" or OS=="mac" or OS=="qnx"', {
48 # This handles the Unix platforms we generally deal with. 48 # This handles the Unix platforms we generally deal with.
49 # Anything else gets passed through, which probably won't work 49 # Anything else gets passed through, which probably won't work
50 # very well; such hosts should pass an explicit target_arch 50 # very well; such hosts should pass an explicit target_arch
51 # to gyp. 51 # to gyp.
52 'host_arch%': 52 'host_arch%':
53 '<!(uname -m | sed -e "s/i.86/ia32/;\ 53 '<!(uname -m | sed -e "s/i.86/ia32/;\
54 s/x86_64/x64/;s/amd64/x64/;s/arm.*/arm/;s/mips.*/mipsel/")', 54 s/x86_64/x64/;s/amd64/x64/;s/arm.*/arm/;s/mips.*/mipsel/")',
55 }, { 55 }, {
56 # OS!="linux" and OS!="freebsd" and OS!="openbsd" and 56 # OS!="linux" and OS!="freebsd" and OS!="openbsd" and
57 # OS!="netbsd" and OS!="mac" 57 # OS!="netbsd" and OS!="mac"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 # near-release speeds. 91 # near-release speeds.
92 'v8_optimized_debug%': 0, 92 'v8_optimized_debug%': 0,
93 93
94 # Relative path to icu.gyp from this file. 94 # Relative path to icu.gyp from this file.
95 'icu_gyp_path': '../third_party/icu/icu.gyp', 95 'icu_gyp_path': '../third_party/icu/icu.gyp',
96 96
97 'conditions': [ 97 'conditions': [
98 ['(v8_target_arch=="arm" and host_arch!="arm") or \ 98 ['(v8_target_arch=="arm" and host_arch!="arm") or \
99 (v8_target_arch=="mipsel" and host_arch!="mipsel") or \ 99 (v8_target_arch=="mipsel" and host_arch!="mipsel") or \
100 (v8_target_arch=="x64" and host_arch!="x64") or \ 100 (v8_target_arch=="x64" and host_arch!="x64") or \
101 (OS=="android")', { 101 (OS=="android" or OS=="qnx")', {
102 'want_separate_host_toolset': 1, 102 'want_separate_host_toolset': 1,
103 }, { 103 }, {
104 'want_separate_host_toolset': 0, 104 'want_separate_host_toolset': 0,
105 }], 105 }],
106 ['OS == "win"', { 106 ['OS == "win"', {
107 'os_posix%': 0, 107 'os_posix%': 0,
108 }, { 108 }, {
109 'os_posix%': 1, 109 'os_posix%': 1,
110 }], 110 }],
111 ['(v8_target_arch=="ia32" or v8_target_arch=="x64") and \ 111 ['(v8_target_arch=="ia32" or v8_target_arch=="x64") and \
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 'cflags': [ '-fvisibility=hidden' ], 178 'cflags': [ '-fvisibility=hidden' ],
179 }], 179 }],
180 [ 'component=="shared_library"', { 180 [ 'component=="shared_library"', {
181 'cflags': [ '-fPIC', ], 181 'cflags': [ '-fPIC', ],
182 }], 182 }],
183 ], 183 ],
184 }, 184 },
185 }], 185 }],
186 # 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" 186 # 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"
187 # or OS=="netbsd"' 187 # or OS=="netbsd"'
188 ['OS=="qnx"', {
189 'target_defaults': {
190 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter',
191 '-fno-exceptions' ],
192 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti' ],
193 'conditions': [
194 [ 'visibility=="hidden"', {
195 'cflags': [ '-fvisibility=hidden' ],
196 }],
197 [ 'component=="shared_library"', {
198 'cflags': [ '-fPIC' ],
199 }],
200 ],
201 'target_conditions': [
202 [ '_toolset=="host" and host_os=="linux"', {
203 'cflags': [ '-pthread' ],
204 'ldflags': [ '-pthread' ],
205 'libraries': [ '-lrt' ],
206 }],
207 [ '_toolset=="target"', {
208 'cflags': [ '-Wno-psabi' ],
209 'libraries': [ '-lbacktrace', '-lsocket', '-lm' ],
210 }],
211 ],
212 },
213 }], # OS=="qnx"
188 ['OS=="win"', { 214 ['OS=="win"', {
189 'target_defaults': { 215 'target_defaults': {
190 'defines': [ 216 'defines': [
191 '_CRT_SECURE_NO_DEPRECATE', 217 '_CRT_SECURE_NO_DEPRECATE',
192 '_CRT_NONSTDC_NO_DEPRECATE', 218 '_CRT_NONSTDC_NO_DEPRECATE',
193 ], 219 ],
194 'conditions': [ 220 'conditions': [
195 ['component=="static_library"', { 221 ['component=="static_library"', {
196 'defines': [ 222 'defines': [
197 '_HAS_EXCEPTIONS=0', 223 '_HAS_EXCEPTIONS=0',
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 }, 319 },
294 'target_conditions': [ 320 'target_conditions': [
295 ['_type!="static_library"', { 321 ['_type!="static_library"', {
296 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, 322 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']},
297 }], 323 }],
298 ], # target_conditions 324 ], # target_conditions
299 }, # target_defaults 325 }, # target_defaults
300 }], # OS=="mac" 326 }], # OS=="mac"
301 ], 327 ],
302 } 328 }
OLDNEW
« no previous file with comments | « AUTHORS ('k') | build/toolchain.gypi » ('j') | include/v8config.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698