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 | 6 |
7 source_set("browser") { | 7 source_set("browser") { |
8 sources = rebase_path(content_browser_gypi_values.public_browser_sources, | 8 if (is_ios) { |
9 ".", "//content") | 9 # iOS doesn't get the normal file list and only takes these whitelisted |
| 10 # files. |
| 11 sources = [ |
| 12 "browser_main_parts.cc", |
| 13 "content_browser_client.cc", |
| 14 "favicon_status.cc", |
| 15 "navigation_details.cc", |
| 16 "notification_registrar.cc", |
| 17 "page_navigator.cc", |
| 18 "web_ui_controller.cc", |
| 19 ] |
| 20 } else { |
| 21 sources = rebase_path(content_browser_gypi_values.public_browser_sources, |
| 22 ".", "//content") |
| 23 } |
10 | 24 |
11 configs += [ "//content:content_implementation" ] | 25 configs += [ "//content:content_implementation" ] |
12 | 26 |
13 deps = [ | 27 deps = [ |
14 "//content/browser", | 28 "//content/browser", |
15 "//skia", | 29 "//skia", |
16 ] | 30 ] |
17 } | 31 } |
OLD | NEW |