OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/features.gni") | 5 import("//build/config/features.gni") |
6 | 6 |
7 if (enable_nacl) { | 7 if (enable_nacl) { |
8 # This is separate so it can be used by ../broker:nacl64. | 8 # This is separate so it can be used by ../broker:nacl64. |
9 static_library("minimal") { | 9 static_library("minimal") { |
10 sources = [ | 10 sources = [ |
(...skipping 29 matching lines...) Expand all Loading... |
40 # depend on //content/public/common or anything like that, because that | 40 # depend on //content/public/common or anything like that, because that |
41 # would bring in lots more than counts as "minimal" (stuff that should | 41 # would bring in lots more than counts as "minimal" (stuff that should |
42 # not be in the nacl64.exe build). | 42 # not be in the nacl64.exe build). |
43 source_set("minimal_content_dummy") { | 43 source_set("minimal_content_dummy") { |
44 check_includes = false | 44 check_includes = false |
45 sources = [ | 45 sources = [ |
46 "//content/public/common/content_switches.h", | 46 "//content/public/common/content_switches.h", |
47 "//content/public/common/process_type.h", | 47 "//content/public/common/process_type.h", |
48 "//content/public/common/sandbox_type.h", | 48 "//content/public/common/sandbox_type.h", |
49 ] | 49 ] |
| 50 |
| 51 # Deps required by the above headers. |
| 52 deps = [ |
| 53 "//media:media_features", |
| 54 ] |
50 } | 55 } |
51 | 56 |
52 static_library("common") { | 57 static_library("common") { |
53 sources = [ | 58 sources = [ |
54 "nacl_host_messages.cc", | 59 "nacl_host_messages.cc", |
55 "nacl_host_messages.h", | 60 "nacl_host_messages.h", |
56 "nacl_nonsfi_util.cc", | 61 "nacl_nonsfi_util.cc", |
57 "nacl_nonsfi_util.h", | 62 "nacl_nonsfi_util.h", |
58 "pnacl_types.cc", | 63 "pnacl_types.cc", |
59 "pnacl_types.h", | 64 "pnacl_types.h", |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 "//content/public/common", | 109 "//content/public/common", |
105 ] | 110 ] |
106 } | 111 } |
107 | 112 |
108 static_library("switches") { | 113 static_library("switches") { |
109 sources = [ | 114 sources = [ |
110 "nacl_switches.cc", | 115 "nacl_switches.cc", |
111 "nacl_switches.h", | 116 "nacl_switches.h", |
112 ] | 117 ] |
113 } | 118 } |
OLD | NEW |