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

Side by Side Diff: mojo/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
« no previous file with comments | « gpu/config/BUILD.gn ('k') | mojo/dart/embedder/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/module_args/mojo.gni") 5 import("//build/module_args/mojo.gni")
6 import("//mojo/public/mojo.gni") 6 import("//mojo/public/mojo.gni")
7 7
8 group("mojo") { 8 group("mojo") {
9 # Meta-target, don't link into production code. 9 # Meta-target, don't link into production code.
10 testonly = true 10 testonly = true
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 "//mojo/nacl:mojo_nacl", 44 "//mojo/nacl:mojo_nacl",
45 "//mojo/nacl:mojo_nacl_tests", 45 "//mojo/nacl:mojo_nacl_tests",
46 ] 46 ]
47 } 47 }
48 } 48 }
49 49
50 group("tests") { 50 group("tests") {
51 testonly = true 51 testonly = true
52 deps = [ 52 deps = [
53 "//mojo/common:mojo_common_unittests", 53 "//mojo/common:mojo_common_unittests",
54 "//mojo/converters/surfaces/tests:mojo_surfaces_lib_unittests",
55 "//mojo/edk/system:tests", 54 "//mojo/edk/system:tests",
56 "//mojo/edk/test:public_tests", 55 "//mojo/edk/test:public_tests",
57 "//mojo/dart/embedder/test:dart_unittests", 56 "//mojo/dart/embedder/test:dart_unittests",
58 "//mojo/public/cpp/bindings/tests:versioning_apptests", 57 "//mojo/public/cpp/bindings/tests:versioning_apptests",
59 "//mojo/services/view_manager/public/cpp/tests:mojo_view_manager_lib_unittes ts", 58 "//mojo/services/view_manager/public/cpp/tests:mojo_view_manager_lib_unittes ts",
60 "//mojo/tests:mojo_task_tracker_perftests", 59 "//mojo/tests:mojo_task_tracker_perftests",
61 "//mojo/tools:message_generator", 60 "//mojo/tools:message_generator",
62 "//mojo/gpu:apptests", 61 "//mojo/gpu:apptests",
63 "//mojo/services/files/public/c:apptests", 62 "//mojo/services/files/public/c:apptests",
64 ] 63 ]
65 64
65 if (is_linux || is_android) {
66 deps += [ "//mojo/converters/surfaces/tests:mojo_surfaces_lib_unittests" ]
67 }
68
66 # TODO(jamesr): We only support building V8 snapshot data on a linux host sinc e it 69 # TODO(jamesr): We only support building V8 snapshot data on a linux host sinc e it
67 # needs a 32 bit toolchain and we don't have one configured for mac hosts. 70 # needs a 32 bit toolchain and we don't have one configured for mac hosts.
68 if (host_os == "linux") { 71 if (host_os == "linux") {
69 deps += [ "//mojo/edk/js:tests" ] 72 deps += [ "//mojo/edk/js:tests" ]
70 } 73 }
71 74
72 if (mojo_use_prebuilt_network_service) { 75 if (mojo_use_prebuilt_network_service) {
73 deps += [ "//mojo/public/tools:copy_network_service_apptests" ] 76 deps += [ "//mojo/public/tools:copy_network_service_apptests" ]
74 } 77 }
75 } 78 }
OLDNEW
« no previous file with comments | « gpu/config/BUILD.gn ('k') | mojo/dart/embedder/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698