| 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/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 import("//content/content.gni") |
| 6 import("//media/media_options.gni") | 7 import("//media/media_options.gni") |
| 7 | 8 |
| 8 # See //content/BUILD.gn for how this works. | 9 # See //content/BUILD.gn for how this works. |
| 9 group("browser") { | 10 group("browser") { |
| 10 if (is_component_build) { | 11 if (is_component_build) { |
| 11 public_deps = [ | 12 public_deps = [ |
| 12 "//content", | 13 "//content", |
| 13 ] | 14 ] |
| 14 } else { | 15 } else { |
| 15 public_deps = [ | 16 public_deps = [ |
| 16 ":browser_sources", | 17 ":browser_sources", |
| 17 ] | 18 ] |
| 18 } | 19 } |
| 19 } | 20 } |
| 20 | 21 |
| 21 source_set("browser_sources") { | 22 content_source_set("browser_sources") { |
| 22 # External code should depend on via ":browser" above. | 23 # External code should depend on via ":browser" above. |
| 23 visibility = [ "//content/*" ] | 24 visibility = [ "//content/*" ] |
| 24 | |
| 25 sources = [ | 25 sources = [ |
| 26 "android/android_overlay_provider.h", | 26 "android/android_overlay_provider.h", |
| 27 "android/browser_media_player_manager_register.cc", | 27 "android/browser_media_player_manager_register.cc", |
| 28 "android/browser_media_player_manager_register.h", | 28 "android/browser_media_player_manager_register.h", |
| 29 "android/child_process_importance.h", | 29 "android/child_process_importance.h", |
| 30 "android/compositor.h", | 30 "android/compositor.h", |
| 31 "android/compositor_client.h", | 31 "android/compositor_client.h", |
| 32 "android/content_protocol_handler.h", | 32 "android/content_protocol_handler.h", |
| 33 "android/content_view_layer_renderer.h", | 33 "android/content_view_layer_renderer.h", |
| 34 "android/devtools_auth.h", | 34 "android/devtools_auth.h", |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 371 } | 371 } |
| 372 | 372 |
| 373 if (enable_webrtc) { | 373 if (enable_webrtc) { |
| 374 sources += [ | 374 sources += [ |
| 375 "desktop_capture.cc", | 375 "desktop_capture.cc", |
| 376 "desktop_capture.h", | 376 "desktop_capture.h", |
| 377 ] | 377 ] |
| 378 deps += [ "//third_party/webrtc/modules/desktop_capture" ] | 378 deps += [ "//third_party/webrtc/modules/desktop_capture" ] |
| 379 } | 379 } |
| 380 } | 380 } |
| OLD | NEW |