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/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 component("native_viewport") { | 7 component("native_viewport") { |
8 output_name = "mojo_native_viewport" | 8 output_name = "mojo_native_viewport" |
9 | 9 |
10 deps = [ | 10 deps = [ |
11 "//base", | 11 "//base", |
12 "//ui/events", | 12 "//ui/events", |
13 "//ui/gfx", | 13 "//ui/gfx", |
14 "//ui/gfx/geometry", | 14 "//ui/gfx/geometry", |
15 "//mojo/public/cpp/application", | 15 "//mojo/public/cpp/application:chromium", |
16 "//mojo/common", | 16 "//mojo/common", |
17 "//mojo/environment:chromium", | 17 "//mojo/environment:chromium", |
18 "//mojo/services/public/cpp/geometry", | 18 "//mojo/services/public/cpp/geometry", |
19 "//mojo/services/public/interfaces/geometry", | 19 "//mojo/services/public/interfaces/geometry", |
20 "//mojo/services/gles2", | 20 "//mojo/services/gles2", |
21 "//mojo/services/public/cpp/input_events", | 21 "//mojo/services/public/cpp/input_events", |
22 "//mojo/services/public/interfaces/native_viewport", | 22 "//mojo/services/public/interfaces/native_viewport", |
23 ] | 23 ] |
24 | 24 |
25 defines = [ "MOJO_NATIVE_VIEWPORT_IMPLEMENTATION" ] | 25 defines = [ "MOJO_NATIVE_VIEWPORT_IMPLEMENTATION" ] |
(...skipping 28 matching lines...) Expand all Loading... |
54 } | 54 } |
55 | 55 |
56 if (use_ozone) { | 56 if (use_ozone) { |
57 sources += [ "native_viewport_ozone.cc" ] | 57 sources += [ "native_viewport_ozone.cc" ] |
58 } | 58 } |
59 | 59 |
60 if (is_component_build) { | 60 if (is_component_build) { |
61 deps += [ "//mojo/system" ] | 61 deps += [ "//mojo/system" ] |
62 } | 62 } |
63 } | 63 } |
OLD | NEW |