| OLD | NEW |
| 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 component("child") { | 5 component("child") { |
| 6 output_name = "memory_coordinator_child" | 6 output_name = "memory_coordinator_child" |
| 7 | 7 |
| 8 sources = [ | 8 sources = [ |
| 9 "child_memory_coordinator_impl.cc", | 9 "child_memory_coordinator_impl.cc", |
| 10 "child_memory_coordinator_impl.h", | 10 "child_memory_coordinator_impl.h", |
| 11 "child_memory_coordinator_impl_android.cc", |
| 12 "child_memory_coordinator_impl_android.h", |
| 11 ] | 13 ] |
| 12 | 14 |
| 13 defines = [ "MEMORY_COORDINATOR_IMPLEMENTATION" ] | 15 defines = [ "MEMORY_COORDINATOR_IMPLEMENTATION" ] |
| 14 | 16 |
| 15 deps = [ | 17 deps = [ |
| 16 "//base", | 18 "//base", |
| 17 "//components/memory_coordinator/public/interfaces", | 19 "//components/memory_coordinator/public/interfaces", |
| 18 ] | 20 ] |
| 19 | 21 |
| 20 public_deps = [ | 22 public_deps = [ |
| 21 "//components/memory_coordinator/common", | 23 "//components/memory_coordinator/common", |
| 22 ] | 24 ] |
| 23 } | 25 } |
| 24 | 26 |
| 25 source_set("unit_tests") { | 27 source_set("unit_tests") { |
| 26 testonly = true | 28 testonly = true |
| 27 | 29 |
| 28 sources = [ | 30 sources = [ |
| 29 "child_memory_coordinator_impl_unittest.cc", | 31 "child_memory_coordinator_impl_unittest.cc", |
| 30 ] | 32 ] |
| 31 | 33 |
| 32 deps = [ | 34 deps = [ |
| 33 ":child", | 35 ":child", |
| 34 "//mojo/common", | 36 "//mojo/common", |
| 35 "//testing/gtest", | 37 "//testing/gtest", |
| 36 ] | 38 ] |
| 37 } | 39 } |
| OLD | NEW |