OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 # This is the root build file for GN. GN will start processing by loading this | 5 # This is the root build file for GN. GN will start processing by loading this |
6 # file, and recursively load all dependencies until all dependencies are either | 6 # file, and recursively load all dependencies until all dependencies are either |
7 # resolved or known not to exist (which will cause the build to fail). So if | 7 # resolved or known not to exist (which will cause the build to fail). So if |
8 # you add a new build file, there must be some path of dependencies from this | 8 # you add a new build file, there must be some path of dependencies from this |
9 # file to your new one or GN won't know about it. | 9 # file to your new one or GN won't know about it. |
10 | 10 |
11 import("//build/config/features.gni") | 11 import("//build/config/features.gni") |
12 import("//build/config/ui.gni") | 12 import("//build/config/ui.gni") |
13 import("//remoting/remoting_host.gni") | |
14 | 13 |
15 if (is_android) { | 14 if (is_android) { |
16 import("//build/config/android/config.gni") | 15 import("//build/config/android/config.gni") |
17 } | 16 } |
18 | 17 |
19 declare_args() { | 18 declare_args() { |
20 # A list of extra dependencies to add to the root target. This allows a | 19 # A list of extra dependencies to add to the root target. This allows a |
21 # checkout to add additional targets without explicitly changing any checked- | 20 # checkout to add additional targets without explicitly changing any checked- |
22 # in files. | 21 # in files. |
23 root_extra_deps = [] | 22 root_extra_deps = [] |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 "//url:url_unittests", | 128 "//url:url_unittests", |
130 ] | 129 ] |
131 | 130 |
132 deps += root_extra_deps | 131 deps += root_extra_deps |
133 | 132 |
134 # TODO(GYP): Get this working on the mac? | 133 # TODO(GYP): Get this working on the mac? |
135 if (enable_extensions && !is_mac) { | 134 if (enable_extensions && !is_mac) { |
136 deps += [ "//extensions/shell:app_shell_unittests" ] | 135 deps += [ "//extensions/shell:app_shell_unittests" ] |
137 } | 136 } |
138 | 137 |
139 if (enable_remoting_host) { | 138 if (enable_remoting) { |
140 deps += [ | 139 deps += [ "//remoting:remoting_all" ] |
141 "//remoting:remoting_unittests", | |
142 "//remoting:remoting_perftests", | |
143 "//remoting/host", | |
144 "//remoting/host:remoting_start_host", | |
145 "//remoting/host/it2me:remote_assistance_host", | |
146 ] | |
147 } | |
148 | |
149 if (enable_me2me_host) { | |
150 deps += [ "//remoting/host:remoting_me2me_host" ] | |
151 } | 140 } |
152 | 141 |
153 if (!is_win) { | 142 if (!is_win) { |
154 deps += [ "//breakpad:symupload" ] | 143 deps += [ "//breakpad:symupload" ] |
155 } | 144 } |
156 | 145 |
157 if (use_x11) { | 146 if (use_x11) { |
158 deps += [ "//tools/xdisplaycheck" ] | 147 deps += [ "//tools/xdisplaycheck" ] |
159 } | 148 } |
160 | 149 |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 "//breakpad:minidump_dump", | 393 "//breakpad:minidump_dump", |
405 "//breakpad:minidump_stackwalk", | 394 "//breakpad:minidump_stackwalk", |
406 ] | 395 ] |
407 } | 396 } |
408 | 397 |
409 if (enable_extensions) { | 398 if (enable_extensions) { |
410 deps += [ "//extensions/shell:app_shell" ] | 399 deps += [ "//extensions/shell:app_shell" ] |
411 } | 400 } |
412 | 401 |
413 if (enable_nacl) { | 402 if (enable_nacl) { |
414 deps += [ | 403 deps += [ "//components/nacl:nacl_loader_unittests" ] |
415 "//components/nacl:nacl_loader_unittests", | |
416 "//remoting:remoting_key_tester", | |
417 ] | |
418 } | 404 } |
419 | 405 |
420 if (!is_debug && !is_component_build) { | 406 if (!is_debug && !is_component_build) { |
421 deps += [ "//chrome/tools/service_discovery_sniffer" ] | 407 deps += [ "//chrome/tools/service_discovery_sniffer" ] |
422 } | 408 } |
423 | 409 |
424 if (toolkit_views) { | 410 if (toolkit_views) { |
425 deps += [ "//ui/app_list:app_list_demo" ] | 411 deps += [ "//ui/app_list:app_list_demo" ] |
426 } | 412 } |
427 | 413 |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
734 | 720 |
735 # Note: | 721 # Note: |
736 # (*) Fails but failures match GYP build at time of testing. | 722 # (*) Fails but failures match GYP build at time of testing. |
737 ] | 723 ] |
738 | 724 |
739 if (enable_nacl) { | 725 if (enable_nacl) { |
740 deps += [ "//components/nacl:nacl_loader_unittests" ] # PASSES 3/28/2015 | 726 deps += [ "//components/nacl:nacl_loader_unittests" ] # PASSES 3/28/2015 |
741 } | 727 } |
742 } | 728 } |
743 } | 729 } |
OLD | NEW |