commit | a1554f1a3b8e9ea84995eaa8f5ceed5a9de17cd3 | [log] [tgz] |
---|---|---|
author | Takashi Sakamoto <[email protected]> | Mon Jan 20 05:50:39 2020 |
committer | Commit Bot <[email protected]> | Mon Jan 20 05:50:39 2020 |
tree | 8797f0f45fac99ce3a885eec24c6ebcd7432f9e3 | |
parent | 5b54011d3db6ae2116705dc84569c34a908379d1 [diff] [blame] |
Make MemoryUsageMonitor available on Chrome Linux. Change-Id: Ib11d9edc4258aa807721daea78c2528709cf99d4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1995107 Reviewed-by: Ken Buchanan <[email protected]> Reviewed-by: Benoit L <[email protected]> Reviewed-by: Erik Chen <[email protected]> Reviewed-by: Kentaro Hara <[email protected]> Commit-Queue: Takashi Sakamoto <[email protected]> Cr-Commit-Position: refs/heads/master@{#733253}
diff --git a/third_party/blink/public/mojom/BUILD.gn b/third_party/blink/public/mojom/BUILD.gn index bfd7795..069f2ce 100644 --- a/third_party/blink/public/mojom/BUILD.gn +++ b/third_party/blink/public/mojom/BUILD.gn
@@ -497,3 +497,19 @@ # Don't scramble message IDs so they are redistributable to external tests. scramble_message_ids = false } + +mojom("memory_usage_monitor_linux_mojo_bindings") { + visibility = [ + "//content/browser:browser", + "//third_party/blink/renderer/controller:controller", + ] + visibility_blink = [ "//third_party/blink/renderer/controller:controller" ] + + sources = [ "memory_usage_monitor_linux.mojom" ] + + public_deps = [ "//mojo/public/mojom/base" ] + + export_class_attribute_blink = "PLATFORM_EXPORT" + export_define_blink = "BLINK_PLATFORM_IMPLEMENTATION=1" + export_header_blink = "third_party/blink/renderer/platform/platform_export.h" +}