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

Unified Diff: build/common.gypi

Issue 113487: Only enable the sse2 flags when building Chromium (Closed)
Patch Set: flip condition 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 e0fba3422ea01d162fee02f7e462b66e8bafe74e..3219a269a6f8b40e401451586cd2ac2efc44cf25 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -302,12 +302,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