| OLD | NEW | 
| (Empty) |  | 
 |   1 # Copyright 2016 The Chromium Authors. All rights reserved. | 
 |   2 # Use of this source code is governed by a BSD-style license that can be | 
 |   3 # found in the LICENSE file. | 
 |   4  | 
 |   5 import("//build/config/ui.gni") | 
 |   6  | 
 |   7 component("manager") { | 
 |   8   sources = [ | 
 |   9     "chromeos/apply_content_protection_task.cc", | 
 |  10     "chromeos/apply_content_protection_task.h", | 
 |  11     "chromeos/configure_displays_task.cc", | 
 |  12     "chromeos/configure_displays_task.h", | 
 |  13     "chromeos/display_configurator.cc", | 
 |  14     "chromeos/display_configurator.h", | 
 |  15     "chromeos/display_layout_manager.h", | 
 |  16     "chromeos/display_snapshot_virtual.cc", | 
 |  17     "chromeos/display_snapshot_virtual.h", | 
 |  18     "chromeos/display_util.cc", | 
 |  19     "chromeos/display_util.h", | 
 |  20     "chromeos/query_content_protection_task.cc", | 
 |  21     "chromeos/query_content_protection_task.h", | 
 |  22     "chromeos/touchscreen_util.cc", | 
 |  23     "chromeos/touchscreen_util.h", | 
 |  24     "chromeos/update_display_configuration_task.cc", | 
 |  25     "chromeos/update_display_configuration_task.h", | 
 |  26     "display_layout_store.cc", | 
 |  27     "display_layout_store.h", | 
 |  28     "display_manager.cc", | 
 |  29     "display_manager.h", | 
 |  30     "display_manager_export.h", | 
 |  31     "display_manager_utilities.cc", | 
 |  32     "display_manager_utilities.h", | 
 |  33     "managed_display_info.cc", | 
 |  34     "managed_display_info.h", | 
 |  35   ] | 
 |  36  | 
 |  37   public_deps = [ | 
 |  38     "//ui/display", | 
 |  39   ] | 
 |  40  | 
 |  41   deps = [ | 
 |  42     "//base", | 
 |  43     "//ui/base", | 
 |  44     "//ui/display/util", | 
 |  45     "//ui/events/devices", | 
 |  46   ] | 
 |  47  | 
 |  48   defines = [ "DISPLAY_MANAGER_IMPLEMENTATION" ] | 
 |  49  | 
 |  50   if (use_x11) { | 
 |  51     deps += [ "//ui/gfx/x" ] | 
 |  52   } | 
 |  53  | 
 |  54   if (is_chromeos && use_x11) { | 
 |  55     sources += [ | 
 |  56       "chromeos/x11/display_mode_x11.cc", | 
 |  57       "chromeos/x11/display_mode_x11.h", | 
 |  58       "chromeos/x11/display_snapshot_x11.cc", | 
 |  59       "chromeos/x11/display_snapshot_x11.h", | 
 |  60       "chromeos/x11/display_util_x11.cc", | 
 |  61       "chromeos/x11/display_util_x11.h", | 
 |  62       "chromeos/x11/native_display_delegate_x11.cc", | 
 |  63       "chromeos/x11/native_display_delegate_x11.h", | 
 |  64       "chromeos/x11/native_display_event_dispatcher_x11.cc", | 
 |  65       "chromeos/x11/native_display_event_dispatcher_x11.h", | 
 |  66     ] | 
 |  67  | 
 |  68     configs += [ | 
 |  69       "//build/config/linux:x11", | 
 |  70       "//build/config/linux:xext", | 
 |  71       "//build/config/linux:xi", | 
 |  72       "//build/config/linux:xrandr", | 
 |  73     ] | 
 |  74  | 
 |  75     deps += [ "//ui/events/platform" ] | 
 |  76   } | 
 |  77 } | 
| OLD | NEW |