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

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

Issue 713513002: Change mojo application name to {name}.mojo (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
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 import("//mojo/public/mojo_application.gni")
6 7
7 if (is_android) { 8 if (is_android) {
8 import("//build/config/android/config.gni") 9 import("//build/config/android/config.gni")
9 import("//build/config/android/rules.gni") 10 import("//build/config/android/rules.gni")
10 11
11 android_library("native_viewport_java") { 12 android_library("native_viewport_java") {
12 java_files = [ 13 java_files = [
13 "android/src/org/chromium/mojo/PlatformViewportAndroid.java", 14 "android/src/org/chromium/mojo/PlatformViewportAndroid.java",
14 ] 15 ]
15 16
16 deps = [ 17 deps = [
17 "//base:base_java", 18 "//base:base_java",
18 ] 19 ]
19 } 20 }
20 } else { 21 } else {
21 shared_library("native_viewport") { 22 mojo_binary_application("native_viewport") {
22 output_name = "native_viewport_service" 23 output_name = "native_viewport_service"
23 sources = [ "main.cc" ] 24 sources = [ "main.cc" ]
24 deps = [ 25 deps = [
25 ":lib", 26 ":lib",
26 "//base", 27 "//base",
27 "//mojo/application", 28 "//mojo/application",
28 "//mojo/public/c/system:for_shared_library", 29 "//mojo/public/c/system:for_shared_library",
29 "//mojo/public/cpp/bindings:bindings", 30 "//mojo/public/cpp/bindings:bindings",
30 "//mojo/services/public/interfaces/native_viewport", 31 "//mojo/services/public/interfaces/native_viewport",
31 "//mojo/services/public/cpp/native_viewport:args", 32 "//mojo/services/public/cpp/native_viewport:args",
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 } else { 99 } else {
99 sources -= [ "platform_viewport_x11.cc" ] 100 sources -= [ "platform_viewport_x11.cc" ]
100 } 101 }
101 102
102 if (is_win) { 103 if (is_win) {
103 deps += [ 104 deps += [
104 "//ui/platform_window/win", 105 "//ui/platform_window/win",
105 ] 106 ]
106 } 107 }
107 } 108 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698