| 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", |
| 31 "//ios/showcase/tab_grid", | 32 "//ios/showcase/tab_grid", |
| 32 "//ios/showcase/tab_strip", | 33 "//ios/showcase/tab_strip", |
| 33 "//ios/showcase/toolbar", | 34 "//ios/showcase/toolbar", |
| 34 "//ios/showcase/uikit_table_view_cell", | 35 "//ios/showcase/uikit_table_view_cell", |
| 35 ] | 36 ] |
| 36 } | 37 } |
| 37 | 38 |
| 38 group("all_tests") { | 39 group("all_tests") { |
| 39 testonly = true | 40 testonly = true |
| 40 deps = [ | 41 deps = [ |
| 41 ":ios_showcase_egtests", | 42 ":ios_showcase_egtests", |
| 42 ] | 43 ] |
| 43 } | 44 } |
| 44 | 45 |
| 45 ios_eg_test("ios_showcase_egtests") { | 46 ios_eg_test("ios_showcase_egtests") { |
| 46 info_plist = "core/Info.plist" | 47 info_plist = "core/Info.plist" |
| 47 extra_substitutions = [ "IOS_BUNDLE_ID_PREFIX=$ios_app_bundle_id_prefix" ] | 48 extra_substitutions = [ "IOS_BUNDLE_ID_PREFIX=$ios_app_bundle_id_prefix" ] |
| 48 deps = [ | 49 deps = [ |
| 49 ":features", | 50 ":features", |
| 50 "//ios/showcase/core:main", | 51 "//ios/showcase/core:main", |
| 51 | 52 |
| 52 # Add all eg_tests targets below. | 53 # Add all eg_tests targets below. |
| 53 "//ios/showcase/core:eg_tests", | 54 "//ios/showcase/core:eg_tests", |
| 55 "//ios/showcase/suggestions:eg_tests", |
| 56 "//ios/showcase/tab:eg_tests", |
| 54 "//ios/showcase/tab_grid:eg_tests", | 57 "//ios/showcase/tab_grid:eg_tests", |
| 55 | 58 |
| 56 # All shared libraries must have the sanitizer deps to properly link in | 59 # All shared libraries must have the sanitizer deps to properly link in |
| 57 # asan mode (this target will be empty in other cases). | 60 # asan mode (this target will be empty in other cases). |
| 58 "//build/config/sanitizers:deps", | 61 "//build/config/sanitizers:deps", |
| 59 ] | 62 ] |
| 60 bundle_deps = [ "//ios/showcase/core/resources" ] | 63 bundle_deps = [ "//ios/showcase/core/resources" ] |
| 61 assert_no_deps = ios_assert_no_deps | 64 assert_no_deps = ios_assert_no_deps |
| 62 } | 65 } |
| OLD | NEW |