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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
95 "//ppapi/examples/scaling", | 94 "//ppapi/examples/scaling", |
96 "//ppapi/examples/scripting", | 95 "//ppapi/examples/scripting", |
97 "//ppapi/examples/stub", | 96 "//ppapi/examples/stub", |
98 "//ppapi/examples/threading", | 97 "//ppapi/examples/threading", |
99 "//ppapi/examples/url_loader", | 98 "//ppapi/examples/url_loader", |
100 "//ppapi/examples/video_capture", | 99 "//ppapi/examples/video_capture", |
101 "//ppapi/examples/video_decode", | 100 "//ppapi/examples/video_decode", |
102 "//ppapi/examples/video_effects", | 101 "//ppapi/examples/video_effects", |
103 "//ppapi/examples/video_encode", | 102 "//ppapi/examples/video_encode", |
104 "//printing:printing_unittests", | 103 "//printing:printing_unittests", |
104 "//remoting:all_r", | |
garykac
2015/04/15 00:44:07
I attempted to use 'all' here (since duplicate nam
Dirk Pranke
2015/04/15 01:08:40
I'm not 100% convinced that we should move the fil
garykac
2015/04/16 02:11:57
Done.
| |
105 "//skia:skia_unittests", | 105 "//skia:skia_unittests", |
106 "//sql:sql_unittests", | 106 "//sql:sql_unittests", |
107 "//sync:sync_unit_tests", | 107 "//sync:sync_unit_tests", |
108 "//third_party/WebKit/public:blink_tests", | 108 "//third_party/WebKit/public:blink_tests", |
109 "//third_party/cacheinvalidation:cacheinvalidation_unittests", | 109 "//third_party/cacheinvalidation:cacheinvalidation_unittests", |
110 "//third_party/codesighs", | 110 "//third_party/codesighs", |
111 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests", | 111 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests", |
112 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests", | 112 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests", |
113 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests", | 113 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests", |
114 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests", | 114 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests", |
(...skipping 14 matching lines...) Expand all Loading... | |
129 "//url:url_unittests", | 129 "//url:url_unittests", |
130 ] | 130 ] |
131 | 131 |
132 deps += root_extra_deps | 132 deps += root_extra_deps |
133 | 133 |
134 # TODO(GYP): Get this working on the mac? | 134 # TODO(GYP): Get this working on the mac? |
135 if (enable_extensions && !is_mac) { | 135 if (enable_extensions && !is_mac) { |
136 deps += [ "//extensions/shell:app_shell_unittests" ] | 136 deps += [ "//extensions/shell:app_shell_unittests" ] |
137 } | 137 } |
138 | 138 |
139 if (enable_remoting_host) { | |
garykac
2015/04/15 00:44:07
Moving these into the remoting GN build files sinc
| |
140 deps += [ | |
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 } | |
152 | |
153 if (!is_win) { | 139 if (!is_win) { |
154 deps += [ "//breakpad:symupload" ] | 140 deps += [ "//breakpad:symupload" ] |
155 } | 141 } |
156 | 142 |
157 if (use_x11) { | 143 if (use_x11) { |
158 deps += [ "//tools/xdisplaycheck" ] | 144 deps += [ "//tools/xdisplaycheck" ] |
159 } | 145 } |
160 | 146 |
161 if (toolkit_views) { | 147 if (toolkit_views) { |
162 deps += [ "//ui/views:views_unittests" ] | 148 deps += [ "//ui/views:views_unittests" ] |
(...skipping 571 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 |