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("//build/config/ios/rules.gni") |
| 6 import("//ios/build/chrome_build.gni") |
| 7 import("//ios/build/config.gni") |
| 8 import("//ios/third_party/earl_grey/ios_eg_test.gni") |
| 9 |
| 10 ios_app_bundle("showcase") { |
| 11 info_plist = "core/Info.plist" |
| 12 extra_substitutions = [ "IOS_BUNDLE_ID_PREFIX=$ios_app_bundle_id_prefix" ] |
| 13 output_name = "Showcase" |
| 14 deps = [ |
| 15 ":features", |
| 16 "//ios/showcase/core:main", |
| 17 |
| 18 # All shared libraries must have the sanitizer deps to properly link in |
| 19 # asan mode (this target will be empty in other cases). |
| 20 "//build/config/sanitizers:deps", |
| 21 ] |
| 22 bundle_deps = [ ":launchscreen_storyboard" ] |
| 23 assert_no_deps = ios_assert_no_deps |
| 24 } |
| 25 |
| 26 group("features") { |
| 27 deps = [ |
| 28 "//ios/chrome/browser/ui/tools:tools_ui", |
| 29 "//ios/showcase/settings", |
| 30 "//ios/showcase/tab_grid", |
| 31 "//ios/showcase/uikit_table_view_cell", |
| 32 ] |
| 33 } |
| 34 |
| 35 group("all_tests") { |
| 36 testonly = true |
| 37 deps = [ |
| 38 ":ios_showcase_egtests", |
| 39 ] |
| 40 } |
| 41 |
| 42 ios_eg_test("ios_showcase_egtests") { |
| 43 info_plist = "core/Info.plist" |
| 44 extra_substitutions = [ "IOS_BUNDLE_ID_PREFIX=$ios_app_bundle_id_prefix" ] |
| 45 deps = [ |
| 46 ":features", |
| 47 "//ios/showcase/core:main", |
| 48 |
| 49 # Add all eg_tests targets below. |
| 50 "//ios/showcase/core:eg_tests", |
| 51 "//ios/showcase/tab_grid:eg_tests", |
| 52 |
| 53 # All shared libraries must have the sanitizer deps to properly link in |
| 54 # asan mode (this target will be empty in other cases). |
| 55 "//build/config/sanitizers:deps", |
| 56 ] |
| 57 bundle_deps = [ ":launchscreen_storyboard" ] |
| 58 assert_no_deps = ios_assert_no_deps |
| 59 } |
| 60 |
| 61 bundle_data_ib_file("launchscreen_storyboard") { |
| 62 source = "core/LaunchScreen.storyboard" |
| 63 } |
OLD | NEW |