| 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/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//mojo/public/mojo_application.gni") | 7 import("//mojo/public/mojo_application.gni") |
| 8 import("//mojo/public/mojo_application_manifest.gni") | |
| 9 import("//testing/test.gni") | 8 import("//testing/test.gni") |
| 10 import("//tools/grit/repack.gni") | 9 import("//tools/grit/repack.gni") |
| 11 | 10 |
| 12 component("mus") { | 11 component("mus") { |
| 13 output_name = "ui_views_mus_lib" | 12 output_name = "ui_views_mus_lib" |
| 14 | 13 |
| 15 sources = [ | 14 sources = [ |
| 16 "aura_init.cc", | 15 "aura_init.cc", |
| 17 "aura_init.h", | 16 "aura_init.h", |
| 18 "display_converter.cc", | 17 "display_converter.cc", |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 "//ui/resources:ui_test_pak", | 188 "//ui/resources:ui_test_pak", |
| 190 "//ui/strings", | 189 "//ui/strings", |
| 191 "//ui/touch_selection", | 190 "//ui/touch_selection", |
| 192 "//ui/views", | 191 "//ui/views", |
| 193 "//ui/views:test_support_internal", | 192 "//ui/views:test_support_internal", |
| 194 "//ui/wm", | 193 "//ui/wm", |
| 195 "//url", | 194 "//url", |
| 196 ] | 195 ] |
| 197 | 196 |
| 198 data_deps = [ | 197 data_deps = [ |
| 199 ":unittests_manifest", | |
| 200 "//mash/wm", | 198 "//mash/wm", |
| 201 ] | 199 ] |
| 202 | 200 |
| 203 # TODO(thakis): This should be a data_deps on //ui/resources:ui_test_pak, but | 201 # TODO(thakis): This should be a data_deps on //ui/resources:ui_test_pak, but |
| 204 # that has no effect. (See similar TODOs elsewhere ui_test.pak is listed) | 202 # that has no effect. (See similar TODOs elsewhere ui_test.pak is listed) |
| 205 data = [ | 203 data = [ |
| 206 "$root_out_dir/ui_test.pak", | 204 "$root_out_dir/ui_test.pak", |
| 207 ] | 205 ] |
| 208 | 206 |
| 209 if (is_win) { | 207 if (is_win) { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 225 "//build/config/linux:xext", | 223 "//build/config/linux:xext", |
| 226 ] | 224 ] |
| 227 deps += [ | 225 deps += [ |
| 228 "//ui/events/devices", | 226 "//ui/events/devices", |
| 229 "//ui/events/platform/x11", | 227 "//ui/events/platform/x11", |
| 230 "//ui/gfx/x", | 228 "//ui/gfx/x", |
| 231 ] | 229 ] |
| 232 } | 230 } |
| 233 } | 231 } |
| 234 | 232 |
| 235 mojo_application_manifest("unittests_manifest") { | |
| 236 type = "exe" | |
| 237 application_name = "views_mus_unittests" | |
| 238 source = "unittests_manifest.json" | |
| 239 } | |
| 240 | |
| 241 group("for_component") { | 233 group("for_component") { |
| 242 public_deps = [ | 234 public_deps = [ |
| 243 ":mus", | 235 ":mus", |
| 244 ] | 236 ] |
| 245 deps = [ | 237 deps = [ |
| 246 "//mojo/gles2", | 238 "//mojo/gles2", |
| 247 ] | 239 ] |
| 248 } | 240 } |
| OLD | NEW |