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 ldflags = [ "-fprofile-instr-generate" ] | |
lpromero
2017/03/31 11:22:06
I am not sure this is needed on the non test targe
| |
22 bundle_deps = [ "//ios/showcase/core/resources" ] | 23 bundle_deps = [ "//ios/showcase/core/resources" ] |
23 assert_no_deps = ios_assert_no_deps | 24 assert_no_deps = ios_assert_no_deps |
24 } | 25 } |
25 | 26 |
26 group("features") { | 27 group("features") { |
27 deps = [ | 28 deps = [ |
28 "//ios/clean/chrome/browser/ui/tools:tools_ui", | 29 "//ios/clean/chrome/browser/ui/tools:tools_ui", |
29 "//ios/showcase/content_suggestions", | 30 "//ios/showcase/content_suggestions", |
30 "//ios/showcase/payments", | 31 "//ios/showcase/payments", |
31 "//ios/showcase/settings", | 32 "//ios/showcase/settings", |
(...skipping 21 matching lines...) Expand all Loading... | |
53 # Add all eg_tests targets below. | 54 # Add all eg_tests targets below. |
54 "//ios/showcase/content_suggestions:eg_tests", | 55 "//ios/showcase/content_suggestions:eg_tests", |
55 "//ios/showcase/core:eg_tests", | 56 "//ios/showcase/core:eg_tests", |
56 "//ios/showcase/tab:eg_tests", | 57 "//ios/showcase/tab:eg_tests", |
57 "//ios/showcase/tab_grid:eg_tests", | 58 "//ios/showcase/tab_grid:eg_tests", |
58 | 59 |
59 # All shared libraries must have the sanitizer deps to properly link in | 60 # All shared libraries must have the sanitizer deps to properly link in |
60 # asan mode (this target will be empty in other cases). | 61 # asan mode (this target will be empty in other cases). |
61 "//build/config/sanitizers:deps", | 62 "//build/config/sanitizers:deps", |
62 ] | 63 ] |
64 ldflags = [ "-fprofile-instr-generate" ] | |
lpromero
2017/03/31 11:22:06
Should I instead add to ios_eg_test template and u
| |
63 bundle_deps = [ "//ios/showcase/core/resources" ] | 65 bundle_deps = [ "//ios/showcase/core/resources" ] |
64 assert_no_deps = ios_assert_no_deps | 66 assert_no_deps = ios_assert_no_deps |
65 } | 67 } |
OLD | NEW |