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

Unified Diff: build/standalone.gypi

Issue 157503002: A64: Synchronize with r18444. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/gyp_v8.py ('k') | build/toolchain.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/standalone.gypi
diff --git a/build/standalone.gypi b/build/standalone.gypi
index a08ffe5125ef2f05f98354c6d9e4a12f44118721..abfa033787bbbfe5989958746fbdb4280468781e 100644
--- a/build/standalone.gypi
+++ b/build/standalone.gypi
@@ -45,7 +45,7 @@
'variables': {
'conditions': [
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or \
- OS=="netbsd" or OS=="mac"', {
+ OS=="netbsd" or OS=="mac" or OS=="qnx"', {
# This handles the Unix platforms we generally deal with.
# Anything else gets passed through, which probably won't work
# very well; such hosts should pass an explicit target_arch
@@ -104,7 +104,7 @@
(v8_target_arch=="a64" and host_arch!="a64") or \
(v8_target_arch=="mipsel" and host_arch!="mipsel") or \
(v8_target_arch=="x64" and host_arch!="x64") or \
- (OS=="android")', {
+ (OS=="android" or OS=="qnx")', {
'want_separate_host_toolset': 1,
}, {
'want_separate_host_toolset': 0,
@@ -122,7 +122,7 @@
}],
],
# Default ARM variable settings.
- 'armv7%': 'default',
+ 'arm_version%': 'default',
'arm_neon%': 0,
'arm_fpu%': 'vfpv3',
'arm_float_abi%': 'default',
@@ -191,6 +191,32 @@
}],
# 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"
# or OS=="netbsd"'
+ ['OS=="qnx"', {
+ 'target_defaults': {
+ 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter',
+ '-fno-exceptions' ],
+ 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti' ],
+ 'conditions': [
+ [ 'visibility=="hidden"', {
+ 'cflags': [ '-fvisibility=hidden' ],
+ }],
+ [ 'component=="shared_library"', {
+ 'cflags': [ '-fPIC' ],
+ }],
+ ],
+ 'target_conditions': [
+ [ '_toolset=="host" and host_os=="linux"', {
+ 'cflags': [ '-pthread' ],
+ 'ldflags': [ '-pthread' ],
+ 'libraries': [ '-lrt' ],
+ }],
+ [ '_toolset=="target"', {
+ 'cflags': [ '-Wno-psabi' ],
+ 'libraries': [ '-lbacktrace', '-lsocket', '-lm' ],
+ }],
+ ],
+ },
+ }], # OS=="qnx"
['OS=="win"', {
'target_defaults': {
'defines': [
« no previous file with comments | « build/gyp_v8.py ('k') | build/toolchain.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698