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

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

Issue 559543003: Add chrome test support target to GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl try Created 6 years, 3 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
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 deps = [ "//content" ] 11 deps = [ "//content" ]
12 } else { 12 } else {
13 deps = [ ":browser_sources" ] 13 deps = [ ":browser_sources" ]
14 } 14 }
15 forward_dependent_configs_from = deps 15 forward_dependent_configs_from = deps
16 } 16 }
17 17
18 source_set("browser_sources") { 18 source_set("browser_sources") {
19 visibility = [ "//content/*" ]
20
21 if (is_ios) { 19 if (is_ios) {
22 # iOS doesn't get the normal file list and only takes these whitelisted 20 # iOS doesn't get the normal file list and only takes these whitelisted
23 # files. 21 # files.
24 sources = [ 22 sources = [
25 "browser_main_parts.cc", 23 "browser_main_parts.cc",
26 "content_browser_client.cc", 24 "content_browser_client.cc",
27 "favicon_status.cc", 25 "favicon_status.cc",
28 "navigation_details.cc", 26 "navigation_details.cc",
29 "notification_registrar.cc", 27 "notification_registrar.cc",
30 "page_navigator.cc", 28 "page_navigator.cc",
(...skipping 23 matching lines...) Expand all
54 allow_circular_includes_from = [ 52 allow_circular_includes_from = [
55 # This target is a pair with content/browser. They always go together and 53 # This target is a pair with content/browser. They always go together and
56 # include headers from each other. 54 # include headers from each other.
57 # TODO(brettw) enable this when this permits non-dependent targets. 55 # TODO(brettw) enable this when this permits non-dependent targets.
58 #"//content/browser", 56 #"//content/browser",
59 ] 57 ]
60 58
61 # We expose skia headers in the public API. 59 # We expose skia headers in the public API.
62 forward_dependent_configs_from = [ "//skia" ] 60 forward_dependent_configs_from = [ "//skia" ]
63 } 61 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698