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

Unified Diff: ui/display/BUILD.gn

Issue 393953008: Add ui/display, message_center, webview to GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/ui_base.gyp ('k') | ui/display/display.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/BUILD.gn
diff --git a/ui/display/BUILD.gn b/ui/display/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..d9fa8ec4efd9a8bc3152f4fd55e2f104931cb7f4
--- /dev/null
+++ b/ui/display/BUILD.gn
@@ -0,0 +1,106 @@
+# 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/ui.gni")
+
+component("display") {
+ sources = [
+ "chromeos/display_configurator.cc",
+ "chromeos/display_configurator.h",
+ "chromeos/touchscreen_delegate_impl.cc",
+ "chromeos/touchscreen_delegate_impl.h",
+ "chromeos/ozone/display_configurator_ozone.cc",
+ "chromeos/x11/display_configurator_x11.cc",
+ "chromeos/x11/display_mode_x11.cc",
+ "chromeos/x11/display_mode_x11.h",
+ "chromeos/x11/display_snapshot_x11.cc",
+ "chromeos/x11/display_snapshot_x11.h",
+ "chromeos/x11/display_util_x11.cc",
+ "chromeos/x11/display_util_x11.h",
+ "chromeos/x11/native_display_delegate_x11.cc",
+ "chromeos/x11/native_display_delegate_x11.h",
+ "chromeos/x11/native_display_event_dispatcher_x11.cc",
+ "chromeos/x11/native_display_event_dispatcher_x11.h",
+ "chromeos/x11/touchscreen_device_manager_x11.cc",
+ "chromeos/x11/touchscreen_device_manager_x11.h",
+ "display_export.h",
+ "display_switches.cc",
+ "display_switches.h",
+ ]
+
+ defines = [ "DISPLAY_IMPLEMENTATION" ]
+
+ deps = [
+ "//base",
+ "//ui/display/util",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
+ ]
+
+ if (use_x11) {
+ configs += [
+ "//build/config/linux:x11",
+ "//build/config/linux:xext",
+ "//build/config/linux:xi",
+ "//build/config/linux:xrandr",
+ ]
+ deps += [
+ "//ui/events/platform",
+ ]
+ }
+
+ if (is_chromeos) {
+ deps += [ "//ui/display/types" ]
+ }
+
+ if (use_ozone) {
+ deps += [ "//ui/ozone" ]
+ }
+}
+
+component("test_util") {
+ output_name = "display_test_util"
+ sources = [
+ "chromeos/test/test_display_snapshot.cc",
+ "chromeos/test/test_display_snapshot.h",
+ ]
+
+ defines = [ "DISPLAY_IMPLEMENTATION" ]
+
+ deps = [
+ "//base",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
+ ]
+
+ if (is_chromeos) {
+ deps += [ "//ui/display/types" ]
+ }
+}
+
+test("display_unittests") {
+ sources = [
+ "chromeos/display_configurator_unittest.cc",
+ "chromeos/touchscreen_delegate_impl_unittest.cc",
+ "chromeos/x11/display_util_x11_unittest.cc",
+ "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc",
+ "util/display_util_unittest.cc",
+ "util/edid_parser_unittest.cc",
+ ]
+
+ deps = [
+ "//base/test:run_all_unittests",
+ "//testing/gtest",
+ "//ui/display/util",
+ "//ui/gfx/geometry",
+ ]
+
+ if (is_chromeos) {
+ deps += [
+ ":display",
+ ":test_util",
+ "//ui/display/types",
+ ]
+ }
+}
« no previous file with comments | « ui/base/ui_base.gyp ('k') | ui/display/display.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698