Index: components/ntp_tiles/android/BUILD.gn |
diff --git a/components/ntp_tiles/android/BUILD.gn b/components/ntp_tiles/android/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cf6c2cf970f7a6e629d835aa01919618bc9948f6 |
--- /dev/null |
+++ b/components/ntp_tiles/android/BUILD.gn |
@@ -0,0 +1,22 @@ |
+# Copyright 2016 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") |
+ |
+_jni_sources = |
+ [ "java/src/org/chromium/components/ntptiles/MostVisitedSites.java" ] |
+ |
+# GYP: //components/ntp_tiles.gypi:ntp_tiles_jni_headers |
+generate_jni("ntp_tiles_jni_headers") { |
+ sources = _jni_sources |
+ jni_package = "ntp_tiles" |
+} |
+ |
+# GYP: //components/ntp_tiles.gypi:ntp_tiles_java |
+android_library("ntp_tiles_java") { |
+ deps = [ |
+ "//base:base_java", |
+ ] |
+ java_files = [] + _jni_sources |
+} |