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

Unified Diff: components/ntp_snippets/BUILD.gn

Issue 2061803002: 📰 The Status card reports disabled sync states (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simplifyBridge
Patch Set: Address comments Created 4 years, 6 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_snippets/BUILD.gn
diff --git a/components/ntp_snippets/BUILD.gn b/components/ntp_snippets/BUILD.gn
index 88f88dbdeb579879448b75e89506de1b941f7ccc..4aaef09b178319dfce2ea8f284cb48b08cc8ce3a 100644
--- a/components/ntp_snippets/BUILD.gn
+++ b/components/ntp_snippets/BUILD.gn
@@ -2,6 +2,13 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/config/ui.gni")
+
+if (is_android) {
+ import("//build/config/android/config.gni")
+ import("//build/config/android/rules.gni")
+}
+
# GYP version: components/ntp_snippets.gypi:ntp_snippets
source_set("ntp_snippets") {
sources = [
@@ -46,6 +53,14 @@ source_set("ntp_snippets") {
]
}
+if (is_android) {
+ java_cpp_enum("ntp_snippets_java_enums_srcjar") {
+ sources = [
+ "ntp_snippets_service.h",
+ ]
+ }
+}
+
source_set("unit_tests") {
testonly = true
sources = [
@@ -61,6 +76,7 @@ source_set("unit_tests") {
"//components/image_fetcher",
"//components/leveldb_proto:test_support",
"//components/signin/core/browser:test_support",
+ "//components/signin/core/common",
"//components/sync_driver:test_support",
"//net:test_support",
"//testing/gtest",

Powered by Google App Engine
This is Rietveld 408576698