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 if (!is_android) { | 7 if (is_android) { |
8 import("//build/config/android/config.gni") | |
9 import("//build/config/android/rules.gni") | |
10 | |
11 android_library("native_viewport_java") { | |
12 deps = [ | |
13 "//base:base_java", | |
14 ] | |
15 DEPRECATED_java_in_dir = "android/src" | |
jamesr
2014/10/23 23:35:50
can you use the non-DEPRECATED version? i believe
DaveMoore
2014/10/24 02:25:48
Done. I didn't realize there was a new version. It
| |
16 } | |
17 } else { | |
8 shared_library("native_viewport") { | 18 shared_library("native_viewport") { |
9 output_name = "native_viewport_service" | 19 output_name = "native_viewport_service" |
10 | 20 |
11 deps = [ | 21 deps = [ |
12 ":lib", | 22 ":lib", |
13 "//base", | 23 "//base", |
14 "//mojo/application", | 24 "//mojo/application", |
15 "//mojo/public/c/system:for_shared_library", | 25 "//mojo/public/c/system:for_shared_library", |
16 "//mojo/public/cpp/bindings:bindings", | 26 "//mojo/public/cpp/bindings:bindings", |
17 "//mojo/services/public/interfaces/native_viewport", | 27 "//mojo/services/public/interfaces/native_viewport", |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
76 deps += [ | 86 deps += [ |
77 "//ui/events/platform/x11", | 87 "//ui/events/platform/x11", |
78 "//ui/platform_window/x11", | 88 "//ui/platform_window/x11", |
79 ] | 89 ] |
80 } | 90 } |
81 | 91 |
82 if (use_ozone) { | 92 if (use_ozone) { |
83 sources += [ "platform_viewport_ozone.cc" ] | 93 sources += [ "platform_viewport_ozone.cc" ] |
84 } | 94 } |
85 } | 95 } |
OLD | NEW |