Index: base/base.gyp |
diff --git a/base/base.gyp b/base/base.gyp |
index aa753c0cddec4d7db49a524fa75027d693e9eee8..f75c7c2b3966854dcfe83f2acca83660f8c98151 100644 |
--- a/base/base.gyp |
+++ b/base/base.gyp |
@@ -1119,13 +1119,17 @@ |
{ |
'target_name': 'base_java', |
'type': 'none', |
- 'dependencies': [ |
- '../third_party/jsr-305/jsr-305.gyp:jsr_305_javalib', |
- ], |
'variables': { |
'java_in_dir': '../base/android/java', |
}, |
'includes': [ '../build/java.gypi' ], |
+ 'conditions': [ |
+ ['android_build_type==0', { |
+ 'dependencies': [ |
+ '../third_party/jsr-305/jsr-305.gyp:jsr_305_javalib', |
+ ], |
+ }] |
+ ], |
}, |
{ |
'target_name': 'base_java_test_support', |