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

Side by Side Diff: components/dom_distiller/core/BUILD.gn

Issue 571863002: GN: Get //chrome/* mostly working on android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 unified diff | Download patch
« no previous file with comments | « components/autofill/core/common/BUILD.gn ('k') | components/gcm_driver.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # GYP version: components/dom_distiller.gypi:dom_distiller_core 5 # GYP version: components/dom_distiller.gypi:dom_distiller_core
6 static_library("core") { 6 static_library("core") {
7 sources = [ 7 sources = [
8 "../android/component_jni_registrar.cc", 8 "../android/component_jni_registrar.cc",
9 "../android/component_jni_registrar.h", 9 "../android/component_jni_registrar.h",
10 "article_distillation_update.cc", 10 "article_distillation_update.cc",
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 "//ui/base", 59 "//ui/base",
60 "//url", 60 "//url",
61 ] 61 ]
62 62
63 forward_dependent_configs_from = [ 63 forward_dependent_configs_from = [
64 "//components/dom_distiller/core/proto", 64 "//components/dom_distiller/core/proto",
65 "//third_party/dom_distiller_js:proto", 65 "//third_party/dom_distiller_js:proto",
66 ] 66 ]
67 67
68 if (is_android) { 68 if (is_android) {
69 #deps += [ ":dom_distiller_core_jni_headers" ] TODO(GYP) 69 deps += [ ":jni_headers" ]
70 } 70 }
71 } 71 }
72 72
73 # GYP version: components/dom_distiller.gypi:dom_distiller_test_support 73 # GYP version: components/dom_distiller.gypi:dom_distiller_test_support
74 static_library("test_support") { 74 static_library("test_support") {
75 testonly = true 75 testonly = true
76 sources = [ 76 sources = [
77 "dom_distiller_test_util.cc", 77 "dom_distiller_test_util.cc",
78 "dom_distiller_test_util.h", 78 "dom_distiller_test_util.h",
79 "fake_distiller.cc", 79 "fake_distiller.cc",
(...skipping 27 matching lines...) Expand all
107 "viewer_unittest.cc", 107 "viewer_unittest.cc",
108 ] 108 ]
109 109
110 deps = [ 110 deps = [
111 ":core", 111 ":core",
112 ":test_support", 112 ":test_support",
113 "//testing/gmock", 113 "//testing/gmock",
114 "//testing/gtest", 114 "//testing/gtest",
115 ] 115 ]
116 } 116 }
117
118 if (is_android) {
119 import("//build/config/android/rules.gni")
120
121 generate_jni("jni_headers") {
122 sources = [
123 "../android/java/src/org/chromium/components/dom_distiller/core/DistilledP agePrefs.java",
124 "../android/java/src/org/chromium/components/dom_distiller/core/DomDistill erService.java",
125 "../android/java/src/org/chromium/components/dom_distiller/core/DomDistill erUrlUtils.java",
126 ]
127 jni_package = "dom_distiller_core"
128 }
129 }
OLDNEW
« no previous file with comments | « components/autofill/core/common/BUILD.gn ('k') | components/gcm_driver.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698