OLD | NEW |
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 import("//build/config/nacl/config.gni") | 6 import("//build/config/nacl/config.gni") |
7 | 7 |
8 # Applied by targets internal to content. | 8 # Applied by targets internal to content. |
9 config("content_implementation") { | 9 config("content_implementation") { |
10 defines = [ "CONTENT_IMPLEMENTATION" ] | 10 defines = [ "CONTENT_IMPLEMENTATION" ] |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 "//content/public/utility:utility_sources", | 49 "//content/public/utility:utility_sources", |
50 ] | 50 ] |
51 | 51 |
52 if (enable_plugins) { | 52 if (enable_plugins) { |
53 content_shared_components += | 53 content_shared_components += |
54 [ "//content/ppapi_plugin:ppapi_plugin_sources" ] | 54 [ "//content/ppapi_plugin:ppapi_plugin_sources" ] |
55 } | 55 } |
56 } | 56 } |
57 | 57 |
58 if (is_component_build) { | 58 if (is_component_build) { |
59 shared_library("content") { | 59 component("content") { |
60 public_deps = | 60 public_deps = |
61 content_shared_components + [ "//content/public/app:both_sources" ] | 61 content_shared_components + [ "//content/public/app:both_sources" ] |
62 deps = [ | 62 deps = [ |
63 "//build/config/sanitizers:deps", | 63 "//build/config/sanitizers:deps", |
64 ] | 64 ] |
65 } | 65 } |
66 } else if (is_nacl_nonsfi) { | 66 } else if (is_nacl_nonsfi) { |
67 source_set("content") { | 67 source_set("content") { |
68 set_sources_assignment_filter([]) | 68 set_sources_assignment_filter([]) |
69 sources = [ | 69 sources = [ |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 sources = [ | 112 sources = [ |
113 "app/sandbox_helper_win.cc", | 113 "app/sandbox_helper_win.cc", |
114 "public/app/sandbox_helper_win.h", | 114 "public/app/sandbox_helper_win.h", |
115 ] | 115 ] |
116 | 116 |
117 deps = [ | 117 deps = [ |
118 "//sandbox", | 118 "//sandbox", |
119 ] | 119 ] |
120 } | 120 } |
121 } | 121 } |
OLD | NEW |