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