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

Side by Side Diff: win8/metro_driver/BUILD.gn

Issue 1815463002: Remove win8/metro_driver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « tools/resources/optimize-png-files.sh ('k') | win8/metro_driver/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 import("//build/config/ui.gni")
6 import("//chrome/version.gni")
7 import("//testing/test.gni")
8
9 shared_library("metro_driver") {
10 sources = [
11 "display_properties.cc",
12 "display_properties.h",
13 "stdafx.h",
14 "winrt_utils.cc",
15 "winrt_utils.h",
16 ]
17
18 deps = [
19 ":version_resources",
20 "//base",
21 "//chrome/common:constants",
22 "//chrome/installer/util:with_no_strings",
23 "//crypto",
24 "//ipc",
25 "//sandbox",
26 "//ui/events",
27 "//ui/gfx",
28 "//ui/gfx/geometry",
29 "//ui/metro_viewer",
30 "//url",
31 ]
32
33 if (use_aura) {
34 sources += [
35 "direct3d_helper.cc",
36 "direct3d_helper.h",
37 ]
38
39 deps += [
40 "//ui/events:gesture_detection",
41 "//win8/metro_driver/ime",
42 ]
43 } else {
44 sources = [
45 "chrome_app_view.cc",
46 "chrome_app_view.h",
47 "chrome_url_launch_handler.cc",
48 "chrome_url_launch_handler.h",
49 "devices_handler.cc",
50 "devices_handler.h",
51 "metro_dialog_box.cc",
52 "metro_dialog_box.h",
53 "print_document_source.cc",
54 "print_document_source.h",
55 "print_handler.cc",
56 "print_handler.h",
57 "secondary_tile.cc",
58 "secondary_tile.h",
59 "settings_handler.cc",
60 "settings_handler.h",
61 "toast_notification_handler.cc",
62 "toast_notification_handler.h",
63 ]
64 }
65
66 libs = [
67 "D2D1.lib",
68 "D3D11.lib",
69 "runtimeobject.lib",
70 ]
71
72 ldflags = [
73 "/DELAYLOAD:API-MS-WIN-CORE-WINRT-ERROR-L1-1-0.DLL",
74 "/DELAYLOAD:API-MS-WIN-CORE-WINRT-L1-1-0.DLL",
75 "/DELAYLOAD:API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL",
76 ]
77 }
78
79 process_version("version_resources") {
80 visibility = [ ":*" ]
81 sources = [
82 "metro_driver_dll.ver",
83 ]
84 output = "$target_gen_dir/metro_driver_dll_version.rc"
85 template_file = chrome_version_rc_template
86 }
87
88 test("metro_driver_unittests") {
89 sources = [
90 "run_all_unittests.cc",
91 "winrt_utils.cc",
92 "winrt_utils.h",
93 "winrt_utils_unittest.cc",
94 ]
95
96 deps = [
97 ":metro_driver",
98 "//base",
99 "//chrome/installer/util:with_rc_strings",
100 "//testing/gtest",
101 ]
102 }
OLDNEW
« no previous file with comments | « tools/resources/optimize-png-files.sh ('k') | win8/metro_driver/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698