Chromium Code Reviews

Side by Side Diff: components/memory_coordinator/browser/BUILD.gn

Issue 2265893002: memory_coordinator: Use component(target) instead of static_library(target) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « no previous file | components/memory_coordinator/browser/memory_coordinator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 static_library("browser") { 5 component("browser") {
6 output_name = "memory_coordinator_browser"
7
6 sources = [ 8 sources = [
7 "memory_coordinator.cc", 9 "memory_coordinator.cc",
8 "memory_coordinator.h", 10 "memory_coordinator.h",
9 "memory_monitor.h", 11 "memory_monitor.h",
10 "memory_monitor_win.cc", 12 "memory_monitor_win.cc",
11 "memory_monitor_win.h", 13 "memory_monitor_win.h",
12 ] 14 ]
13 15
16 defines = [ "MEMORY_COORDINATOR_IMPLEMENTATION" ]
17
14 deps = [ 18 deps = [
15 "//base", 19 "//base",
16 "//components/memory_coordinator/public/interfaces", 20 "//components/memory_coordinator/public/interfaces",
17 ] 21 ]
18 22
19 public_deps = [ 23 public_deps = [
20 "//components/memory_coordinator/common", 24 "//components/memory_coordinator/common",
21 ] 25 ]
22 } 26 }
23 27
24 source_set("unit_tests") { 28 source_set("unit_tests") {
25 testonly = true 29 testonly = true
26 30
27 sources = [ 31 sources = [
28 "memory_coordinator_unittest.cc", 32 "memory_coordinator_unittest.cc",
29 "memory_monitor_win_unittest.cc", 33 "memory_monitor_win_unittest.cc",
30 ] 34 ]
31 35
32 deps = [ 36 deps = [
33 ":browser", 37 ":browser",
34 "//testing/gtest", 38 "//testing/gtest",
35 ] 39 ]
36 } 40 }
OLDNEW
« no previous file with comments | « no previous file | components/memory_coordinator/browser/memory_coordinator.h » ('j') | no next file with comments »

Powered by Google App Engine