Index: base/allocator/allocator.gyp |
diff --git a/base/allocator/allocator.gyp b/base/allocator/allocator.gyp |
index 4febed2533dfdbe87cb1efb360fe6dd2406711ee..ef98d09482bb71c03ef9767f37ecf46beb7a67d7 100644 |
--- a/base/allocator/allocator.gyp |
+++ b/base/allocator/allocator.gyp |
@@ -429,6 +429,11 @@ |
'-Wl,-u_ZN15HeapLeakChecker12IgnoreObjectEPKv,-u_ZN15HeapLeakChecker14UnIgnoreObjectEPKv', |
]}, |
}], |
+ # Need to distinguish a non-SDK build for Android WebView |
+ # due to differences in C include files. |
+ ['OS=="android" and android_webview_build==1', { |
+ 'defines': ['ANDROID_NON_SDK_BUILD'], |
+ }], |
[ 'use_vtable_verify==1', { |
'cflags': [ |
'-fvtable-verify=preinit', |