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/crypto.gni") | 11 import("//build/config/crypto.gni") |
12 import("//build/config/features.gni") | 12 import("//build/config/features.gni") |
13 import("//build/config/ui.gni") | 13 import("//build/config/ui.gni") |
14 import("//build/module_args/v8.gni") | 14 import("//build/module_args/v8.gni") |
| 15 import("//remoting/remoting_host.gni") |
15 | 16 |
16 if (is_android) { | 17 if (is_android) { |
17 import("//build/config/android/config.gni") | 18 import("//build/config/android/config.gni") |
18 } | 19 } |
19 | 20 |
20 declare_args() { | 21 declare_args() { |
21 # A list of extra dependencies to add to the root target. This allows a | 22 # A list of extra dependencies to add to the root target. This allows a |
22 # checkout to add additional targets without explicitly changing any checked- | 23 # checkout to add additional targets without explicitly changing any checked- |
23 # in files. | 24 # in files. |
24 root_extra_deps = [] | 25 root_extra_deps = [] |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 "//url:url_unittests", | 132 "//url:url_unittests", |
132 ] | 133 ] |
133 | 134 |
134 deps += root_extra_deps | 135 deps += root_extra_deps |
135 | 136 |
136 if (enable_extensions && !is_mac) { | 137 if (enable_extensions && !is_mac) { |
137 # TODO(GYP): Get this working on the mac? | 138 # TODO(GYP): Get this working on the mac? |
138 deps += [ "//extensions/shell:app_shell_unittests" ] | 139 deps += [ "//extensions/shell:app_shell_unittests" ] |
139 } | 140 } |
140 | 141 |
| 142 if (enable_me2me_host) { |
| 143 deps += [ "//remoting/host:remoting_me2me_host" ] |
| 144 } |
| 145 |
141 if (enable_media_router) { | 146 if (enable_media_router) { |
142 deps += [ | 147 deps += [ |
143 "//chrome/browser/media/router/", | 148 "//chrome/browser/media/router/", |
144 "//chrome/browser/media/router:unit_tests", | 149 "//chrome/browser/media/router:unit_tests", |
145 ] | 150 ] |
146 } | 151 } |
147 | 152 |
148 if (enable_remoting) { | 153 if (enable_remoting_host) { |
149 deps += [ "//remoting:remoting_all" ] | 154 deps += [ |
| 155 "//remoting:remoting_unittests", |
| 156 "//remoting:remoting_perftests", |
| 157 "//remoting/host", |
| 158 "//remoting/host:remoting_start_host", |
| 159 "//remoting/host/it2me:remote_assistance_host", |
| 160 ] |
150 } | 161 } |
151 | 162 |
152 if (toolkit_views) { | 163 if (toolkit_views) { |
153 deps += [ "//ui/views:views_unittests" ] | 164 deps += [ "//ui/views:views_unittests" ] |
154 } | 165 } |
155 | 166 |
156 if (use_aura) { | 167 if (use_aura) { |
157 deps += [ "//ui/wm:wm_unittests" ] | 168 deps += [ "//ui/wm:wm_unittests" ] |
158 } | 169 } |
159 | 170 |
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
770 | 781 |
771 # Note: | 782 # Note: |
772 # (*) Fails but failures match GYP build at time of testing. | 783 # (*) Fails but failures match GYP build at time of testing. |
773 ] | 784 ] |
774 | 785 |
775 if (enable_nacl) { | 786 if (enable_nacl) { |
776 deps += [ "//components/nacl:nacl_loader_unittests" ] # PASSES 3/28/2015 | 787 deps += [ "//components/nacl:nacl_loader_unittests" ] # PASSES 3/28/2015 |
777 } | 788 } |
778 } | 789 } |
779 } | 790 } |
OLD | NEW |