| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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/config/ui.gni") |
| 5 import("//services/catalog/public/tools/catalog.gni") | 6 import("//services/catalog/public/tools/catalog.gni") |
| 6 import("//services/service_manager/public/cpp/service.gni") | 7 import("//services/service_manager/public/cpp/service.gni") |
| 7 import("//services/service_manager/public/service_manifest.gni") | 8 import("//services/service_manager/public/service_manifest.gni") |
| 8 import("//services/service_manager/public/tools/test/service_test.gni") | 9 import("//services/service_manager/public/tools/test/service_test.gni") |
| 9 import("//testing/test.gni") | 10 import("//testing/test.gni") |
| 10 | 11 |
| 11 source_set("lib") { | 12 source_set("lib") { |
| 12 sources = [ | 13 sources = [ |
| 13 "mus_demo.cc", | 14 "mus_demo.cc", |
| 14 "mus_demo.h", | 15 "mus_demo.h", |
| 15 "mus_demo_internal.cc", | |
| 16 "mus_demo_internal.h", | |
| 17 "window_tree_data.cc", | 16 "window_tree_data.cc", |
| 18 "window_tree_data.h", | 17 "window_tree_data.h", |
| 19 ] | 18 ] |
| 20 | 19 |
| 20 if (use_ozone && !is_chromeos) { |
| 21 sources += [ |
| 22 "mus_demo_external.cc", |
| 23 "mus_demo_external.h", |
| 24 ] |
| 25 } else { |
| 26 sources += [ |
| 27 "mus_demo_internal.cc", |
| 28 "mus_demo_internal.h", |
| 29 ] |
| 30 } |
| 31 |
| 21 public_deps = [ | 32 public_deps = [ |
| 22 "//services/service_manager/public/cpp:sources", | 33 "//services/service_manager/public/cpp:sources", |
| 23 "//skia", | 34 "//skia", |
| 24 ] | 35 ] |
| 25 | 36 |
| 26 deps = [ | 37 deps = [ |
| 27 "//base", | 38 "//base", |
| 28 "//mojo/public/cpp/bindings", | 39 "//mojo/public/cpp/bindings", |
| 29 "//services/service_manager/public/cpp", | 40 "//services/service_manager/public/cpp", |
| 30 "//services/ui/public/cpp", | 41 "//services/ui/public/cpp", |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 } | 102 } |
| 92 | 103 |
| 93 catalog("mus_demo_unittests_catalog") { | 104 catalog("mus_demo_unittests_catalog") { |
| 94 embedded_services = [ ":test_manifest" ] | 105 embedded_services = [ ":test_manifest" ] |
| 95 | 106 |
| 96 standalone_services = [ | 107 standalone_services = [ |
| 97 ":manifest", | 108 ":manifest", |
| 98 "//services/ui:manifest", | 109 "//services/ui:manifest", |
| 99 ] | 110 ] |
| 100 } | 111 } |
| OLD | NEW |