BUILD.gn 700 B

12345678910111213141516171819202122232425262728
  1. # Copyright (c) 2013 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. static_library("xdg_mime") {
  5. visibility = [ "//base/*" ]
  6. sources = [
  7. "xdgmime.c",
  8. "xdgmime.h",
  9. "xdgmimealias.c",
  10. "xdgmimealias.h",
  11. "xdgmimecache.c",
  12. "xdgmimecache.h",
  13. "xdgmimeglob.c",
  14. "xdgmimeglob.h",
  15. "xdgmimeicon.c",
  16. "xdgmimeicon.h",
  17. "xdgmimeint.c",
  18. "xdgmimeint.h",
  19. "xdgmimemagic.c",
  20. "xdgmimemagic.h",
  21. "xdgmimeparent.c",
  22. "xdgmimeparent.h",
  23. ]
  24. configs -= [ "//build/config/compiler:chromium_code" ]
  25. configs += [ "//build/config/compiler:no_chromium_code" ]
  26. }