OLD | NEW |
(Empty) | |
| 1 # Copyright 2016 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("//testing/test.gni") |
| 6 import("//build/config/ui.gni") |
| 7 |
| 8 assert(use_aura) |
| 9 |
| 10 component("shower") { |
| 11 sources = [ |
| 12 "app_list_shower.h", |
| 13 "app_list_shower_delegate.h", |
| 14 "app_list_shower_delegate_factory.h", |
| 15 "app_list_shower_export.h", |
| 16 "app_list_shower_impl.cc", |
| 17 "app_list_shower_impl.h", |
| 18 ] |
| 19 |
| 20 defines = [ "APP_LIST_SHOWER_IMPLEMENTATION" ] |
| 21 |
| 22 public_deps = [ |
| 23 "//base", |
| 24 "//ui/app_list", |
| 25 "//ui/aura", |
| 26 "//ui/compositor", |
| 27 "//ui/gfx/geometry", |
| 28 "//ui/views", |
| 29 ] |
| 30 } |
| 31 |
| 32 source_set("test_support") { |
| 33 sources = [ |
| 34 "test/app_list_shower_impl_test_api.cc", |
| 35 "test/app_list_shower_impl_test_api.h", |
| 36 ] |
| 37 |
| 38 public_deps = [ |
| 39 ":shower", |
| 40 ] |
| 41 deps = [ |
| 42 "//base", |
| 43 ] |
| 44 } |
| 45 |
| 46 test("app_list_shower_unittests") { |
| 47 sources = [ |
| 48 "app_list_shower_impl_unittest.cc", |
| 49 "test/run_all_unittests.cc", |
| 50 ] |
| 51 |
| 52 # TODO: Add to data_deps instead once GN has rolled past #339778. |
| 53 data = [ |
| 54 "$root_out_dir/ui_test.pak", |
| 55 ] |
| 56 |
| 57 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 58 |
| 59 deps = [ |
| 60 ":shower", |
| 61 ":test_support", |
| 62 "//base", |
| 63 "//base/test:test_support", |
| 64 "//testing/gtest", |
| 65 "//ui/app_list:test_support", |
| 66 "//ui/aura:aura", |
| 67 "//ui/aura:test_support", |
| 68 "//ui/base", |
| 69 "//ui/gl:test_support", |
| 70 "//ui/resources:ui_test_pak", |
| 71 "//ui/wm:wm", |
| 72 ] |
| 73 } |
OLD | NEW |