manual-paths-to-ignore.txt 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. # File that lists regular expressions of paths that should be ignored when
  2. # running the rewrite_raw_ptr_fields tool on Chromium sources.
  3. #
  4. # If a source file path contains any of the lines in the filter file below,
  5. # then such source file will not be rewritten.
  6. #
  7. # Lines prefixed with "!" can be used to force include files that matched a file
  8. # path to be ignored.
  9. #
  10. # Note that the rewriter has a hardcoded logic for a handful of path-based
  11. # exclusions that cannot be expressed as substring matches:
  12. # - Excluding paths containing "third_party/", but still covering
  13. # "third_party/blink/"
  14. # (see the isInThirdPartyLocation AST matcher in RewriteRawPtrFields.cpp).
  15. # - Excluding paths _starting_ with "gen/" or containing "/gen/"
  16. # (i.e. hopefully just the paths under out/.../gen/... directory)
  17. # via the isInGeneratedLocation AST matcher in RewriteRawPtrFields.cpp.
  18. # Exclude to prevent PartitionAlloc<->raw_ptr<T> cyclical dependency.
  19. base/allocator/
  20. # Exclude dependences of raw_ptr.h
  21. # TODO(bartekn): Update the list of dependencies.
  22. base/logging.h
  23. base/synchronization/lock_impl.h
  24. base/check.h
  25. # Exclude - deprecated and contains legacy C++ and pre-C++11 code.
  26. ppapi/
  27. # Exclude tools that do not ship in the Chrome binary. Can't depend on //base.
  28. base/android/linker/
  29. chrome/chrome_cleaner/
  30. tools/
  31. net/tools/
  32. chrome/chrome_elf/
  33. chrome/installer/mini_installer/
  34. # DEPS prohibits includes from base/
  35. chrome/install_static
  36. # Exclude pocdll.dll as it doesn't depend on //base and only used for testing.
  37. sandbox/win/sandbox_poc/pocdll
  38. # Exclude directories that don't depend on //base, because nothing there uses
  39. # anything from /base.
  40. sandbox/linux/system_headers/
  41. components/history_clusters/core/
  42. # The folder holds headers that are duplicated in the Android source and need to
  43. # provide a stable C ABI. Can't depend on //base.
  44. android_webview/public/
  45. # Exclude code that only runs inside a renderer process - renderer
  46. # processes are excluded for now from the MiraclePtr project scope,
  47. # because they are sensitive to performance regressions (to a much higher
  48. # degree than, say, the Browser process).
  49. #
  50. # Note that some renderer-only directories are already excluded
  51. # elsewhere - for example "v8/" is excluded in another part of this
  52. # file.
  53. #
  54. # The common/ directories must be included in the rewrite as they contain code
  55. # that is also used from the browser process.
  56. #
  57. # Also, note that isInThirdPartyLocation AST matcher in
  58. # RewriteRawPtrFields.cpp explicitly includes third_party/blink
  59. # (because it is in the same git repository as the rest of Chromium),
  60. # but we go ahead and exclude most of it below (as Renderer-only code).
  61. /renderer/ # (e.g. //content/renderer/ or //components/visitedlink/renderer/
  62. # or //third_party/blink/renderer)
  63. third_party/blink/public/web/ # TODO: Consider renaming this directory to
  64. # public/renderer?
  65. # Exclude paths in separate repositories - i.e. in directories that
  66. # 1. Contain a ".git" subdirectory
  67. # 2. And hasn't been excluded via "third_party/" substring in their path
  68. # (see the isInThirdPartyLocation AST matcher in RewriteRawPtrFields.cpp).
  69. #
  70. # The list below has been generated with:
  71. #
  72. # $ find . -type d -name .git | \
  73. # sed -e 's/\.git$//g' | \
  74. # sed -e 's/\.\///g' | \
  75. # grep -v third_party | \
  76. # grep -v '^$' | \
  77. # sort | uniq > ~/scratch/git-paths
  78. buildtools/clang_format/script/
  79. chrome/app/theme/default_100_percent/google_chrome/
  80. chrome/app/theme/default_200_percent/google_chrome/
  81. chrome/app/theme/google_chrome/
  82. chrome/app/vector_icons/google_chrome/
  83. chrome/browser/enterprise/connectors/internal/
  84. chrome/browser/google/linkdoctor_internal/
  85. chrome/browser/internal/
  86. chrome/browser/media/engagement_internal/
  87. chrome/browser/resources/chromeos/quickoffice/
  88. chrome/browser/resources/media_router_internal/
  89. chrome/browser/resources/preinstalled_web_apps/internal/
  90. chrome/browser/resources/settings_internal/
  91. chrome/browser/spellchecker/internal/
  92. chrome/browser/ui/media_router/internal/
  93. chrome/installer/mac/internal/
  94. chrome/test/data/firefox3_profile/searchplugins/
  95. chrome/test/data/firefox3_searchplugins/
  96. chrome/test/data/gpu/vt/
  97. chrome/test/data/pdf_private/
  98. chrome/test/data/perf/canvas_bench/
  99. chrome/test/data/perf/frame_rate/content/
  100. chrome/test/data/perf/frame_rate/private/
  101. chrome/test/data/perf/private/
  102. chrome/test/data/xr/webvr_info/
  103. chrome/test/media_router/internal/
  104. chrome/test/python_tests/
  105. chrome/tools/memory/
  106. clank/
  107. components/history_clusters/internal/
  108. components/ntp_tiles/resources/internal/
  109. components/optimization_guide/internal/
  110. components/resources/default_100_percent/google_chrome/
  111. components/resources/default_200_percent/google_chrome/
  112. components/resources/default_300_percent/google_chrome/
  113. components/site_isolation/internal/
  114. content/test/data/plugin/
  115. docs/website/
  116. google_apis/internal/
  117. media/cdm/api/
  118. native_client/
  119. remoting/android/internal/
  120. remoting/host/installer/linux/internal/
  121. remoting/internal/
  122. remoting/test/internal/
  123. remoting/tools/internal/
  124. remoting/webapp/app_remoting/internal/
  125. tools/page_cycler/acid3/
  126. tools/perf/data/
  127. ui/file_manager/internal/
  128. v8/
  129. webkit/data/bmp_decoder/
  130. webkit/data/ico_decoder/
  131. webkit/data/test_shell/plugins/