OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//build/module_args/mojo.gni") | 5 import("//build/module_args/mojo.gni") |
| 6 import("$mojo_sdk_root/mojo/public/mojo_application.gni") |
6 import("$mojo_sdk_root/mojo/public/mojo_sdk.gni") | 7 import("$mojo_sdk_root/mojo/public/mojo_sdk.gni") |
7 | 8 |
8 mojo_sdk_source_set("cpp") { | 9 mojo_sdk_source_set("cpp") { |
9 restrict_external_deps = false | 10 restrict_external_deps = false |
10 public_configs = [ "../../../public/build/config:mojo_services" ] | 11 public_configs = [ "../../../public/build/config:mojo_services" ] |
11 sources = [ | 12 sources = [ |
12 "formatting.cc", | 13 "formatting.cc", |
13 "formatting.h", | 14 "formatting.h", |
| 15 "frame_tracker.cc", |
| 16 "frame_tracker.h", |
14 ] | 17 ] |
15 | 18 |
16 deps = [ | 19 deps = [ |
17 "../../../geometry/cpp", | 20 "../../../geometry/cpp", |
18 "../interfaces", | 21 "../interfaces", |
19 ] | 22 ] |
20 } | 23 } |
| 24 |
| 25 mojo_native_application("apptests") { |
| 26 output_name = "gfx_composition_apptests" |
| 27 |
| 28 testonly = true |
| 29 |
| 30 sources = [ |
| 31 "frame_tracker_apptest.cc", |
| 32 ] |
| 33 |
| 34 deps = [ |
| 35 ":cpp", |
| 36 "$mojo_sdk_root/mojo/public/cpp/application:standalone", |
| 37 "$mojo_sdk_root/mojo/public/cpp/application:test_support_standalone", |
| 38 "../interfaces", |
| 39 "//testing/gtest", |
| 40 ] |
| 41 } |
OLD | NEW |