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

Side by Side Diff: ui/views/mus/BUILD.gn

Issue 1442893002: Move Shell connection to content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@i2
Patch Set: . Created 5 years, 1 month 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 | « mojo/shell/application_manager_apptest_driver.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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("//tools/grit/repack.gni") 5 import("//tools/grit/repack.gni")
6 6
7 component("mus") { 7 component("mus") {
8 output_name = "ui_views_mus_lib"
9
8 sources = [ 10 sources = [
9 "aura_init.cc", 11 "aura_init.cc",
10 "aura_init.h", 12 "aura_init.h",
11 "display_converter.cc", 13 "display_converter.cc",
12 "display_converter.h", 14 "display_converter.h",
13 "input_method_mus.cc", 15 "input_method_mus.cc",
14 "input_method_mus.h", 16 "input_method_mus.h",
15 "mus_export.h", 17 "mus_export.h",
16 "native_widget_mus.cc", 18 "native_widget_mus.cc",
17 "native_widget_mus.h", 19 "native_widget_mus.h",
(...skipping 28 matching lines...) Expand all
46 "//components/resource_provider/public/cpp", 48 "//components/resource_provider/public/cpp",
47 "//components/resource_provider/public/interfaces", 49 "//components/resource_provider/public/interfaces",
48 "//skia", 50 "//skia",
49 "//mojo/application/public/cpp", 51 "//mojo/application/public/cpp",
50 "//mojo/application/public/interfaces", 52 "//mojo/application/public/interfaces",
51 "//mojo/converters/geometry", 53 "//mojo/converters/geometry",
52 "//mojo/converters/ime", 54 "//mojo/converters/ime",
53 "//mojo/converters/input_events", 55 "//mojo/converters/input_events",
54 "//mojo/converters/network", 56 "//mojo/converters/network",
55 "//mojo/converters/surfaces", 57 "//mojo/converters/surfaces",
58 "//mojo/platform_handle:for_component",
59 "//mojo/public/c/system:for_component",
56 "//mojo/public/cpp/bindings", 60 "//mojo/public/cpp/bindings",
57 "//third_party/icu", 61 "//third_party/icu",
58 "//ui/aura", 62 "//ui/aura",
59 "//ui/compositor", 63 "//ui/compositor",
60 "//ui/events", 64 "//ui/events",
61 "//ui/events:events_base", 65 "//ui/events:events_base",
62 "//ui/gfx", 66 "//ui/gfx",
63 "//ui/gfx/geometry", 67 "//ui/gfx/geometry",
64 "//ui/gl", 68 "//ui/gl",
65 "//ui/mojo/ime:interfaces_cpp_sources", 69 "//ui/mojo/ime:interfaces_cpp_sources",
66 "//ui/mojo/init", 70 "//ui/mojo/init",
67 "//ui/native_theme", 71 "//ui/native_theme",
68 "//ui/views", 72 "//ui/views",
69 "//ui/wm", 73 "//ui/wm",
70 ] 74 ]
71 75
72 if (is_component_build) {
73 deps += [
74 "//mojo/gles2",
75 "//mojo/platform_handle:platform_handle_impl",
76 "//third_party/mojo/src/mojo/edk/system",
77 ]
78 }
79
80 data_deps = [ 76 data_deps = [
81 "//components/resource_provider", 77 "//components/resource_provider",
82 ] 78 ]
83 79
84 if (is_linux && !is_android) { 80 if (is_linux && !is_android) {
85 deps += [ "//components/font_service/public/cpp" ] 81 deps += [ "//components/font_service/public/cpp" ]
86 data_deps += [ "//components/font_service" ] 82 data_deps += [ "//components/font_service" ]
87 } 83 }
88 } 84 }
89 85
90 repack("resources") { 86 repack("resources") {
91 sources = [ 87 sources = [
92 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", 88 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak",
93 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", 89 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak",
94 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", 90 "$root_gen_dir/ui/strings/ui_strings_en-US.pak",
95 "$root_gen_dir/ui/views/resources/views_resources_100_percent.pak", 91 "$root_gen_dir/ui/views/resources/views_resources_100_percent.pak",
96 ] 92 ]
97 output = "$root_out_dir/views_mus_resources.pak" 93 output = "$root_out_dir/views_mus_resources.pak"
98 deps = [ 94 deps = [
99 "//ui/strings", 95 "//ui/strings",
100 "//ui/resources", 96 "//ui/resources",
101 "//ui/views/resources", 97 "//ui/views/resources",
102 ] 98 ]
103 } 99 }
100
101 group("for_mojo_application") {
102 public_deps = [
103 ":mus",
104 ]
105 }
106
107 group("for_shared_library") {
108 public_deps = [
109 ":mus",
110 ]
111 if (!is_component_build) {
112 deps = [
113 "//mojo/gles2",
114 ]
115 }
116 }
117
118 group("for_component") {
119 public_deps = [
120 ":mus",
121 ]
122 deps = [
123 "//mojo/gles2",
124 ]
125 }
OLDNEW
« no previous file with comments | « mojo/shell/application_manager_apptest_driver.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698