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