| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 import("//chrome/version.gni") | 6 import("//chrome/version.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 shared_library("metro_driver") { | 9 shared_library("metro_driver") { |
| 10 sources = [ | 10 sources = [ |
| 11 "display_properties.cc", | 11 "display_properties.cc", |
| 12 "display_properties.h", | 12 "display_properties.h", |
| 13 "metro_driver.cc", |
| 14 "metro_driver.h", |
| 15 "metro_driver_win7.cc", |
| 13 "stdafx.h", | 16 "stdafx.h", |
| 14 "winrt_utils.cc", | 17 "winrt_utils.cc", |
| 15 "winrt_utils.h", | 18 "winrt_utils.h", |
| 16 ] | 19 ] |
| 17 | 20 |
| 18 deps = [ | 21 deps = [ |
| 19 ":copy_resources", | 22 ":copy_resources", |
| 20 ":version_resources", | 23 ":version_resources", |
| 21 "//base", | 24 "//base", |
| 22 "//chrome/common:constants", | 25 "//chrome/common:constants", |
| 23 "//chrome/installer/util:with_no_strings", | 26 "//chrome/installer/util:with_no_strings", |
| 24 "//crypto", | 27 "//crypto", |
| 25 "//ipc", | 28 "//ipc", |
| 26 "//sandbox", | 29 "//sandbox", |
| 27 "//ui/events", | 30 "//ui/events", |
| 28 "//ui/gfx", | 31 "//ui/gfx", |
| 29 "//ui/gfx/geometry", | 32 "//ui/gfx/geometry", |
| 30 "//ui/metro_viewer", | 33 "//ui/metro_viewer", |
| 31 "//url", | 34 "//url", |
| 32 ] | 35 ] |
| 33 | 36 |
| 34 if (use_aura) { | 37 if (use_aura) { |
| 35 sources += [ | 38 sources += [ |
| 39 "chrome_app_view_ash.cc", |
| 40 "chrome_app_view_ash.h", |
| 36 "direct3d_helper.cc", | 41 "direct3d_helper.cc", |
| 37 "direct3d_helper.h", | 42 "direct3d_helper.h", |
| 43 "file_picker_ash.cc", |
| 44 "file_picker_ash.h", |
| 38 ] | 45 ] |
| 39 | 46 |
| 40 deps += [ | 47 deps += [ |
| 41 "//ui/events:gesture_detection", | 48 "//ui/events:gesture_detection", |
| 49 "//win8:metro_viewer_constants", |
| 42 "//win8/metro_driver/ime", | 50 "//win8/metro_driver/ime", |
| 43 ] | 51 ] |
| 44 } else { | 52 } else { |
| 45 sources = [ | 53 sources = [ |
| 46 "chrome_app_view.cc", | 54 "chrome_app_view.cc", |
| 47 "chrome_app_view.h", | 55 "chrome_app_view.h", |
| 48 "chrome_url_launch_handler.cc", | 56 "chrome_url_launch_handler.cc", |
| 49 "chrome_url_launch_handler.h", | 57 "chrome_url_launch_handler.h", |
| 50 "devices_handler.cc", | 58 "devices_handler.cc", |
| 51 "devices_handler.h", | 59 "devices_handler.h", |
| 60 "file_picker.cc", |
| 61 "file_picker.h", |
| 52 "metro_dialog_box.cc", | 62 "metro_dialog_box.cc", |
| 53 "metro_dialog_box.h", | 63 "metro_dialog_box.h", |
| 54 "print_document_source.cc", | 64 "print_document_source.cc", |
| 55 "print_document_source.h", | 65 "print_document_source.h", |
| 56 "print_handler.cc", | 66 "print_handler.cc", |
| 57 "print_handler.h", | 67 "print_handler.h", |
| 58 "secondary_tile.cc", | 68 "secondary_tile.cc", |
| 59 "secondary_tile.h", | 69 "secondary_tile.h", |
| 60 "settings_handler.cc", | 70 "settings_handler.cc", |
| 61 "settings_handler.h", | 71 "settings_handler.h", |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 "winrt_utils_unittest.cc", | 119 "winrt_utils_unittest.cc", |
| 110 ] | 120 ] |
| 111 | 121 |
| 112 deps = [ | 122 deps = [ |
| 113 ":metro_driver", | 123 ":metro_driver", |
| 114 "//base", | 124 "//base", |
| 115 "//chrome/installer/util:with_rc_strings", | 125 "//chrome/installer/util:with_rc_strings", |
| 116 "//testing/gtest", | 126 "//testing/gtest", |
| 117 ] | 127 ] |
| 118 } | 128 } |
| OLD | NEW |