Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: components/ntp_tiles/android/BUILD.gn

Issue 2172203002: Enable Popular Sites in Android demo mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: x Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
+}

Powered by Google App Engine
This is Rietveld 408576698