| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//mojo/public/mojo_application.gni") | 5 import("//mojo/public/mojo_application.gni") |
| 6 | 6 |
| 7 group("startup") { | 7 group("startup") { |
| 8 testonly = true | 8 testonly = true |
| 9 | 9 |
| 10 deps = [ | 10 deps = [ |
| 11 ":app", | 11 ":app", |
| 12 ":noop", | 12 ":noop", |
| 13 ] | 13 ] |
| 14 } | 14 } |
| 15 | 15 |
| 16 mojo_native_application("app") { | 16 mojo_native_application("app") { |
| 17 output_name = "mojo_benchmark_startup" | 17 output_name = "mojo_benchmark_startup" |
| 18 testonly = true | 18 testonly = true |
| 19 | 19 |
| 20 sources = [ "startup.cc" ] | 20 sources = [ "startup.cc" ] |
| 21 | |
| 22 deps = [ | |
| 23 "//mojo/public/c/system:for_shared_library", | |
| 24 ] | |
| 25 } | 21 } |
| 26 | 22 |
| 27 executable("noop") { | 23 executable("noop") { |
| 28 output_name = "mojo_benchmark_startup_noop" | 24 output_name = "mojo_benchmark_startup_noop" |
| 29 testonly = true | 25 testonly = true |
| 30 | 26 |
| 31 sources = [ "noop.cc" ] | 27 sources = [ "noop.cc" ] |
| 32 | 28 |
| 33 deps = [ "//build/config/sanitizers:deps" ] | 29 deps = [ "//build/config/sanitizers:deps" ] |
| 34 } | 30 } |
| OLD | NEW |