summaryrefslogtreecommitdiffstats
path: root/content/utility
diff options
context:
space:
mode:
authorBrett Wilson <brettw@chromium.org>2014-09-11 09:58:56 -0700
committerBrett Wilson <brettw@chromium.org>2014-09-11 17:13:07 +0000
commit8f132304db80d9de8d0df51a568dda65ddec93ef (patch)
tree496ef8910ec3b471e05d2d2395a501533e2b7507 /content/utility
parent36e91cd9ac1516a202ab09cc5ea98781c84db0d8 (diff)
downloadchromium_src-8f132304db80d9de8d0df51a568dda65ddec93ef.zip
chromium_src-8f132304db80d9de8d0df51a568dda65ddec93ef.tar.gz
chromium_src-8f132304db80d9de8d0df51a568dda65ddec93ef.tar.bz2
Make chrome GN build work in component mode.
This also fixes a resources regression (added extensions resources) that caused chrome not to run. R=jamesr@chromium.org Review URL: https://codereview.chromium.org/554393009 Cr-Commit-Position: refs/heads/master@{#294406}
Diffstat (limited to 'content/utility')
-rw-r--r--content/utility/BUILD.gn8
1 files changed, 6 insertions, 2 deletions
diff --git a/content/utility/BUILD.gn b/content/utility/BUILD.gn
index 8fa734d2..5a23de8 100644
--- a/content/utility/BUILD.gn
+++ b/content/utility/BUILD.gn
@@ -3,6 +3,10 @@
# found in the LICENSE file.
source_set("utility") {
+ # Only the public target should depend on this. All other targets (even
+ # internal content ones) should depend on the public one.
+ visibility = [ "//content/public/utility:utility_sources" ]
+
sources = [
"in_process_utility_thread.cc",
"in_process_utility_thread.h",
@@ -16,8 +20,8 @@ source_set("utility") {
deps = [
"//base",
"//content:export",
- "//content/public/child",
- "//content/public/common",
+ "//content/public/child:child_sources",
+ "//content/public/common:common_sources",
"//courgette:courgette_lib",
"//mojo/public/interfaces/application",
"//third_party/WebKit/public:blink_headers",