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 } | |
77 } | 73 } |
78 | 74 |
79 test("shell_dialogs_unittests") { | 75 test("shell_dialogs_unittests") { |
80 sources = [ | 76 sources = [ |
81 "select_file_dialog_win_unittest.cc", | 77 "select_file_dialog_win_unittest.cc", |
82 ] | 78 ] |
83 | 79 |
84 deps = [ | 80 deps = [ |
85 ":shell_dialogs", | 81 ":shell_dialogs", |
86 "//base", | 82 "//base", |
87 "//base/test:run_all_unittests", | 83 "//base/test:run_all_unittests", |
88 "//base/test:test_support", | 84 "//base/test:test_support", |
89 "//testing/gtest", | 85 "//testing/gtest", |
90 ] | 86 ] |
91 } | 87 } |
OLD | NEW |