1 # Copyright 2016 The Chromium Authors
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/config.gni")
9 import("//build/config/ios/ios_sdk.gni")
10 import("//ios/features.gni")
12 # This list all targets that needs to be build as part of "gn_all" on iOS.
13 # This list should generally only include executables, but since some code
14 # has not yet been upstreamed it will sometimes also include targets that
15 # are not used upstream to ensure they are not broken inadvertently.
18 if (is_cronet_build) {
19 deps = [ "//components/cronet/ios:cronet_package_ios" ]
20 } else if (is_webkit_only_build) {
21 deps = [ "//ios/third_party/webkit" ]
22 } else if (ios_build_chrome) {
24 # List all the targets that need to be built on iOS by default.
25 "//ios/chrome/app:chrome",
27 "//ios/web/shell:ios_web_shell",
28 "//ios/web_view/shell:ios_web_view_shell",
30 # List all the test targets that need to be built on iOS by default.
31 "//ios/chrome/test:all_tests",
32 "//ios/chrome/test/earl_grey2:all_tests",
33 "//ios/chrome/test/wpt:all_tests",
34 "//ios/components:all_tests",
35 "//ios/net:all_tests",
36 "//ios/showcase:all_tests",
37 "//ios/testing:all_tests",
38 "//ios/web:all_tests",
39 "//ios/web/shell/test:all_tests",
40 "//ios/web_view:all_tests",