BUILD.gn 830 B

123456789101112131415161718192021222324252627282930313233343536
  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. import("//testing/test.gni")
  5. component("client") {
  6. output_name = "discardable_memory_client"
  7. defines = [ "DISCARDABLE_MEMORY_IMPLEMENTATION" ]
  8. sources = [
  9. "client_discardable_shared_memory_manager.cc",
  10. "client_discardable_shared_memory_manager.h",
  11. ]
  12. deps = [
  13. "//base",
  14. "//components/crash/core/common:crash_key",
  15. "//components/discardable_memory/common",
  16. "//components/discardable_memory/public/mojom",
  17. ]
  18. }
  19. source_set("unit_tests") {
  20. testonly = true
  21. sources = [ "client_discardable_shared_memory_manager_unittest.cc" ]
  22. deps = [
  23. ":client",
  24. "//base",
  25. "//base/test:test_support",
  26. "//testing/gtest",
  27. ]
  28. }