Index: content/content.gyp |
diff --git a/content/content.gyp b/content/content.gyp |
index 221a1a53928a3e57c7edc508631022819b66a135..fa4d5b699dd7297e713287e26c142e159689fffd 100644 |
--- a/content/content.gyp |
+++ b/content/content.gyp |
@@ -494,6 +494,29 @@ |
}, |
'includes': [ 'content_jni.gypi' ], |
}, |
+ { |
+ 'target_name': 'content_android_linker', |
+ 'type': 'shared_library', |
+ 'conditions': [ |
+ ['android_webview_build == 0', { |
+ # Avoid breaking the webview build because it doesn't have |
+ # <(android_ndk_root)/crazy_linker.gyp. Note that it never uses |
+ # the linker anyway. |
+ 'sources': [ |
+ 'common/android/linker/linker_jni.cc', |
+ ], |
+ 'dependencies': [ |
+ '<(android_ndk_root)/crazy_linker.gyp:crazy_linker', |
+ ], |
+ 'include_dirs': [ |
+ # This is necessary to include base/android/sys_utils_constants.h |
+ # even though the source _cannot_ depend on base/. |
+ '..', |
+ ], |
+ }], |
+ ], |
+ }, |
+ |
], |
}], # OS == "android" |
], |