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

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: 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
« no previous file with comments | « components/cdm/renderer/BUILD.gn ('k') | components/keyed_service/content/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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") {
blundell 2014/10/27 07:10:39 why this change?
jamesr 2014/10/27 07:14:46 static_library is nearly always wrong in GN in chr
blundell 2014/10/27 07:31:47 IIUC, source_set means "fold the .o's in this targ
cjhopman 2014/10/27 07:32:07 Yeah, as james said. This isn't actually needed t
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" ]
}
}
« no previous file with comments | « components/cdm/renderer/BUILD.gn ('k') | components/keyed_service/content/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698