Chromium Code Reviews| 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("//content/browser/browser.gni") | 5 import("//content/browser/browser.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 | 7 |
| 8 source_set("browser") { | 8 group("browser") { |
|
jamesr
2014/08/12 04:03:08
without this patch various components were dependi
| |
| 9 if (is_component_build) { | |
| 10 deps = [ "//content" ] | |
| 11 } else { | |
| 12 deps = [ ":sources" ] | |
| 13 } | |
| 14 forward_dependent_configs_from = deps | |
| 15 } | |
| 16 | |
| 17 source_set("sources") { | |
| 18 visibility = [ "//content", ":browser" ] | |
| 19 | |
| 9 if (is_ios) { | 20 if (is_ios) { |
| 10 # iOS doesn't get the normal file list and only takes these whitelisted | 21 # iOS doesn't get the normal file list and only takes these whitelisted |
| 11 # files. | 22 # files. |
| 12 sources = [ | 23 sources = [ |
| 13 "browser_main_parts.cc", | 24 "browser_main_parts.cc", |
| 14 "content_browser_client.cc", | 25 "content_browser_client.cc", |
| 15 "favicon_status.cc", | 26 "favicon_status.cc", |
| 16 "navigation_details.cc", | 27 "navigation_details.cc", |
| 17 "notification_registrar.cc", | 28 "notification_registrar.cc", |
| 18 "page_navigator.cc", | 29 "page_navigator.cc", |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 30 configs += [ "//content:content_implementation" ] | 41 configs += [ "//content:content_implementation" ] |
| 31 | 42 |
| 32 deps = [ | 43 deps = [ |
| 33 "//content/browser", | 44 "//content/browser", |
| 34 "//skia", | 45 "//skia", |
| 35 ] | 46 ] |
| 36 | 47 |
| 37 # We expose skia headers in the public API. | 48 # We expose skia headers in the public API. |
| 38 forward_dependent_configs_from = [ "//skia" ] | 49 forward_dependent_configs_from = [ "//skia" ] |
| 39 } | 50 } |
| OLD | NEW |