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") |
13 | 14 |
14 if (is_android) { | 15 if (is_android) { |
15 import("//build/config/android/config.gni") | 16 import("//build/config/android/config.gni") |
16 } | 17 } |
17 | 18 |
18 declare_args() { | 19 declare_args() { |
19 # A list of extra dependencies to add to the root target. This allows a | 20 # A list of extra dependencies to add to the root target. This allows a |
20 # checkout to add additional targets without explicitly changing any checked- | 21 # checkout to add additional targets without explicitly changing any checked- |
21 # in files. | 22 # in files. |
22 root_extra_deps = [] | 23 root_extra_deps = [] |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 "//url:url_unittests", | 102 "//url:url_unittests", |
102 ] | 103 ] |
103 | 104 |
104 deps += root_extra_deps | 105 deps += root_extra_deps |
105 | 106 |
106 # TODO(GYP): Get this working on the mac? | 107 # TODO(GYP): Get this working on the mac? |
107 if (enable_extensions && !is_mac) { | 108 if (enable_extensions && !is_mac) { |
108 deps += [ "//extensions/shell:app_shell_unittests" ] | 109 deps += [ "//extensions/shell:app_shell_unittests" ] |
109 } | 110 } |
110 | 111 |
111 if (!is_android) { | 112 if (enable_remoting_host) { |
112 deps += [ "//remoting:remoting_unittests" ] | 113 deps += [ |
| 114 "//remoting:remoting_unittests", |
| 115 "//remoting:remoting_perftests", |
| 116 "//remoting/host", |
| 117 "//remoting/host:remoting_start_host", |
| 118 "//remoting/host/it2me:remote_assistance_host", |
| 119 ] |
| 120 } |
| 121 |
| 122 if (enable_me2me_host) { |
| 123 deps += [ "//remoting/host:remoting_me2me_host" ] |
113 } | 124 } |
114 | 125 |
115 if (!is_win) { | 126 if (!is_win) { |
116 deps += [ "//breakpad:symupload" ] | 127 deps += [ "//breakpad:symupload" ] |
117 } | 128 } |
118 | 129 |
119 if (use_x11) { | 130 if (use_x11) { |
120 deps += [ "//tools/xdisplaycheck" ] | 131 deps += [ "//tools/xdisplaycheck" ] |
121 } | 132 } |
122 | 133 |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 "//breakpad:minidump_dump", | 350 "//breakpad:minidump_dump", |
340 "//breakpad:minidump_stackwalk", | 351 "//breakpad:minidump_stackwalk", |
341 ] | 352 ] |
342 } | 353 } |
343 | 354 |
344 if (enable_extensions) { | 355 if (enable_extensions) { |
345 deps += [ "//extensions/shell:app_shell" ] | 356 deps += [ "//extensions/shell:app_shell" ] |
346 } | 357 } |
347 | 358 |
348 if (enable_nacl) { | 359 if (enable_nacl) { |
349 deps += [ "//components/nacl:nacl_loader_unittests" ] | 360 deps += [ |
| 361 "//components/nacl:nacl_loader_unittests", |
| 362 "//remoting:remoting_key_tester", |
| 363 ] |
350 } | 364 } |
351 | 365 |
352 if (!is_debug && !is_component_build) { | 366 if (!is_debug && !is_component_build) { |
353 deps += [ "//chrome/tools/service_discovery_sniffer" ] | 367 deps += [ "//chrome/tools/service_discovery_sniffer" ] |
354 } | 368 } |
355 | 369 |
356 if (toolkit_views) { | 370 if (toolkit_views) { |
357 deps += [ "//ui/app_list:app_list_demo" ] | 371 deps += [ "//ui/app_list:app_list_demo" ] |
358 } | 372 } |
359 | 373 |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
660 | 674 |
661 # Note: | 675 # Note: |
662 # (*) Fails but failures match GYP build at time of testing. | 676 # (*) Fails but failures match GYP build at time of testing. |
663 ] | 677 ] |
664 | 678 |
665 if (enable_nacl) { | 679 if (enable_nacl) { |
666 deps += [ "//components/nacl:nacl_loader_unittests" ] # PASSES 3/28/2015 | 680 deps += [ "//components/nacl:nacl_loader_unittests" ] # PASSES 3/28/2015 |
667 } | 681 } |
668 } | 682 } |
669 } | 683 } |
OLD | NEW |