OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//testing/test.gni") | 6 import("//testing/test.gni") |
7 if (is_android) { | 7 if (is_android) { |
8 import("//build/config/android/config.gni") | 8 import("//build/config/android/config.gni") |
9 } | 9 } |
10 | 10 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 include_dirs = [ "$root_gen_dir/ui" ] | 63 include_dirs = [ "$root_gen_dir/ui" ] |
64 libs = [ "jnigraphics" ] | 64 libs = [ "jnigraphics" ] |
65 } | 65 } |
66 | 66 |
67 if (is_android && use_aura) { | 67 if (is_android && use_aura) { |
68 sources += [ | 68 sources += [ |
69 "select_file_dialog_auraandroid.cc", | 69 "select_file_dialog_auraandroid.cc", |
70 "select_file_dialog_auraandroid.h", | 70 "select_file_dialog_auraandroid.h", |
71 ] | 71 ] |
72 } | 72 } |
| 73 |
| 74 if (is_win) { |
| 75 deps += [ "//win8:metro_viewer" ] |
| 76 } |
73 } | 77 } |
74 | 78 |
75 test("shell_dialogs_unittests") { | 79 test("shell_dialogs_unittests") { |
76 sources = [ | 80 sources = [ |
77 "select_file_dialog_win_unittest.cc", | 81 "select_file_dialog_win_unittest.cc", |
78 ] | 82 ] |
79 | 83 |
80 deps = [ | 84 deps = [ |
81 ":shell_dialogs", | 85 ":shell_dialogs", |
82 "//base", | 86 "//base", |
83 "//base/test:run_all_unittests", | 87 "//base/test:run_all_unittests", |
84 "//base/test:test_support", | 88 "//base/test:test_support", |
85 "//testing/gtest", | 89 "//testing/gtest", |
86 ] | 90 ] |
87 } | 91 } |
OLD | NEW |