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