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

Side by Side Diff: mojo/services/native_viewport/BUILD.gn

Issue 674013002: Add gn support for generating mojo_shell_apk (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Remove ui changes for diffing Created 6 years, 2 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 | mojo/shell/BUILD.gn » ('j') | mojo/shell/BUILD.gn » ('J')
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("//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
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 }
OLDNEW
« no previous file with comments | « no previous file | mojo/shell/BUILD.gn » ('j') | mojo/shell/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698