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

Side by Side Diff: content/BUILD.gn

Issue 1104973002: Fix //content/test:test_support under component builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « no previous file | content/app/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("//tools/grit/grit_rule.gni") 5 import("//tools/grit/grit_rule.gni")
6 6
7 # Applied by targets internal to content. 7 # Applied by targets internal to content.
8 config("content_implementation") { 8 config("content_implementation") {
9 defines = [ "CONTENT_IMPLEMENTATION" ] 9 defines = [ "CONTENT_IMPLEMENTATION" ]
10 } 10 }
(...skipping 20 matching lines...) Expand all
31 # //content/browser (source set; this is the non-public browser target) 31 # //content/browser (source set; this is the non-public browser target)
32 # //content/public/common:common_sources (source set) 32 # //content/public/common:common_sources (source set)
33 # 33 #
34 # That the internal content dependencies must depend on the *_sources targets 34 # That the internal content dependencies must depend on the *_sources targets
35 # to avoid dependency cycles, and external dependencies must depend on the 35 # to avoid dependency cycles, and external dependencies must depend on the
36 # //content/public/browser and similar targets to avoid double-linking (these 36 # //content/public/browser and similar targets to avoid double-linking (these
37 # targets make sure the dependency goes through the content shared library 37 # targets make sure the dependency goes through the content shared library
38 # when doing a component build). 38 # when doing a component build).
39 39
40 content_shared_components = [ 40 content_shared_components = [
41 "//content/gpu", 41 "//content/gpu:gpu_sources",
42 "//content/public/browser:browser_sources", 42 "//content/public/browser:browser_sources",
43 "//content/public/child:child_sources", 43 "//content/public/child:child_sources",
44 "//content/public/common:common_sources", 44 "//content/public/common:common_sources",
45 "//content/public/plugin:plugin_sources", 45 "//content/public/plugin:plugin_sources",
46 "//content/public/renderer:renderer_sources", 46 "//content/public/renderer:renderer_sources",
47 "//content/public/utility:utility_sources", 47 "//content/public/utility:utility_sources",
48 ] 48 ]
49 49
50 if (enable_plugins) { 50 if (enable_plugins) {
51 content_shared_components += [ "//content/ppapi_plugin" ] 51 content_shared_components += [ "//content/ppapi_plugin:ppapi_plugin_sources" ]
52 } 52 }
53 53
54 if (is_component_build) { 54 if (is_component_build) {
55 shared_library("content") { 55 shared_library("content") {
56 public_deps = 56 public_deps =
57 content_shared_components + [ "//content/public/app:both_sources" ] 57 content_shared_components + [ "//content/public/app:both_sources" ]
58 } 58 }
59 } else { 59 } else {
60 group("content") { 60 group("content") {
61 deps = content_shared_components 61 deps = content_shared_components
(...skipping 26 matching lines...) Expand all
88 "public/app/startup_helper_win.h", 88 "public/app/startup_helper_win.h",
89 ] 89 ]
90 90
91 deps = [ 91 deps = [
92 "//base", 92 "//base",
93 "//base:i18n", 93 "//base:i18n",
94 "//sandbox", 94 "//sandbox",
95 ] 95 ]
96 } 96 }
97 } 97 }
OLDNEW
« no previous file with comments | « no previous file | content/app/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698