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

Unified Diff: tools/gyp/configurations_openbsd.gypi

Issue 1559053002: Refs #10260 OpenBSD support #25327 Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address code review issues Created 4 years, 11 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 | « tools/gyp/configurations.gypi ('k') | tools/utils.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gyp/configurations_openbsd.gypi
diff --git a/tools/gyp/configurations_make.gypi b/tools/gyp/configurations_openbsd.gypi
similarity index 82%
copy from tools/gyp/configurations_make.gypi
copy to tools/gyp/configurations_openbsd.gypi
index ebaf9359f01ff56dc60bbcfb881ae414218a1c25..39ac80df5c49a93a4abf2f8e0d62180ac97669bf 100644
--- a/tools/gyp/configurations_make.gypi
+++ b/tools/gyp/configurations_openbsd.gypi
@@ -8,7 +8,7 @@
},
'target_defaults': {
'configurations': {
- 'Dart_Linux_Base': {
+ 'Dart_OpenBSD_Base': {
'abstract': 1,
'defines': [
'_FORTIFY_SOURCE=2',
@@ -29,16 +29,15 @@
# '-fvisibility=hidden',
# '-fvisibility-inlines-hidden',
'-fstack-protector',
- '-Wa,--noexecstack',
],
'ldflags': [
- '-Wl,-z,noexecstack',
+ '-Wa,--noexecstack',
'-Wl,-z,now',
'-Wl,-z,relro',
],
},
- 'Dart_Linux_ia32_Base': {
+ 'Dart_OpenBSD_ia32_Base': {
'abstract': 1,
'cflags': [ '-m32', '-msse2', '-mfpmath=sse' ],
'ldflags': [ '-m32', ],
@@ -54,7 +53,7 @@
],
},
- 'Dart_Linux_x64_Base': {
+ 'Dart_OpenBSD_x64_Base': {
'abstract': 1,
'cflags': [ '-m64', '-msse2' ],
'ldflags': [ '-m64', ],
@@ -70,26 +69,26 @@
],
},
- 'Dart_Linux_simarm_Base': {
+ 'Dart_OpenBSD_simarm_Base': {
'abstract': 1,
- 'cflags': [ '-O3', '-m32', '-msse2', '-mfpmath=sse' ],
+ 'cflags': [ '-O3', '-m32', '-msse2' ],
'ldflags': [ '-m32', ],
},
- 'Dart_Linux_simarmv5te_Base': {
+ 'Dart_OpenBSD_simarmv5te_Base': {
'abstract': 1,
- 'cflags': [ '-O3', '-m32', '-msse2', '-mfpmath=sse' ],
+ 'cflags': [ '-O3', '-m32', '-msse2' ],
'ldflags': [ '-m32', ],
},
- 'Dart_Linux_simarm64_Base': {
+ 'Dart_OpenBSD_simarm64_Base': {
'abstract': 1,
- 'cflags': [ '-O3', '-m64', '-msse2', '-mfpmath=sse' ],
+ 'cflags': [ '-O3', '-m64', '-msse2' ],
'ldflags': [ '-m64', ],
},
# ARM cross-build
- 'Dart_Linux_xarm_Base': {
+ 'Dart_OpenBSD_xarm_Base': {
'abstract': 1,
'target_conditions': [
['_toolset=="target"', {
@@ -101,13 +100,13 @@
],
}],
['_toolset=="host"', {
- 'cflags': ['-m32', '-msse2', '-mfpmath=sse' ],
+ 'cflags': ['-m32', '-msse2'],
'ldflags': ['-m32'],
}]]
},
# ARM native build
- 'Dart_Linux_arm_Base': {
+ 'Dart_OpenBSD_arm_Base': {
'abstract': 1,
'cflags': [
'-marm',
@@ -118,7 +117,7 @@
},
# ARMv5 cross-build
- 'Dart_Linux_xarmv5te_Base': {
+ 'Dart_OpenBSD_xarmv5te_Base': {
'abstract': 1,
'target_conditions': [
['_toolset=="target"', {
@@ -132,13 +131,13 @@
],
}],
['_toolset=="host"', {
- 'cflags': ['-m32', '-msse2', '-mfpmath=sse' ],
+ 'cflags': ['-m32', '-msse2'],
'ldflags': ['-m32'],
}]]
},
# ARMv5 native build
- 'Dart_Linux_armv5te_Base': {
+ 'Dart_OpenBSD_armv5te_Base': {
'abstract': 1,
'cflags': [
'-mthumb',
@@ -151,7 +150,7 @@
},
# ARM64 cross-build
- 'Dart_Linux_xarm64_Base': {
+ 'Dart_OpenBSD_xarm64_Base': {
'abstract': 1,
'target_conditions': [
['_toolset=="target"', {
@@ -164,19 +163,19 @@
},
# ARM64 native build
- 'Dart_Linux_arm64_Base': {
+ 'Dart_OpenBSD_arm64_Base': {
'abstract': 1,
'cflags': [ '-O3', ],
},
- 'Dart_Linux_simmips_Base': {
+ 'Dart_OpenBSD_simmips_Base': {
'abstract': 1,
- 'cflags': [ '-O3', '-m32', '-msse2', '-mfpmath=sse' ],
+ 'cflags': [ '-O3', '-m32', '-msse2' ],
'ldflags': [ '-m32', ],
},
# MIPS cross-build
- 'Dart_Linux_xmips_Base': {
+ 'Dart_OpenBSD_xmips_Base': {
'abstract': 1,
'target_conditions': [
['_toolset=="target"', {
@@ -191,13 +190,13 @@
],
}],
['_toolset=="host"',{
- 'cflags': [ '-O3', '-m32', '-msse2', '-mfpmath=sse' ],
+ 'cflags': [ '-O3', '-m32', '-msse2' ],
'ldflags': [ '-m32' ],
}]]
},
# MIPS native build
- 'Dart_Linux_mips_Base': {
+ 'Dart_OpenBSD_mips_Base': {
'abstract': 1,
'cflags': [
'-march=mips32',
@@ -206,7 +205,7 @@
],
},
- 'Dart_Linux_Debug': {
+ 'Dart_OpenBSD_Debug': {
'abstract': 1,
'conditions': [
['c_frame_pointers==1', {
@@ -223,7 +222,7 @@
],
},
- 'Dart_Linux_Release': {
+ 'Dart_OpenBSD_Release': {
'abstract': 1,
'conditions': [
['c_frame_pointers==1', {
@@ -237,10 +236,6 @@
],
'cflags': [
'-O3',
- '-ffunction-sections',
- ],
- 'ldflags': [
- '-Wl,--gc-sections',
],
},
},
« no previous file with comments | « tools/gyp/configurations.gypi ('k') | tools/utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698