Index: components/dom_distiller/android/BUILD.gn |
diff --git a/components/dom_distiller/android/BUILD.gn b/components/dom_distiller/android/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..02490165ecda2b7d0c14aff2dbaada17ee4f3d43 |
--- /dev/null |
+++ b/components/dom_distiller/android/BUILD.gn |
@@ -0,0 +1,42 @@ |
+# Copyright 2014 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+import("//build/config/android/rules.gni") |
+ |
+ |
+# GYP: //components/dom_distiller.gypi:dom_distiller_core_java |
+android_library("dom_distiller_core_java") { |
+ deps = [ |
+ "//base:base_java", |
+ ] |
+ |
+ srcjar_deps = [ |
+ ":dom_distiller_core_font_family_javagen", |
+ ":dom_distiller_core_theme_javagen", |
+ ] |
+ |
+ DEPRECATED_java_in_dir = "java/src" |
+} |
+ |
+# GYP: //components/dom_distiller.gypi:dom_distiller_core_font_family_java |
+java_cpp_template("dom_distiller_core_font_family_javagen") { |
+ package_name = "org/chromium/components/dom_distiller/core" |
+ sources = [ |
+ "java/src/org/chromium/components/dom_distiller/core/FontFamily.template" |
+ ] |
+ inputs = [ |
+ "../core/font_family_list.h" |
+ ] |
+} |
+ |
+# GYP: //components/dom_distiller.gypi:dom_distiller_core_font_family_java |
+java_cpp_template("dom_distiller_core_theme_javagen") { |
+ package_name = "org/chromium/components/dom_distiller/core" |
+ sources = [ |
+ "java/src/org/chromium/components/dom_distiller/core/Theme.template" |
+ ] |
+ inputs = [ |
+ "../core/theme_list.h" |
+ ] |
+} |