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