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.
5 assert(!is_component_build, "component build is unsupported on iOS")
7 import("//build/config/gclient_args.gni")
8 import("//build/config/ios/ios_sdk.gni")
9 import("//ios/features.gni")
11 # This list all targets that needs to be build as part of "gn_all" on iOS.
12 # This list should generally only include executables, but since some code
13 # has not yet been upstreamed it will sometimes also include targets that
14 # are not used upstream to ensure they are not broken inadvertently.
17 if (is_cronet_build) {
18 deps = [ "//components/cronet/ios:cronet_package_ios" ]
20 assert(xcode_version_int >= 1000, "Xcode 10 is required.")
23 # List all the targets that need to be built on iOS by default.
24 "//ios/chrome/app:chrome",
25 "//ios/chrome/content_widget_extension",
26 "//ios/chrome/search_widget_extension",
27 "//ios/chrome/share_extension",
29 "//ios/web/shell:ios_web_shell",
30 "//ios/web_view/shell:ios_web_view_shell",
32 # List all the test targets that need to be built on iOS by default.
33 "//ios/chrome/test:all_tests",
34 "//ios/chrome/test/earl_grey2:all_tests",
35 "//ios/chrome/test/wpt:all_tests",
36 "//ios/components:all_tests",
37 "//ios/net:all_tests",
38 "//ios/showcase:all_tests",
39 "//ios/testing:all_tests",
40 "//ios/web:all_tests",
41 "//ios/web/shell/test:all_tests",
42 "//ios/web_view:all_tests",