OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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/ios/rules.gni") | 5 import("//build/config/ios/rules.gni") |
6 import("//ios/build/chrome_build.gni") | 6 import("//ios/build/chrome_build.gni") |
7 import("//ios/build/config.gni") | 7 import("//ios/build/config.gni") |
8 import("//ios/third_party/earl_grey/ios_eg_test.gni") | 8 import("//ios/third_party/earl_grey/ios_eg_test.gni") |
9 | 9 |
10 ios_app_bundle("showcase") { | 10 ios_app_bundle("showcase") { |
(...skipping 10 matching lines...) Expand all Loading... |
21 ] | 21 ] |
22 bundle_deps = [ "//ios/showcase/core/resources" ] | 22 bundle_deps = [ "//ios/showcase/core/resources" ] |
23 assert_no_deps = ios_assert_no_deps | 23 assert_no_deps = ios_assert_no_deps |
24 } | 24 } |
25 | 25 |
26 group("features") { | 26 group("features") { |
27 deps = [ | 27 deps = [ |
28 "//ios/clean/chrome/browser/ui/tools:tools_ui", | 28 "//ios/clean/chrome/browser/ui/tools:tools_ui", |
29 "//ios/showcase/settings", | 29 "//ios/showcase/settings", |
30 "//ios/showcase/suggestions", | 30 "//ios/showcase/suggestions", |
31 "//ios/showcase/tab", | |
32 "//ios/showcase/tab_grid", | 31 "//ios/showcase/tab_grid", |
33 "//ios/showcase/tab_strip", | 32 "//ios/showcase/tab_strip", |
34 "//ios/showcase/toolbar", | 33 "//ios/showcase/toolbar", |
35 "//ios/showcase/uikit_table_view_cell", | 34 "//ios/showcase/uikit_table_view_cell", |
36 ] | 35 ] |
37 } | 36 } |
38 | 37 |
39 group("all_tests") { | 38 group("all_tests") { |
40 testonly = true | 39 testonly = true |
41 deps = [ | 40 deps = [ |
42 ":ios_showcase_egtests", | 41 ":ios_showcase_egtests", |
43 ] | 42 ] |
44 } | 43 } |
45 | 44 |
46 ios_eg_test("ios_showcase_egtests") { | 45 ios_eg_test("ios_showcase_egtests") { |
47 info_plist = "core/Info.plist" | 46 info_plist = "core/Info.plist" |
48 extra_substitutions = [ "IOS_BUNDLE_ID_PREFIX=$ios_app_bundle_id_prefix" ] | 47 extra_substitutions = [ "IOS_BUNDLE_ID_PREFIX=$ios_app_bundle_id_prefix" ] |
49 deps = [ | 48 deps = [ |
50 ":features", | 49 ":features", |
51 "//ios/showcase/core:main", | 50 "//ios/showcase/core:main", |
52 | 51 |
53 # Add all eg_tests targets below. | 52 # Add all eg_tests targets below. |
54 "//ios/showcase/core:eg_tests", | 53 "//ios/showcase/core:eg_tests", |
55 "//ios/showcase/suggestions:eg_tests", | |
56 "//ios/showcase/tab:eg_tests", | |
57 "//ios/showcase/tab_grid:eg_tests", | 54 "//ios/showcase/tab_grid:eg_tests", |
58 | 55 |
59 # All shared libraries must have the sanitizer deps to properly link in | 56 # All shared libraries must have the sanitizer deps to properly link in |
60 # asan mode (this target will be empty in other cases). | 57 # asan mode (this target will be empty in other cases). |
61 "//build/config/sanitizers:deps", | 58 "//build/config/sanitizers:deps", |
62 ] | 59 ] |
63 bundle_deps = [ "//ios/showcase/core/resources" ] | 60 bundle_deps = [ "//ios/showcase/core/resources" ] |
64 assert_no_deps = ios_assert_no_deps | 61 assert_no_deps = ios_assert_no_deps |
65 } | 62 } |
OLD | NEW |