Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("//mojo/public/mojo_application.gni") | |
| 6 | |
| 7 source_set("ui") { | |
| 8 sources = [ | |
| 9 "base_view.cc", | |
| 10 "base_view.h", | |
| 11 "choreographer.cc", | |
| 12 "choreographer.h", | |
| 13 "input_handler.cc", | |
| 14 "input_handler.h", | |
| 15 "view_provider_app.cc", | |
| 16 "view_provider_app.h", | |
| 17 ] | |
| 18 | |
| 19 deps = [ | |
| 20 "//base", | |
|
abarth
2016/01/10 23:23:39
The base dependency here is sad panda. That basic
jeffbrown
2016/01/26 07:25:15
I'll revisit this later. The SDK story as a whole
| |
| 21 "//mojo/application", | |
| 22 "//mojo/common", | |
| 23 "//mojo/public/cpp/bindings", | |
| 24 "//mojo/public/interfaces/application", | |
| 25 "//mojo/services/gfx/composition/interfaces", | |
| 26 "//mojo/services/ui/input/interfaces", | |
| 27 "//mojo/services/ui/views/interfaces", | |
| 28 ] | |
| 29 } | |
| 30 | |
| 31 source_set("content") { | |
| 32 sources = [ | |
| 33 "content_viewer_app.cc", | |
| 34 "content_viewer_app.h", | |
| 35 ] | |
| 36 | |
| 37 deps = [ | |
| 38 ":ui", | |
| 39 "//base", | |
| 40 "//mojo/application", | |
| 41 "//mojo/common", | |
| 42 "//mojo/public/cpp/bindings", | |
| 43 "//mojo/services/content_handler/interfaces", | |
| 44 "//mojo/services/ui/views/interfaces", | |
| 45 ] | |
| 46 } | |
| 47 | |
| 48 source_set("gl") { | |
| 49 sources = [ | |
| 50 "gl_renderer.cc", | |
| 51 "gl_renderer.h", | |
| 52 "gl_view.cc", | |
| 53 "gl_view.h", | |
| 54 ] | |
| 55 | |
| 56 deps = [ | |
| 57 ":ui", | |
| 58 "//base", | |
| 59 "//mojo/application", | |
| 60 "//mojo/common", | |
| 61 "//mojo/gpu", | |
| 62 "//mojo/public/cpp/bindings", | |
| 63 "//mojo/services/gfx/composition/interfaces", | |
| 64 "//mojo/services/ui/views/interfaces", | |
| 65 ] | |
| 66 } | |
| 67 | |
| 68 source_set("ganesh") { | |
| 69 sources = [ | |
| 70 "ganesh_renderer.cc", | |
| 71 "ganesh_renderer.h", | |
| 72 "ganesh_view.cc", | |
| 73 "ganesh_view.h", | |
| 74 ] | |
| 75 | |
| 76 deps = [ | |
| 77 ":ui", | |
| 78 ":gl", | |
| 79 "//base", | |
| 80 "//mojo/application", | |
| 81 "//mojo/common", | |
| 82 "//mojo/gpu", | |
| 83 "//mojo/public/cpp/bindings", | |
| 84 "//mojo/services/gfx/composition/interfaces", | |
| 85 "//mojo/services/ui/views/interfaces", | |
| 86 "//mojo/skia", | |
| 87 "//skia", | |
| 88 ] | |
| 89 } | |
| 90 | |
| 91 mojo_native_application("unittests") { | |
| 92 output_name = "ui_unittests" | |
| 93 | |
| 94 testonly = true | |
| 95 | |
| 96 sources = [ | |
| 97 "gl_renderer_unittest.cc", | |
| 98 ] | |
| 99 | |
| 100 deps = [ | |
| 101 ":ui", | |
| 102 ":gl", | |
| 103 "//base", | |
| 104 "//mojo/application", | |
| 105 "//mojo/application:test_support", | |
| 106 "//mojo/gpu", | |
| 107 "//mojo/public/cpp/bindings:callback", | |
| 108 "//mojo/services/geometry/interfaces", | |
| 109 "//mojo/services/gfx/composition/interfaces", | |
| 110 "//testing/gtest", | |
| 111 ] | |
| 112 } | |
| OLD | NEW |