| 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("//build/module_args/mojo.gni") | 5 import("//build/module_args/mojo.gni") |
| 6 import("//third_party/mojo/src/mojo/public/mojo_sdk.gni") | 6 import("//third_party/mojo/src/mojo/public/mojo_sdk.gni") |
| 7 | 7 |
| 8 mojo_sdk_source_set("cpp") { | 8 mojo_sdk_source_set("cpp") { |
| 9 restrict_external_deps = false | 9 restrict_external_deps = false |
| 10 sources = [ | 10 sources = [ |
| 11 "lib/view.cc", | 11 "lib/view.cc", |
| 12 "lib/view_manager_client_factory.cc", | 12 "lib/view_manager_client_factory.cc", |
| 13 "lib/view_manager_client_impl.cc", | 13 "lib/view_manager_client_impl.cc", |
| 14 "lib/view_manager_client_impl.h", | 14 "lib/view_manager_client_impl.h", |
| 15 "lib/view_manager_context.cc", | 15 "lib/view_manager_init.cc", |
| 16 "lib/view_observer.cc", | 16 "lib/view_observer.cc", |
| 17 "lib/view_private.cc", | 17 "lib/view_private.cc", |
| 18 "lib/view_private.h", | 18 "lib/view_private.h", |
| 19 "view.h", | 19 "view.h", |
| 20 "view_manager.h", | 20 "view_manager.h", |
| 21 "view_manager_client_factory.h", | 21 "view_manager_client_factory.h", |
| 22 "view_manager_context.h", | |
| 23 "view_manager_delegate.h", | 22 "view_manager_delegate.h", |
| 23 "view_manager_init.h", |
| 24 "view_observer.h", | 24 "view_observer.h", |
| 25 "view_property.h", | 25 "view_property.h", |
| 26 "view_tracker.cc", | 26 "view_tracker.cc", |
| 27 "view_tracker.h", | 27 "view_tracker.h", |
| 28 ] | 28 ] |
| 29 | 29 |
| 30 public_deps = [ | 30 public_deps = [ |
| 31 ":common", | 31 ":common", |
| 32 ] | 32 ] |
| 33 | 33 |
| 34 deps = [ | 34 deps = [ |
| 35 "../interfaces", | 35 "../interfaces", |
| 36 "//components/surfaces/public/interfaces:surface_id", | 36 "//components/surfaces/public/interfaces:surface_id", |
| 37 "//components/window_manager/public/interfaces", | |
| 38 "//mojo/application/public/cpp:application", | 37 "//mojo/application/public/cpp:application", |
| 39 "//mojo/application/public/interfaces", | 38 "//mojo/application/public/interfaces", |
| 40 "//ui/mojo/events:interfaces", | 39 "//ui/mojo/events:interfaces", |
| 41 "//ui/mojo/geometry:interfaces", | 40 "//ui/mojo/geometry:interfaces", |
| 42 "//base", | 41 "//base", |
| 43 ] | 42 ] |
| 44 | 43 |
| 45 mojo_sdk_deps = [ | 44 mojo_sdk_deps = [ |
| 46 "mojo/public/c/gles2:headers", | 45 "mojo/public/c/gles2:headers", |
| 47 "mojo/public/cpp/bindings:bindings", | 46 "mojo/public/cpp/bindings:bindings", |
| 48 "mojo/public/cpp/system", | 47 "mojo/public/cpp/system", |
| 49 ] | 48 ] |
| 50 } | 49 } |
| 51 | 50 |
| 52 source_set("common") { | 51 source_set("common") { |
| 53 sources = [ | 52 sources = [ |
| 54 "keys.cc", | 53 "keys.cc", |
| 55 "keys.h", | 54 "keys.h", |
| 56 "types.h", | 55 "types.h", |
| 57 "util.h", | 56 "util.h", |
| 58 ] | 57 ] |
| 59 } | 58 } |
| OLD | NEW |