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 |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 | 163 |
164 if (is_win) { | 164 if (is_win) { |
165 deps += [ "//ui/metro_viewer" ] | 165 deps += [ "//ui/metro_viewer" ] |
166 } | 166 } |
167 | 167 |
168 if (is_win || is_mac || is_chromeos) { | 168 if (is_win || is_mac || is_chromeos) { |
169 # RLZ works on these platforms. | 169 # RLZ works on these platforms. |
170 deps += [ "//rlz:rlz_lib" ] | 170 deps += [ "//rlz:rlz_lib" ] |
171 } | 171 } |
172 | 172 |
173 if (cpu_arch == "x86" || cpu_arch == "x64") { | 173 if (current_cpu == "x86" || current_cpu == "x64") { |
174 # YASM is x86/x64 only. | 174 # YASM is x86/x64 only. |
175 deps += [ "//third_party/yasm($host_toolchain)" ] | 175 deps += [ "//third_party/yasm($host_toolchain)" ] |
176 } | 176 } |
177 | 177 |
178 if (is_android) { | 178 if (is_android) { |
179 deps += [ | 179 deps += [ |
180 "//base/android/linker:chromium_android_linker", | 180 "//base/android/linker:chromium_android_linker", |
181 "//build/android/gyp/test:hello_world", | 181 "//build/android/gyp/test:hello_world", |
182 "//build/android/rezip", | 182 "//build/android/rezip", |
183 "//third_party/openmax_dl/dl", | 183 "//third_party/openmax_dl/dl", |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 "//ui/views", | 295 "//ui/views", |
296 "//ui/views/controls/webview", | 296 "//ui/views/controls/webview", |
297 "//ui/web_dialogs", | 297 "//ui/web_dialogs", |
298 ] | 298 ] |
299 } | 299 } |
300 | 300 |
301 if (is_mac || is_ios) { | 301 if (is_mac || is_ios) { |
302 deps -= [ "//ui/touch_selection" ] | 302 deps -= [ "//ui/touch_selection" ] |
303 } | 303 } |
304 } | 304 } |
OLD | NEW |