| 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("//mojo/public/mojo_application.gni") | 5 import("//mojo/public/mojo_application.gni") |
| 6 | 6 |
| 7 mojo_native_application("gl_helper_test_app") { | 7 mojo_native_application("gl_helper_test_app") { |
| 8 sources = [ | 8 sources = [ |
| 9 "gl_helper_test_app.cc", | 9 "gl_helper_test_app.cc", |
| 10 ] | 10 ] |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 public_deps = [ | 56 public_deps = [ |
| 57 "//base", | 57 "//base", |
| 58 "//mojo/public/c/gles2:headers", | 58 "//mojo/public/c/gles2:headers", |
| 59 "//mojo/services/geometry/public/cpp", | 59 "//mojo/services/geometry/public/cpp", |
| 60 "//mojo/services/geometry/public/interfaces", | 60 "//mojo/services/geometry/public/interfaces", |
| 61 "//mojo/services/surfaces/public/cpp", | 61 "//mojo/services/surfaces/public/cpp", |
| 62 "//mojo/services/surfaces/public/interfaces:surface_id", | 62 "//mojo/services/surfaces/public/interfaces:surface_id", |
| 63 ] | 63 ] |
| 64 } | 64 } |
| 65 | 65 |
| 66 source_set("key_util") { |
| 67 sources = [ |
| 68 "key_util.cc", |
| 69 "key_util.h", |
| 70 ] |
| 71 |
| 72 deps = [ |
| 73 "//base", |
| 74 ] |
| 75 |
| 76 public_deps = [ |
| 77 "//mojo/services/input_events/public/interfaces", |
| 78 ] |
| 79 } |
| 80 |
| 66 source_set("model") { | 81 source_set("model") { |
| 67 sources = [ | 82 sources = [ |
| 68 "moterm_model.cc", | 83 "moterm_model.cc", |
| 69 "moterm_model.h", | 84 "moterm_model.h", |
| 70 ] | 85 ] |
| 71 | 86 |
| 72 deps = [ | 87 deps = [ |
| 73 "//third_party/libteken", | 88 "//third_party/libteken", |
| 74 ] | 89 ] |
| 75 | 90 |
| 76 forward_dependent_configs_from = [ "//third_party/libteken" ] | 91 forward_dependent_configs_from = [ "//third_party/libteken" ] |
| 77 | 92 |
| 78 public_deps = [ | 93 public_deps = [ |
| 79 "//base", | 94 "//base", |
| 80 ] | 95 ] |
| 81 } | 96 } |
| 82 | 97 |
| 83 mojo_native_application("apptests") { | 98 mojo_native_application("apptests") { |
| 84 output_name = "moterm_apptests" | 99 output_name = "moterm_apptests" |
| 85 | 100 |
| 86 testonly = true | 101 testonly = true |
| 87 | 102 |
| 88 sources = [ | 103 sources = [ |
| 89 "gl_helper_unittest.cc", | 104 "gl_helper_unittest.cc", |
| 105 "key_util_unittest.cc", |
| 90 "moterm_driver_unittest.cc", | 106 "moterm_driver_unittest.cc", |
| 91 "moterm_model_unittest.cc", | 107 "moterm_model_unittest.cc", |
| 92 ] | 108 ] |
| 93 | 109 |
| 94 deps = [ | 110 deps = [ |
| 95 ":driver", | 111 ":driver", |
| 96 ":gl_helper", | 112 ":gl_helper", |
| 113 ":key_util", |
| 97 ":model", | 114 ":model", |
| 98 "//mojo/application", | 115 "//mojo/application", |
| 99 "//mojo/application:test_support", | 116 "//mojo/application:test_support", |
| 100 "//mojo/public/cpp/bindings:callback", | 117 "//mojo/public/cpp/bindings:callback", |
| 101 "//testing/gtest", | 118 "//testing/gtest", |
| 102 ] | 119 ] |
| 103 } | 120 } |
| OLD | NEW |