Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: content/public/browser/BUILD.gn

Issue 1824653002: Remove iOS conditions in content/ build files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/content_tests.gypi ('k') | content/test/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 # See //content/BUILD.gn for how this works. 8 # See //content/BUILD.gn for how this works.
9 group("browser") { 9 group("browser") {
10 if (is_component_build) { 10 if (is_component_build) {
11 public_deps = [ 11 public_deps = [
12 "//content", 12 "//content",
13 ] 13 ]
14 } else { 14 } else {
15 public_deps = [ 15 public_deps = [
16 ":browser_sources", 16 ":browser_sources",
17 ] 17 ]
18 } 18 }
19 } 19 }
20 20
21 source_set("browser_sources") { 21 source_set("browser_sources") {
22 visibility = [ "//content/*" ] 22 visibility = [ "//content/*" ]
23 23
24 if (is_ios) { 24 sources = rebase_path(content_browser_gypi_values.public_browser_sources,
25 # iOS doesn't get the normal file list and only takes these whitelisted 25 ".",
26 # files. 26 "//content")
27 sources = [
28 "browser_main_parts.cc",
29 "content_browser_client.cc",
30 "favicon_status.cc",
31 "navigation_details.cc",
32 "notification_registrar.cc",
33 "page_navigator.cc",
34 "web_ui_controller.cc",
35 ]
36 } else {
37 sources = rebase_path(content_browser_gypi_values.public_browser_sources,
38 ".",
39 "//content")
40 }
41 27
42 if (use_aura) { 28 if (use_aura) {
43 sources -= [ "context_factory.h" ] 29 sources -= [ "context_factory.h" ]
44 } 30 }
45 31
46 configs += [ 32 configs += [
47 "//build/config:precompiled_headers", 33 "//build/config:precompiled_headers",
48 "//content:content_implementation", 34 "//content:content_implementation",
49 ] 35 ]
50 36
(...skipping 13 matching lines...) Expand all
64 "//ui/base", 50 "//ui/base",
65 "//ui/events", 51 "//ui/events",
66 ] 52 ]
67 53
68 allow_circular_includes_from = [ 54 allow_circular_includes_from = [
69 # This target is a pair with content/browser. They always go together and 55 # This target is a pair with content/browser. They always go together and
70 # include headers from each other. 56 # include headers from each other.
71 "//content/browser", 57 "//content/browser",
72 ] 58 ]
73 } 59 }
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698