OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//content/common/common.gni") | 7 import("//content/common/common.gni") |
8 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 8 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
9 | 9 |
10 if (is_chromeos && current_cpu != "arm") { | 10 if (is_chromeos && current_cpu != "arm") { |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 ] | 231 ] |
232 | 232 |
233 deps += [ | 233 deps += [ |
234 "//content/public/android:jni", | 234 "//content/public/android:jni", |
235 "//content/public/android:common_aidl", | 235 "//content/public/android:common_aidl", |
236 ] | 236 ] |
237 | 237 |
238 libs += [ "android" ] | 238 libs += [ "android" ] |
239 } | 239 } |
240 | 240 |
| 241 if (is_debug && !is_component_build) { |
| 242 # Content depends on the PPAPI message logging stuff; if this isn't here, |
| 243 # some unit test binaries won't compile. This only worked in release mode |
| 244 # because logging is disabled there. |
| 245 deps += [ "//ppapi/proxy:ipc_sources" ] |
| 246 } |
| 247 |
241 if (is_ios) { | 248 if (is_ios) { |
242 sources -= [ "user_agent.cc" ] | 249 sources -= [ "user_agent.cc" ] |
243 assert(false, "Need to add lots of conditions here") | 250 assert(false, "Need to add lots of conditions here") |
244 } | 251 } |
245 | 252 |
246 if (use_ozone) { | 253 if (use_ozone) { |
247 deps += [ | 254 deps += [ |
248 "//ui/ozone:ozone", | 255 "//ui/ozone:ozone", |
249 "//ui/ozone:ozone_base", | 256 "//ui/ozone:ozone_base", |
250 "//ui/ozone/gpu", | 257 "//ui/ozone/gpu", |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 "permission_service.mojom", | 477 "permission_service.mojom", |
471 "presentation/presentation_service.mojom", | 478 "presentation/presentation_service.mojom", |
472 "render_frame_setup.mojom", | 479 "render_frame_setup.mojom", |
473 ] | 480 ] |
474 | 481 |
475 deps = [ | 482 deps = [ |
476 "//content/public/common:mojo_bindings", | 483 "//content/public/common:mojo_bindings", |
477 "//third_party/mojo/src/mojo/public/interfaces/application:application", | 484 "//third_party/mojo/src/mojo/public/interfaces/application:application", |
478 ] | 485 ] |
479 } | 486 } |
OLD | NEW |