Index: device/nfc/nfc.gyp |
diff --git a/device/nfc/nfc.gyp b/device/nfc/nfc.gyp |
index edb65678995146c3b107c49b349e9d74bd032712..3765db8dab3f8c7038598843dc273822028541c7 100644 |
--- a/device/nfc/nfc.gyp |
+++ b/device/nfc/nfc.gyp |
@@ -5,6 +5,8 @@ |
{ |
'variables': { |
'chromium_code': 1, |
+ 'android_support_v13_target%': |
+ '../../third_party/android_tools/android_tools.gyp:android_support_v13_javalib', |
}, |
'targets': [ |
{ |
@@ -74,4 +76,25 @@ |
], |
}, |
], |
+ 'conditions': [ |
+ ['OS == "android"', { |
+ 'targets': [ |
+ { |
+ 'target_name': 'device_nfc_java', |
+ 'type': 'none', |
+ 'dependencies': [ |
+ '<(android_support_v13_target)', |
+ '../../base/base.gyp:base', |
+ '../../mojo/mojo_public.gyp:mojo_bindings_java', |
+ 'device_nfc_mojo_bindings', |
+ ], |
+ 'variables': { |
+ 'java_in_dir': '../../device/nfc/android/java', |
+ }, |
+ 'includes': [ '../../build/java.gypi' ], |
+ }, |
+ ], |
+ }, { # OS != "android" |
+ }], |
+ ], |
} |