Index: printing/BUILD.gn |
diff --git a/printing/BUILD.gn b/printing/BUILD.gn |
index a1ef97df0620cdcb633a8f8d790ac85dba776d80..995fbaf19523f29e3f3f9d7c0b66a3a9fd3d1601 100644 |
--- a/printing/BUILD.gn |
+++ b/printing/BUILD.gn |
@@ -232,6 +232,7 @@ if (use_cups) { |
} |
if (is_android) { |
+ # GYP: //printing/printing.gyp:printing_jni_headers |
generate_jni("printing_jni_headers") { |
sources = [ |
"android/java/src/org/chromium/printing/PrintingContext.java", |
@@ -239,16 +240,11 @@ if (is_android) { |
jni_package = "printing" |
} |
- # TODO(GYP) |
- #{ |
- # 'target_name': 'printing_java', |
- # 'type': 'none', |
- # 'variables': { |
- # 'java_in_dir': '../printing/android/java', |
- # }, |
- # 'dependencies': [ |
- # '../base/base.gyp:base_java', |
- # ], |
- # 'includes': [ '../build/java.gypi' ], |
- #} |
+ # GYP: //printing/printing.gyp:printing_java |
+ android_library("printing_java") { |
+ deps = [ |
+ "//base:base_java" |
+ ] |
+ DEPRECATED_java_in_dir = "android/java/src" |
+ } |
} |