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

Unified Diff: components/dom_distiller/core/BUILD.gn

Issue 666813002: GN: Fix Android component build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-clank
Patch Set: Actually undo gyp change Created 6 years, 2 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/dom_distiller/core/BUILD.gn
diff --git a/components/dom_distiller/core/BUILD.gn b/components/dom_distiller/core/BUILD.gn
index e20a4add243f8118d0988062e413d21ce63da5ce..be5816e4c6970f7d0efa3a3b8b8c36fe90e3803c 100644
--- a/components/dom_distiller/core/BUILD.gn
+++ b/components/dom_distiller/core/BUILD.gn
@@ -3,7 +3,7 @@
# found in the LICENSE file.
# GYP version: components/dom_distiller.gypi:dom_distiller_core
-static_library("core") {
+source_set("core") {
sources = [
"../android/component_jni_registrar.cc",
"../android/component_jni_registrar.h",
@@ -63,6 +63,10 @@ static_library("core") {
]
if (is_android) {
+ sources += [
+ "dom_distiller_service_android.cc",
+ "dom_distiller_service_android.h",
+ ]
deps += [ ":jni_headers" ]
}
}

Powered by Google App Engine
This is Rietveld 408576698