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

Side by Side Diff: content/app/BUILD.gn

Issue 1836533002: Revert of Content "gn check" work. (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
« no previous file with comments | « content/BUILD.gn ('k') | content/browser/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("//build/config/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 6
7 content_app_sources = [ 7 content_app_sources = [
8 "android/app_jni_registrar.cc", 8 "android/app_jni_registrar.cc",
9 "android/app_jni_registrar.h", 9 "android/app_jni_registrar.h",
10 "android/child_process_service.cc", 10 "android/child_process_service.cc",
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 ] 60 ]
61 61
62 if (!is_multi_dll_chrome) { 62 if (!is_multi_dll_chrome) {
63 content_app_deps += [ "//content/gpu:gpu_sources" ] 63 content_app_deps += [ "//content/gpu:gpu_sources" ]
64 } 64 }
65 65
66 # This includes the app sources for both the browser and child processes. 66 # This includes the app sources for both the browser and child processes.
67 source_set("both") { 67 source_set("both") {
68 # Only the public target should depend on this. All other targets (even 68 # Only the public target should depend on this. All other targets (even
69 # internal content ones) should depend on the public one. 69 # internal content ones) should depend on the public one.
70 visibility = [ 70 visibility = [ "//content/public/app:*" ]
71 ":*",
72 "//content/public/app:*",
73 ]
74 71
75 sources = content_app_sources 72 sources = content_app_sources
76 configs += content_app_extra_configs 73 configs += content_app_extra_configs
77 deps = content_app_deps 74 deps = content_app_deps
78 } 75 }
79 76
80 # See comment at the top of //content/BUILD.gn for how this works.
81 group("both_for_content_tests") {
82 visibility = [ "//content/test/*" ]
83 if (!is_component_build) {
84 public_deps = [
85 ":both",
86 ]
87 }
88 }
89
90 if (is_multi_dll_chrome) { 77 if (is_multi_dll_chrome) {
91 # It doesn't make sense to do the browser/child dll split in component mode. 78 # It doesn't make sense to do the browser/child dll split in component mode.
92 assert(!is_component_build) 79 assert(!is_component_build)
93 80
94 source_set("browser") { 81 source_set("browser") {
95 visibility = [ "//content/public/app:browser" ] 82 visibility = [ "//content/public/app:browser" ]
96 83
97 sources = content_app_sources 84 sources = content_app_sources
98 configs += content_app_extra_configs 85 configs += content_app_extra_configs
99 deps = content_app_deps 86 deps = content_app_deps
100 87
101 defines = [ "CHROME_MULTIPLE_DLL_BROWSER" ] 88 defines = [ "CHROME_MULTIPLE_DLL_BROWSER" ]
102 } 89 }
103 90
104 source_set("child") { 91 source_set("child") {
105 visibility = [ "//content/public/app:child" ] 92 visibility = [ "//content/public/app:child" ]
106 93
107 sources = content_app_sources 94 sources = content_app_sources
108 configs += content_app_extra_configs 95 configs += content_app_extra_configs
109 deps = content_app_deps 96 deps = content_app_deps
110 97
111 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] 98 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ]
112 } 99 }
113 } 100 }
OLDNEW
« no previous file with comments | « content/BUILD.gn ('k') | content/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698