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

Side by Side Diff: services/ui/demo/BUILD.gn

Issue 2622103004: Mus Demo: Demonstrate external window mode (Closed)
Patch Set: Only disable the assert in external mode for now. Created 3 years, 10 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 | services/ui/demo/main.cc » ('j') | services/ui/demo/main.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « no previous file | services/ui/demo/main.cc » ('j') | services/ui/demo/main.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698