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

Side by Side Diff: components/BUILD.gn

Issue 477263003: pdf: Create a separate component for using the pdf pepper plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | Annotate | Revision Log
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 import("//build/config/features.gni")
6
5 # Collection of all components. You wouldn't link to this, but this is rather 7 # Collection of all components. You wouldn't link to this, but this is rather
6 # to reference the files so they can be compiled by the build system. 8 # to reference the files so they can be compiled by the build system.
7 group("all_components") { 9 group("all_components") {
8 visibility = "//:*" # Only for the root targets to bring in. 10 visibility = "//:*" # Only for the root targets to bring in.
9 11
10 deps = [ 12 deps = [
11 "//components/auto_login_parser", 13 "//components/auto_login_parser",
12 "//components/autofill/content/browser", 14 "//components/autofill/content/browser",
13 "//components/autofill/content/common", 15 "//components/autofill/content/common",
14 "//components/autofill/content/renderer", 16 "//components/autofill/content/renderer",
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 "//components/navigation_metrics", 51 "//components/navigation_metrics",
50 "//components/network_time", 52 "//components/network_time",
51 "//components/omaha_query_params", 53 "//components/omaha_query_params",
52 "//components/omnibox", 54 "//components/omnibox",
53 "//components/onc", 55 "//components/onc",
54 "//components/os_crypt", 56 "//components/os_crypt",
55 "//components/pairing", 57 "//components/pairing",
56 "//components/password_manager/content/browser", 58 "//components/password_manager/content/browser",
57 "//components/password_manager/core/browser", 59 "//components/password_manager/core/browser",
58 "//components/password_manager/core/common", 60 "//components/password_manager/core/common",
61 "//components/pdf/browser",
62 "//components/pdf/common",
63 "//components/pdf/renderer",
59 "//components/plugins/renderer", 64 "//components/plugins/renderer",
60 "//components/policy", 65 "//components/policy",
61 "//components/power", 66 "//components/power",
62 "//components/precache/core", 67 "//components/precache/core",
63 "//components/precache/content", 68 "//components/precache/content",
64 "//components/pref_registry", 69 "//components/pref_registry",
65 "//components/query_parser", 70 "//components/query_parser",
66 "//components/rappor", 71 "//components/rappor",
67 "//components/renderer_context_menu", 72 "//components/renderer_context_menu",
68 "//components/resources:components_resources", 73 "//components/resources:components_resources",
(...skipping 29 matching lines...) Expand all
98 deps -= [ "//components/wifi" ] 103 deps -= [ "//components/wifi" ]
99 } 104 }
100 if (!is_chromeos) { 105 if (!is_chromeos) {
101 deps -= [ "//components/pairing" ] 106 deps -= [ "//components/pairing" ]
102 } 107 }
103 108
104 if (is_ios) { 109 if (is_ios) {
105 deps -= [ "//components/keyed_service/content" ] 110 deps -= [ "//components/keyed_service/content" ]
106 } 111 }
107 112
113 if (!enable_plugins) {
114 deps -= [
115 "//components/pdf/browser",
116 "//components/pdf/common",
117 "//components/pdf/renderer",
118 ]
119 }
120
108 if (is_android) { 121 if (is_android) {
109 deps -= [ 122 deps -= [
110 "//components/autofill/content/browser", # Blocked on content/blink. 123 "//components/autofill/content/browser", # Blocked on content/blink.
111 "//components/autofill/content/common", # Blocked on content. 124 "//components/autofill/content/common", # Blocked on content.
112 "//components/autofill/content/renderer", # Blocked on content/blink. 125 "//components/autofill/content/renderer", # Blocked on content/blink.
113 "//components/crash/app", # Should work, needs checking. 126 "//components/crash/app", # Should work, needs checking.
114 "//components/crash/browser", # Should work, needs checking. 127 "//components/crash/browser", # Should work, needs checking.
115 "//components/captive_portal", # Should work, needs checking. 128 "//components/captive_portal", # Should work, needs checking.
116 "//components/cloud_devices/common", # Should work, needs checking. 129 "//components/cloud_devices/common", # Should work, needs checking.
117 "//components/cdm/browser", # Blocked on content. 130 "//components/cdm/browser", # Blocked on content.
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 ] 216 ]
204 217
205 # TODO(GYP) need this target. 218 # TODO(GYP) need this target.
206 #'breakpad/app/crash_keys_win_unittest.cc', 219 #'breakpad/app/crash_keys_win_unittest.cc',
207 220
208 # Precache tests need these defines. 221 # Precache tests need these defines.
209 #configs += [ "//components/precache/core:precache_config" ] 222 #configs += [ "//components/precache/core:precache_config" ]
210 } 223 }
211 224
212 } 225 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698