| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 | 6 |
| 7 component("manager") { | 7 component("manager") { |
| 8 sources = [ | 8 sources = [ |
| 9 "chromeos/apply_content_protection_task.cc", | 9 "chromeos/apply_content_protection_task.cc", |
| 10 "chromeos/apply_content_protection_task.h", | 10 "chromeos/apply_content_protection_task.h", |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 deps = [ | 43 deps = [ |
| 44 "//base", | 44 "//base", |
| 45 "//ui/base", | 45 "//ui/base", |
| 46 "//ui/display/util", | 46 "//ui/display/util", |
| 47 "//ui/events/devices", | 47 "//ui/events/devices", |
| 48 "//ui/strings", | 48 "//ui/strings", |
| 49 ] | 49 ] |
| 50 | 50 |
| 51 defines = [ "DISPLAY_MANAGER_IMPLEMENTATION" ] | 51 defines = [ "DISPLAY_MANAGER_IMPLEMENTATION" ] |
| 52 | 52 |
| 53 if (is_chromeos) { |
| 54 deps += [ "//chromeos" ] |
| 55 } |
| 56 |
| 53 if (use_x11) { | 57 if (use_x11) { |
| 54 deps += [ "//ui/gfx/x" ] | 58 deps += [ "//ui/gfx/x" ] |
| 55 } | 59 } |
| 56 | 60 |
| 57 if (is_chromeos && use_x11) { | 61 if (is_chromeos && use_x11) { |
| 58 sources += [ | 62 sources += [ |
| 59 "chromeos/x11/display_mode_x11.cc", | 63 "chromeos/x11/display_mode_x11.cc", |
| 60 "chromeos/x11/display_mode_x11.h", | 64 "chromeos/x11/display_mode_x11.h", |
| 61 "chromeos/x11/display_snapshot_x11.cc", | 65 "chromeos/x11/display_snapshot_x11.cc", |
| 62 "chromeos/x11/display_snapshot_x11.h", | 66 "chromeos/x11/display_snapshot_x11.h", |
| 63 "chromeos/x11/display_util_x11.cc", | 67 "chromeos/x11/display_util_x11.cc", |
| 64 "chromeos/x11/display_util_x11.h", | 68 "chromeos/x11/display_util_x11.h", |
| 65 "chromeos/x11/native_display_delegate_x11.cc", | 69 "chromeos/x11/native_display_delegate_x11.cc", |
| 66 "chromeos/x11/native_display_delegate_x11.h", | 70 "chromeos/x11/native_display_delegate_x11.h", |
| 67 "chromeos/x11/native_display_event_dispatcher_x11.cc", | 71 "chromeos/x11/native_display_event_dispatcher_x11.cc", |
| 68 "chromeos/x11/native_display_event_dispatcher_x11.h", | 72 "chromeos/x11/native_display_event_dispatcher_x11.h", |
| 69 ] | 73 ] |
| 70 | 74 |
| 71 configs += [ | 75 configs += [ |
| 72 "//build/config/linux:x11", | 76 "//build/config/linux:x11", |
| 73 "//build/config/linux:xext", | 77 "//build/config/linux:xext", |
| 74 "//build/config/linux:xi", | 78 "//build/config/linux:xi", |
| 75 "//build/config/linux:xrandr", | 79 "//build/config/linux:xrandr", |
| 76 ] | 80 ] |
| 77 | 81 |
| 78 deps += [ "//ui/events/platform" ] | 82 deps += [ "//ui/events/platform" ] |
| 79 } | 83 } |
| 80 } | 84 } |
| OLD | NEW |