| 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 group("browser") { | 8 group("browser") { |
| 9 if (is_component_build) { | 9 if (is_component_build) { |
| 10 deps = [ "//content" ] | 10 deps = [ "//content" ] |
| 11 } else { | 11 } else { |
| 12 deps = [ ":sources" ] | 12 deps = [ ":sources" ] |
| 13 } | 13 } |
| 14 forward_dependent_configs_from = deps | 14 forward_dependent_configs_from = deps |
| 15 } | 15 } |
| 16 | 16 |
| 17 source_set("sources") { | 17 source_set("sources") { |
| 18 visibility = [ "//content", ":browser" ] | |
| 19 | |
| 20 if (is_ios) { | 18 if (is_ios) { |
| 21 # iOS doesn't get the normal file list and only takes these whitelisted | 19 # iOS doesn't get the normal file list and only takes these whitelisted |
| 22 # files. | 20 # files. |
| 23 sources = [ | 21 sources = [ |
| 24 "browser_main_parts.cc", | 22 "browser_main_parts.cc", |
| 25 "content_browser_client.cc", | 23 "content_browser_client.cc", |
| 26 "favicon_status.cc", | 24 "favicon_status.cc", |
| 27 "navigation_details.cc", | 25 "navigation_details.cc", |
| 28 "notification_registrar.cc", | 26 "notification_registrar.cc", |
| 29 "page_navigator.cc", | 27 "page_navigator.cc", |
| (...skipping 11 matching lines...) Expand all Loading... |
| 41 configs += [ "//content:content_implementation" ] | 39 configs += [ "//content:content_implementation" ] |
| 42 | 40 |
| 43 deps = [ | 41 deps = [ |
| 44 "//content/browser", | 42 "//content/browser", |
| 45 "//skia", | 43 "//skia", |
| 46 ] | 44 ] |
| 47 | 45 |
| 48 # We expose skia headers in the public API. | 46 # We expose skia headers in the public API. |
| 49 forward_dependent_configs_from = [ "//skia" ] | 47 forward_dependent_configs_from = [ "//skia" ] |
| 50 } | 48 } |
| OLD | NEW |