BUILD.gn 1.5 KB

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