Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index bdd49006875f580c53a7266484954d83982bdd67..55f363c4ea5885bd57decc2c550c82b2798e0902 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -2993,6 +2993,11 @@ |
'<(android_src)/frameworks/wilhelm/include', |
], |
'cflags': [ |
+ # Android predefines this as 1; undefine it here so Chromium |
+ # can redefine it later to be 2 for chromium code and unset |
+ # for third party code. This works because cflags are added |
+ # before defines. |
+ '-U_FORTIFY_SOURCE', |
# Chromium builds its own (non-third-party) code with |
# -Werror to make all warnings into errors. However, Android |
# enables warnings that Chromium doesn't, so some of these |