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

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

Issue 462983002: GN: Make content_shell and webkit_unit_tests work in component build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
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 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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698