Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Side by Side Diff: components/memory_coordinator/child/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. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
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("child") { 5 component("child") {
6 output_name = "memory_coordinator_child"
7
6 sources = [ 8 sources = [
7 "child_memory_coordinator_impl.cc", 9 "child_memory_coordinator_impl.cc",
8 "child_memory_coordinator_impl.h", 10 "child_memory_coordinator_impl.h",
9 ] 11 ]
10 12
13 defines = [ "MEMORY_COORDINATOR_IMPLEMENTATION" ]
14
11 deps = [ 15 deps = [
12 "//base", 16 "//base",
13 "//components/memory_coordinator/public/interfaces", 17 "//components/memory_coordinator/public/interfaces",
14 ] 18 ]
15 19
16 public_deps = [ 20 public_deps = [
17 "//components/memory_coordinator/common", 21 "//components/memory_coordinator/common",
18 ] 22 ]
19 } 23 }
20 24
21 source_set("unit_tests") { 25 source_set("unit_tests") {
22 testonly = true 26 testonly = true
23 27
24 sources = [ 28 sources = [
25 "child_memory_coordinator_impl_unittest.cc", 29 "child_memory_coordinator_impl_unittest.cc",
26 ] 30 ]
27 31
28 deps = [ 32 deps = [
29 ":child", 33 ":child",
30 "//mojo/common", 34 "//mojo/common",
31 "//testing/gtest", 35 "//testing/gtest",
32 ] 36 ]
33 } 37 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698