BUILD.gn 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # Copyright 2017 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. import("//ios/build/config.gni")
  5. source_set("public") {
  6. public_deps = [
  7. ":web_state_observer",
  8. "//ios/web/public/favicon",
  9. "//ios/web/public/navigation",
  10. "//ios/web/public/permissions",
  11. "//ios/web/public/thread",
  12. "//ios/web/public/ui",
  13. "//net",
  14. "//services/network/public/cpp",
  15. "//services/network/public/mojom",
  16. ]
  17. deps = [
  18. "//ios/third_party/webkit",
  19. "//ios/web/common",
  20. "//ios/web/common:user_agent",
  21. "//ios/web/public/deprecated",
  22. "//ui/base",
  23. ]
  24. sources = [
  25. "browser_state.h",
  26. "web_client.h",
  27. "web_state.h",
  28. "web_state_delegate.h",
  29. "web_state_delegate_bridge.h",
  30. "web_state_observer_bridge.h",
  31. "web_state_user_data.h",
  32. ]
  33. configs += [ "//build/config/compiler:enable_arc" ]
  34. }
  35. # Un-separate this once the things in public/deprecated that need it are
  36. # deprecated.
  37. source_set("web_state_observer") {
  38. deps = [
  39. "//base",
  40. "//ios/web/public/navigation",
  41. "//url",
  42. ]
  43. sources = [ "web_state_observer.h" ]
  44. configs += [ "//build/config/compiler:enable_arc" ]
  45. }