Index: extensions/components/BUILD.gn |
diff --git a/extensions/components/BUILD.gn b/extensions/components/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ef571f0c6d9a2568719dc9628d6e5e9631af826d |
--- /dev/null |
+++ b/extensions/components/BUILD.gn |
@@ -0,0 +1,23 @@ |
+# Copyright 2014 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+import("//build/config/features.gni") |
+import("//build/config/ui.gni") |
+ |
+# Collection of all extensions components, which are the chrome |
+# components that depend on src/extensions. These can not go in |
+# src/components without creating a cycle. |
+group("extensions_components") { |
scheib
2014/09/29 22:37:54
Where is this group referenced from?
|
+ testonly = true # You shouldn't actually link to this. |
scheib
2014/09/29 22:37:54
This code should be linked to non-test targets. Pe
|
+ visibility = [ "//:*" ] # Only for the root targets to bring in. |
scheib
2014/09/29 22:37:53
Why?
|
+ |
+ deps = [ |
+ "//extensions/components/native_app_window", |
+ ] |
+ |
+ if (!toolkit_views) { |
+ deps -= [ "//extensions/components/native_app_window" ] |
+ } |
+ |
+} |