| 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 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
| 7 | 7 |
| 8 if (enable_nacl) { | 8 if (enable_nacl) { |
| 9 # This is separate so it can be used by ../broker:nacl64. | 9 # This is separate so it can be used by ../broker:nacl64. |
| 10 static_library("minimal") { | 10 static_library("minimal") { |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 source_set("nacl_error_code") { | 108 source_set("nacl_error_code") { |
| 109 sources = [ | 109 sources = [ |
| 110 "//native_client/src/trusted/service_runtime/nacl_error_code.h", | 110 "//native_client/src/trusted/service_runtime/nacl_error_code.h", |
| 111 ] | 111 ] |
| 112 } | 112 } |
| 113 | 113 |
| 114 mojom("mojo_bindings") { | 114 mojom("mojo_bindings") { |
| 115 sources = [ | 115 sources = [ |
| 116 "nacl.mojom", | 116 "nacl.mojom", |
| 117 ] | 117 ] |
| 118 | |
| 119 use_once_callback = true | |
| 120 } | 118 } |
| 121 } | 119 } |
| 122 | 120 |
| 123 # Depending on this allows targets to unconditionally include | 121 # Depending on this allows targets to unconditionally include |
| 124 # nacl_process_type.h without testing whether nacl is enabled. | 122 # nacl_process_type.h without testing whether nacl is enabled. |
| 125 source_set("process_type") { | 123 source_set("process_type") { |
| 126 public = [ | 124 public = [ |
| 127 "nacl_process_type.h", | 125 "nacl_process_type.h", |
| 128 ] | 126 ] |
| 129 | 127 |
| 130 deps = [ | 128 deps = [ |
| 131 "//content/public/common", | 129 "//content/public/common", |
| 132 ] | 130 ] |
| 133 } | 131 } |
| 134 | 132 |
| 135 static_library("switches") { | 133 static_library("switches") { |
| 136 sources = [ | 134 sources = [ |
| 137 "nacl_switches.cc", | 135 "nacl_switches.cc", |
| 138 "nacl_switches.h", | 136 "nacl_switches.h", |
| 139 ] | 137 ] |
| 140 } | 138 } |
| OLD | NEW |