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

Unified Diff: build/common.gypi

Issue 115902: Re-add the code to only add sse2 flags on Chromium builds. It (Closed)
Patch Set: Created 11 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 7efdf06d9dcc8bb9c836b2ee9bd86dd6a4120cea..910b9907ea750966a0052cda18996cf842f21526 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -328,12 +328,18 @@
# used during computation does not change depending on how the
# compiler optimized the code, since the value is always kept
# in its specified precision.
+ 'conditions': [
+ ['branding=="Chromium"', {
+ 'cflags': [
+ '-march=pentium4',
+ '-msse2',
+ '-mfpmath=sse',
+ ],
+ }],
+ ],
'cflags': [
'-m32',
- '-march=pentium4',
'-fno-exceptions',
- '-msse2',
- '-mfpmath=sse',
'-Wall',
],
'ldflags': [
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698