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

Side by Side Diff: services/device_info/BUILD.gn

Issue 1239353002: Move rules for building Android Mojo services to //mojo/android (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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 | « services/camera_roll/BUILD.gn ('k') | services/location/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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 if (is_android) { 5 if (is_android) {
6 import("//services/android/rules.gni") 6 import("//mojo/android/rules.gni")
7
7 mojo_android_java_application("device_info") { 8 mojo_android_java_application("device_info") {
8 sources = [ 9 sources = [
9 "src/org/chromium/services/device_info/DeviceInfoService.java", 10 "src/org/chromium/services/device_info/DeviceInfoService.java",
10 ] 11 ]
11 12
12 mojo_main = "org.chromium.services.device_info.DeviceInfoService" 13 mojo_main = "org.chromium.services.device_info.DeviceInfoService"
13 14
14 deps = [ 15 deps = [
15 "//mojo/public/interfaces/application:application_java", 16 "//mojo/public/interfaces/application:application_java",
16 "//mojo/public/java:application", 17 "//mojo/public/java:application",
17 "//mojo/services/device_info/public/interfaces:interfaces_java", 18 "//mojo/services/device_info/public/interfaces:interfaces_java",
18 ] 19 ]
19 } 20 }
20 } 21 }
21 22
22 if (is_linux) { 23 if (is_linux) {
23 import("//mojo/public/mojo_application.gni") 24 import("//mojo/public/mojo_application.gni")
25
24 mojo_native_application("device_info") { 26 mojo_native_application("device_info") {
25 sources = [ 27 sources = [
26 "device_info.cc", 28 "device_info.cc",
27 ] 29 ]
28 30
29 deps = [ 31 deps = [
30 "//base", 32 "//base",
31 "//mojo/common", 33 "//mojo/common",
32 "//mojo/public/cpp/application:standalone", 34 "//mojo/public/cpp/application:standalone",
33 "//mojo/public/cpp/bindings", 35 "//mojo/public/cpp/bindings",
34 "//mojo/services/device_info/public/interfaces", 36 "//mojo/services/device_info/public/interfaces",
35 ] 37 ]
36 } 38 }
37 } 39 }
OLDNEW
« no previous file with comments | « services/camera_roll/BUILD.gn ('k') | services/location/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698