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

Side by Side Diff: services/BUILD.gn

Issue 1327033004: Allow building mojo_shell and non-graphical apps/services on a Mac (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: review feedback Created 5 years, 3 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
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 group("services") { 5 group("services") {
6 testonly = true 6 testonly = true
7 7
8 deps = [ 8 deps = [
9 ":tests", 9 ":tests",
10 "//services/asset_bundle", 10 "//services/asset_bundle",
11 "//services/authenticating_url_loader_interceptor", 11 "//services/authenticating_url_loader_interceptor",
12 "//services/authentication", 12 "//services/authentication",
13 "//services/clipboard", 13 "//services/clipboard",
14 "//services/dart", 14 "//services/dart",
15 "//services/debugger", 15 "//services/debugger",
16 "//services/device_info",
17 "//services/fake_surfaces", 16 "//services/fake_surfaces",
18 "//services/files",
19 "//services/gles2:lib", 17 "//services/gles2:lib",
20 "//services/http_server", 18 "//services/http_server",
21 "//services/icu_data", 19 "//services/icu_data",
22 "//services/keyboard_native", 20 "//services/keyboard_native",
23 "//services/kiosk_wm",
24 "//services/native_viewport",
25 "//services/prediction", 21 "//services/prediction",
26 "//services/reaper", 22 "//services/reaper",
27 "//services/surfaces",
28 "//services/test_service:bindings", 23 "//services/test_service:bindings",
29 "//services/tracing", 24 "//services/tracing",
30 "//services/url_response_disk_cache",
31 "//services/view_manager",
32 "//services/window_manager",
33 ] 25 ]
34 26
35 if (is_android) { 27 if (is_android) {
36 deps += [ 28 deps += [
37 "//services/android:java_handler", 29 "//services/android:java_handler",
38 "//services/camera_roll", 30 "//services/camera_roll",
39 "//services/location", 31 "//services/location",
40 "//services/notifications", 32 "//services/notifications",
41 "//services/sensors", 33 "//services/sensors",
42 "//services/speech_recognizer", 34 "//services/speech_recognizer",
43 "//services/sharing:android_sharing", 35 "//services/sharing:android_sharing",
44 ] 36 ]
45 if (defined(go_build_tool) && go_build_tool != "") { 37 if (defined(go_build_tool) && go_build_tool != "") {
46 deps += [ "//services/vanadium/security:principal_service" ] 38 deps += [ "//services/vanadium/security:principal_service" ]
47 } 39 }
48 } 40 }
49 41
50 if (is_linux) { 42 if (is_linux) {
51 deps += [ "//services/python" ] 43 deps += [ "//services/python" ]
52 } 44 }
53 45
46 if (is_android || is_linux) {
47 deps += [
48 "//services/device_info",
49 "//services/files",
50 "//services/kiosk_wm",
51 "//services/native_viewport",
52 "//services/surfaces",
53 "//services/url_response_disk_cache",
54 "//services/view_manager",
55 "//services/window_manager",
56 ]
57 }
58
54 # TODO(jamesr): We only support building V8 snapshot data on a linux host 59 # TODO(jamesr): We only support building V8 snapshot data on a linux host
55 # since it needs a 32 bit toolchain and we don't have one configured for mac 60 # since it needs a 32 bit toolchain and we don't have one configured for mac
56 # hosts. 61 # hosts.
57 if (host_os == "linux") { 62 if (host_os == "linux") {
58 deps += [ "//services/js" ] 63 deps += [ "//services/js" ]
59 } 64 }
60 } 65 }
61 66
62 group("tests") { 67 group("tests") {
63 testonly = true 68 testonly = true
64 69
65 deps = [ 70 deps = [
66 "//services/asset_bundle:apptests", 71 "//services/asset_bundle:apptests",
67 "//services/authenticating_url_loader_interceptor:apptests", 72 "//services/authenticating_url_loader_interceptor:apptests",
68 "//services/clipboard:apptests", 73 "//services/clipboard:apptests",
69 "//services/dart/dart_apptests", 74 "//services/dart/dart_apptests",
70 "//services/files:apptests",
71 "//services/http_server:apptests", 75 "//services/http_server:apptests",
72 "//services/prediction:apptests", 76 "//services/prediction:apptests",
73 "//services/reaper:tests", 77 "//services/reaper:tests",
74 "//services/url_response_disk_cache:tests",
75 "//services/view_manager:mojo_view_manager_client_apptests",
76 "//services/view_manager:view_manager_service_apptests",
77 "//services/view_manager:view_manager_service_unittests",
78 "//services/window_manager:window_manager_apptests",
79 "//services/window_manager:window_manager_unittests",
80 ] 78 ]
81 79
82 if (is_linux) { 80 if (is_linux) {
83 deps += [ "//services/python:python_apptests" ] 81 deps += [ "//services/python:python_apptests" ]
84 } 82 }
85 83
86 if (is_android) { 84 if (is_android) {
87 deps += [ "//services/notifications:apptests" ] 85 deps += [ "//services/notifications:apptests" ]
88 } 86 }
89 87
88 if (is_linux || is_android) {
89 deps += [
90 "//services/window_manager:window_manager_apptests",
91 "//services/window_manager:window_manager_unittests",
92 ]
93 }
94
90 # TODO(jamesr): We only support building V8 snapshot data on a linux host sinc e it 95 # TODO(jamesr): We only support building V8 snapshot data on a linux host sinc e it
91 # needs a 32 bit toolchain and we don't have one configured for mac hosts. 96 # needs a 32 bit toolchain and we don't have one configured for mac hosts.
92 if (host_os == "linux") { 97 if (host_os == "linux") {
93 deps += [ 98 deps += [
94 "//services/js:js_apptests", 99 "//services/js:js_apptests",
95 "//services/js:js_services_unittests", 100 "//services/js:js_services_unittests",
96 ] 101 ]
97 } 102 }
103
104 if (is_android || is_linux) {
105 deps += [
106 "//services/files:apptests",
107 "//services/url_response_disk_cache:tests",
108 "//services/view_manager:mojo_view_manager_client_apptests",
109 "//services/view_manager:view_manager_service_apptests",
110 "//services/view_manager:view_manager_service_unittests",
111 ]
112 }
98 } 113 }
OLDNEW
« no previous file with comments | « mojo/dart/embedder/io/internet_address_posix.cc ('k') | services/dart/content_handler_app_service_connector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698