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

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

Issue 1817903002: Make more of content pass "gn check" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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) {
(...skipping 21 matching lines...) Expand all
32 "notification_registrar.cc", 32 "notification_registrar.cc",
33 "page_navigator.cc", 33 "page_navigator.cc",
34 "web_ui_controller.cc", 34 "web_ui_controller.cc",
35 ] 35 ]
36 } else { 36 } else {
37 sources = rebase_path(content_browser_gypi_values.public_browser_sources, 37 sources = rebase_path(content_browser_gypi_values.public_browser_sources,
38 ".", 38 ".",
39 "//content") 39 "//content")
40 } 40 }
41 41
42 if (use_aura) {
43 sources -= [ "context_factory.h" ]
44 }
45
46 configs += [ 42 configs += [
47 "//build/config:precompiled_headers", 43 "//build/config:precompiled_headers",
48 "//content:content_implementation", 44 "//content:content_implementation",
49 ] 45 ]
50 46
51 public_deps = [ 47 public_deps = [
52 "//content/public/common:mojo_bindings", 48 "//content/public/common:mojo_bindings",
53 "//mojo/public/cpp/bindings", 49 "//mojo/public/cpp/bindings",
54 "//mojo/public/cpp/system", 50 "//mojo/public/cpp/system",
55 51
56 # We expose skia headers in the public API. 52 # We expose skia headers in the public API.
57 "//skia", 53 "//skia",
58 ] 54 ]
59 deps = [ 55 deps = [
60 "//content/browser", 56 "//content/browser",
61 "//content/public/common:common_sources", 57 "//content/public/common:common_sources",
58 "//gpu",
59 "//media",
62 "//net", 60 "//net",
61 "//ppapi/c",
62 "//storage/browser",
63 "//ui/accessibility", 63 "//ui/accessibility",
64 "//ui/base", 64 "//ui/base",
65 "//ui/events", 65 "//ui/events",
66 "//ui/gl",
67 "//ui/surface",
66 ] 68 ]
67 69
68 allow_circular_includes_from = [ 70 allow_circular_includes_from = [
69 # This target is a pair with content/browser. They always go together and 71 # This target is a pair with content/browser. They always go together and
70 # include headers from each other. 72 # include headers from each other.
71 "//content/browser", 73 "//content/browser",
72 ] 74 ]
75
76 if (use_aura) {
77 sources -= [ "context_factory.h" ]
78 deps += [ "//ui/aura" ]
79 }
73 } 80 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698