| 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 assert(!is_component_build, "component build is unsupported on iOS") | 5 assert(!is_component_build, "component build is unsupported on iOS") |
| 6 | 6 |
| 7 import("//ios/features.gni") | 7 import("//ios/features.gni") |
| 8 | 8 |
| 9 declare_args() { | 9 declare_args() { |
| 10 # TODO(brettw) bug 684096: Remove these. These are to prevent unused | 10 # TODO(brettw) bug 684096: Remove these. These are to prevent unused |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 # This list all targets that needs to be build as part of "gn_all" on iOS. | 26 # This list all targets that needs to be build as part of "gn_all" on iOS. |
| 27 # This list should generally only include executables, but since some code | 27 # This list should generally only include executables, but since some code |
| 28 # has not yet been upstreamed it will sometimes also include targets that | 28 # has not yet been upstreamed it will sometimes also include targets that |
| 29 # are not used upstream to ensure they are not broken inadvertently. | 29 # are not used upstream to ensure they are not broken inadvertently. |
| 30 group("all") { | 30 group("all") { |
| 31 testonly = true | 31 testonly = true |
| 32 if (is_cronet_build) { | 32 if (is_cronet_build) { |
| 33 deps = [ | 33 deps = [ |
| 34 "//components/cronet/ios:cronet_package", | 34 "//components/cronet/ios:cronet_package", |
| 35 "//ios/crnet:crnet_framework", | 35 "//ios/crnet:crnet_framework", |
| 36 "//ios/crnet/crnet_consumer", | |
| 37 "//ios/crnet/test:crnet_test", | 36 "//ios/crnet/test:crnet_test", |
| 38 ] | 37 ] |
| 39 } else { | 38 } else { |
| 40 deps = [ | 39 deps = [ |
| 41 # List all the targets that need to be build on iOS by default. | 40 # List all the targets that need to be build on iOS by default. |
| 42 "//ios/chrome/app:chrome", | 41 "//ios/chrome/app:chrome", |
| 43 "//ios/chrome/search_widget_extension", | 42 "//ios/chrome/search_widget_extension", |
| 44 "//ios/chrome/share_extension", | 43 "//ios/chrome/share_extension", |
| 45 "//ios/chrome/today_extension", | 44 "//ios/chrome/today_extension", |
| 46 "//ios/clean/chrome/app:chrome_clean_skeleton", | 45 "//ios/clean/chrome/app:chrome_clean_skeleton", |
| 47 "//ios/showcase", | 46 "//ios/showcase", |
| 48 "//ios/web/shell:ios_web_shell", | 47 "//ios/web/shell:ios_web_shell", |
| 49 "//ios/web_view/shell:ios_web_view_shell", | 48 "//ios/web_view/shell:ios_web_view_shell", |
| 50 | 49 |
| 51 # List all the test targets that need to be build on iOS by default. | 50 # List all the test targets that need to be build on iOS by default. |
| 52 "//ios/chrome/test:all_tests", | 51 "//ios/chrome/test:all_tests", |
| 53 "//ios/chrome/test/earl_grey:all_tests", | 52 "//ios/chrome/test/earl_grey:all_tests", |
| 54 "//ios/clean/chrome/test:all_tests", | 53 "//ios/clean/chrome/test:all_tests", |
| 55 "//ios/net:all_tests", | 54 "//ios/net:all_tests", |
| 56 "//ios/showcase:all_tests", | 55 "//ios/showcase:all_tests", |
| 57 "//ios/testing:all_tests", | 56 "//ios/testing:all_tests", |
| 58 "//ios/web:all_tests", | 57 "//ios/web:all_tests", |
| 59 "//ios/web/shell/test:all_tests", | 58 "//ios/web/shell/test:all_tests", |
| 60 "//ios/web_view/shell/test:all_tests", | 59 "//ios/web_view/shell/test:all_tests", |
| 61 ] | 60 ] |
| 62 } | 61 } |
| 63 } | 62 } |
| OLD | NEW |