| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 | 46 |
| 47 if (use_aura) { | 47 if (use_aura) { |
| 48 if (is_mac) { | 48 if (is_mac) { |
| 49 # Will be automatically filtered out on non-Mac. | 49 # Will be automatically filtered out on non-Mac. |
| 50 sources -= [ "select_file_dialog_mac.mm" ] | 50 sources -= [ "select_file_dialog_mac.mm" ] |
| 51 } | 51 } |
| 52 deps += [ "//ui/aura" ] | 52 deps += [ "//ui/aura" ] |
| 53 } | 53 } |
| 54 | 54 |
| 55 if (is_android) { | 55 if (is_android) { |
| 56 deps += [ "//ui/base:ui_base_jni_headers" ] | 56 deps += [ |
| 57 "//ui/android", |
| 58 "//ui/base:ui_base_jni_headers", |
| 59 ] |
| 57 include_dirs = [ "$root_gen_dir/ui" ] | 60 include_dirs = [ "$root_gen_dir/ui" ] |
| 58 libs = [ "jnigraphics" ] | 61 libs = [ "jnigraphics" ] |
| 59 | 62 |
| 60 if (!is_android_webview_build) { | 63 if (!is_android_webview_build) { |
| 61 deps += [ "//ui/android:ui_java" ] | 64 deps += [ "//ui/android:ui_java" ] |
| 62 } | 65 } |
| 63 } | 66 } |
| 64 | 67 |
| 65 if (is_win) { | 68 if (is_win) { |
| 66 deps += [ "//win8:metro_viewer" ] | 69 deps += [ "//win8:metro_viewer" ] |
| 67 } | 70 } |
| 68 } | 71 } |
| 69 | 72 |
| 70 test("shell_dialogs_unittests") { | 73 test("shell_dialogs_unittests") { |
| 71 sources = [ | 74 sources = [ |
| 72 "select_file_dialog_win_unittest.cc", | 75 "select_file_dialog_win_unittest.cc", |
| 73 ] | 76 ] |
| 74 | 77 |
| 75 deps = [ | 78 deps = [ |
| 76 ":shell_dialogs", | 79 ":shell_dialogs", |
| 77 "//base", | 80 "//base", |
| 78 "//base/test:test_support", | 81 "//base/test:test_support", |
| 79 "//base/test:run_all_unittests", | 82 "//base/test:run_all_unittests", |
| 80 "//testing/gtest", | 83 "//testing/gtest", |
| 81 ] | 84 ] |
| 82 } | 85 } |
| OLD | NEW |