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

Side by Side Diff: apps/moterm/BUILD.gn

Issue 1128333002: Moterm part 2: Add MotermDriver, a terminal "driver". (Closed) Base URL: https://github.com/domokit/mojo.git@moterm_model
Patch Set: rebased again Created 5 years, 7 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
« no previous file with comments | « no previous file | apps/moterm/moterm_driver.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 source_set("driver") {
8 sources = [
9 "moterm_driver.cc",
10 "moterm_driver.h",
11 ]
12
13 public_deps = [
14 "//base",
15 "//mojo/public/cpp/bindings",
16 "//mojo/services/files/public/interfaces",
17 ]
18 }
19
7 source_set("model") { 20 source_set("model") {
8 sources = [ 21 sources = [
9 "moterm_model.cc", 22 "moterm_model.cc",
10 "moterm_model.h", 23 "moterm_model.h",
11 ] 24 ]
12 25
13 deps = [ 26 deps = [
14 "//third_party/libteken", 27 "//third_party/libteken",
15 ] 28 ]
16 29
17 forward_dependent_configs_from = [ "//third_party/libteken" ] 30 forward_dependent_configs_from = [ "//third_party/libteken" ]
18 31
19 public_deps = [ 32 public_deps = [
20 "//base", 33 "//base",
21 ] 34 ]
22 } 35 }
23 36
24 mojo_native_application("apptests") { 37 mojo_native_application("apptests") {
25 output_name = "moterm_apptests" 38 output_name = "moterm_apptests"
26 39
27 testonly = true 40 testonly = true
28 41
29 sources = [ 42 sources = [
43 "moterm_driver_unittest.cc",
30 "moterm_model_unittest.cc", 44 "moterm_model_unittest.cc",
31 ] 45 ]
32 46
33 deps = [ 47 deps = [
48 ":driver",
34 ":model", 49 ":model",
35 "//mojo/application", 50 "//mojo/application",
36 "//mojo/application:test_support", 51 "//mojo/application:test_support",
52 "//mojo/public/cpp/bindings:callback",
37 "//testing/gtest", 53 "//testing/gtest",
38 ] 54 ]
39 } 55 }
OLDNEW
« no previous file with comments | « no previous file | apps/moterm/moterm_driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698