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

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: Alphabetize deps 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') | 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("//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 java_files = [
16 "android/src/org/chromium/mojo/PlatformViewportAndroid.java",
17 ]
18 }
19 } else {
8 shared_library("native_viewport") { 20 shared_library("native_viewport") {
9 output_name = "native_viewport_service" 21 output_name = "native_viewport_service"
10 22
11 deps = [ 23 deps = [
12 ":lib", 24 ":lib",
13 "//base", 25 "//base",
14 "//mojo/application", 26 "//mojo/application",
15 "//mojo/public/c/system:for_shared_library", 27 "//mojo/public/c/system:for_shared_library",
16 "//mojo/public/cpp/bindings:bindings", 28 "//mojo/public/cpp/bindings:bindings",
17 "//mojo/services/public/interfaces/native_viewport", 29 "//mojo/services/public/interfaces/native_viewport",
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 deps += [ 88 deps += [
77 "//ui/events/platform/x11", 89 "//ui/events/platform/x11",
78 "//ui/platform_window/x11", 90 "//ui/platform_window/x11",
79 ] 91 ]
80 } 92 }
81 93
82 if (use_ozone) { 94 if (use_ozone) {
83 sources += [ "platform_viewport_ozone.cc" ] 95 sources += [ "platform_viewport_ozone.cc" ]
84 } 96 }
85 } 97 }
OLDNEW
« no previous file with comments | « no previous file | mojo/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698