Index: components/constrained_window/BUILD.gn |
diff --git a/components/constrained_window/BUILD.gn b/components/constrained_window/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7ffac1715413a155df27d71ed0acfa0f4aac9470 |
--- /dev/null |
+++ b/components/constrained_window/BUILD.gn |
@@ -0,0 +1,29 @@ |
+# 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. |
+ |
+static_library("constrained_window") { |
+ sources = [ |
+ "constrained_window_views.cc", |
+ "constrained_window_views.h", |
+ "constranied_window/constrained_window_views_client.h", |
+ ] |
+ |
+ deps = [ |
+ "//components/web_modal", |
+ "//ui/views", |
+ "//skia", |
+ ] |
+} |
+ |
+source_set("unit_tests") { |
+ testonly = true |
+ sources = [ |
+ "constrained_window_views_unittest.cc", |
+ ] |
+ |
+ deps = [ |
+ ":constrained_window", |
+ "//ui/views:test_support", |
+ ] |
+} |