| 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 "stdafx.h", | 13 "stdafx.h", |
| 14 "winrt_utils.cc", | 14 "winrt_utils.cc", |
| 15 "winrt_utils.h", | 15 "winrt_utils.h", |
| 16 ] | 16 ] |
| 17 | 17 |
| 18 deps = [ | 18 deps = [ |
| 19 ":copy_resources", | |
| 20 ":version_resources", | 19 ":version_resources", |
| 21 "//base", | 20 "//base", |
| 22 "//chrome/common:constants", | 21 "//chrome/common:constants", |
| 23 "//chrome/installer/util:with_no_strings", | 22 "//chrome/installer/util:with_no_strings", |
| 24 "//crypto", | 23 "//crypto", |
| 25 "//ipc", | 24 "//ipc", |
| 26 "//sandbox", | 25 "//sandbox", |
| 27 "//ui/events", | 26 "//ui/events", |
| 28 "//ui/gfx", | 27 "//ui/gfx", |
| 29 "//ui/gfx/geometry", | 28 "//ui/gfx/geometry", |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 | 78 |
| 80 process_version("version_resources") { | 79 process_version("version_resources") { |
| 81 visibility = [ ":*" ] | 80 visibility = [ ":*" ] |
| 82 sources = [ | 81 sources = [ |
| 83 "metro_driver_dll.ver", | 82 "metro_driver_dll.ver", |
| 84 ] | 83 ] |
| 85 output = "$target_gen_dir/metro_driver_dll_version.rc" | 84 output = "$target_gen_dir/metro_driver_dll_version.rc" |
| 86 template_file = chrome_version_rc_template | 85 template_file = chrome_version_rc_template |
| 87 } | 86 } |
| 88 | 87 |
| 89 copy("copy_resources") { | |
| 90 visibility = [ ":*" ] | |
| 91 | |
| 92 sources = [ | |
| 93 "resources/Logo.png", | |
| 94 "resources/SecondaryTile.png", | |
| 95 "resources/SmallLogo.png", | |
| 96 "resources/chrome.VisualElementsManifest.xml", | |
| 97 ] | |
| 98 | |
| 99 outputs = [ | |
| 100 "$root_out_dir/{{source_file_part}}", | |
| 101 ] | |
| 102 } | |
| 103 | |
| 104 test("metro_driver_unittests") { | 88 test("metro_driver_unittests") { |
| 105 sources = [ | 89 sources = [ |
| 106 "run_all_unittests.cc", | 90 "run_all_unittests.cc", |
| 107 "winrt_utils.cc", | 91 "winrt_utils.cc", |
| 108 "winrt_utils.h", | 92 "winrt_utils.h", |
| 109 "winrt_utils_unittest.cc", | 93 "winrt_utils_unittest.cc", |
| 110 ] | 94 ] |
| 111 | 95 |
| 112 deps = [ | 96 deps = [ |
| 113 ":metro_driver", | 97 ":metro_driver", |
| 114 "//base", | 98 "//base", |
| 115 "//chrome/installer/util:with_rc_strings", | 99 "//chrome/installer/util:with_rc_strings", |
| 116 "//testing/gtest", | 100 "//testing/gtest", |
| 117 ] | 101 ] |
| 118 } | 102 } |
| OLD | NEW |