| 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/browser/browser.gni") | 7 import("//content/browser/browser.gni") |
| 8 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
| 9 | 9 |
| 10 source_set("browser") { | 10 source_set("browser") { |
| 11 # Only the public target should depend on this. All other targets (even | 11 # Only the public target should depend on this. All other targets (even |
| 12 # internal content ones) should depend on the public one. | 12 # internal content ones) should depend on the public one. |
| 13 visibility = [ "//content/public/browser:browser_sources" ] | 13 visibility = [ "//content/public/browser:browser_sources" ] |
| 14 | 14 |
| 15 configs += [ "//build/config:precompiled_headers" ] | 15 configs += [ |
| 16 "//build/config:precompiled_headers", |
| 17 "//content/public/common:mojo_shell_client", |
| 18 ] |
| 16 defines = [] | 19 defines = [] |
| 17 libs = [] | 20 libs = [] |
| 18 ldflags = [] | 21 ldflags = [] |
| 19 | 22 |
| 20 # Shared deps. See also non-iOS deps below. | 23 # Shared deps. See also non-iOS deps below. |
| 21 deps = [ | 24 deps = [ |
| 22 "//base", | 25 "//base", |
| 23 "//base:base_static", | 26 "//base:base_static", |
| 24 "//components/mime_util", | 27 "//components/mime_util", |
| 25 "//components/url_formatter", | 28 "//components/url_formatter", |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 sources -= rebase_path( | 100 sources -= rebase_path( |
| 98 [ | 101 [ |
| 99 "$root_gen_dir/blink/grit/devtools_resources.h", | 102 "$root_gen_dir/blink/grit/devtools_resources.h", |
| 100 "$root_gen_dir/blink/grit/devtools_resources_map.cc", | 103 "$root_gen_dir/blink/grit/devtools_resources_map.cc", |
| 101 "$root_gen_dir/blink/grit/devtools_resources_map.h", | 104 "$root_gen_dir/blink/grit/devtools_resources_map.h", |
| 102 "$root_gen_dir/content/browser/tracing/grit/tracing_resources.h", | 105 "$root_gen_dir/content/browser/tracing/grit/tracing_resources.h", |
| 103 "$root_gen_dir/ui/resources/grit/webui_resources_map.cc", | 106 "$root_gen_dir/ui/resources/grit/webui_resources_map.cc", |
| 104 ], | 107 ], |
| 105 ".") | 108 ".") |
| 106 | 109 |
| 107 defines += [ "MOJO_SHELL_CLIENT" ] | 110 sources += [ |
| 111 "mojo/mojo_shell_client_host.cc", |
| 112 "mojo/mojo_shell_client_host.h", |
| 113 ] |
| 108 | 114 |
| 109 # Non-iOS deps. | 115 # Non-iOS deps. |
| 110 deps += [ | 116 deps += [ |
| 111 "//cc", | 117 "//cc", |
| 112 "//cc/surfaces", | 118 "//cc/surfaces", |
| 113 "//components/scheduler:common", | 119 "//components/scheduler:common", |
| 114 "//content/app/resources", | 120 "//content/app/resources", |
| 115 "//content/app/strings", | 121 "//content/app/strings", |
| 116 "//content/browser/devtools:gen_devtools_protocol_handler", | 122 "//content/browser/devtools:gen_devtools_protocol_handler", |
| 117 "//content/browser/devtools:resources", | 123 "//content/browser/devtools:resources", |
| (...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 531 | 537 |
| 532 if (enable_webvr && is_android) { | 538 if (enable_webvr && is_android) { |
| 533 sources += [ | 539 sources += [ |
| 534 "vr/android/cardboard/cardboard_vr_device.cc", | 540 "vr/android/cardboard/cardboard_vr_device.cc", |
| 535 "vr/android/cardboard/cardboard_vr_device.h", | 541 "vr/android/cardboard/cardboard_vr_device.h", |
| 536 "vr/android/cardboard/cardboard_vr_device_provider.cc", | 542 "vr/android/cardboard/cardboard_vr_device_provider.cc", |
| 537 "vr/android/cardboard/cardboard_vr_device_provider.h", | 543 "vr/android/cardboard/cardboard_vr_device_provider.h", |
| 538 ] | 544 ] |
| 539 } | 545 } |
| 540 } | 546 } |
| OLD | NEW |