| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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("//build/config/compiler/compiler.gni") | 6 import("//build/config/compiler/compiler.gni") |
| 7 | 7 |
| 8 # This file builds nacl64.exe, which is a 64-bit x86 Windows executable | 8 # This file builds nacl64.exe, which is a 64-bit x86 Windows executable |
| 9 # used only in the 32-bit x86 Windows build. The :broker code runs both | 9 # used only in the 32-bit x86 Windows build. The :broker code runs both |
| 10 # in nacl64.exe and in the 32-bit chrome executable, to launch | 10 # in nacl64.exe and in the 32-bit chrome executable, to launch |
| 11 # nacl64.exe and communicate with it. | 11 # nacl64.exe and communicate with it. |
| 12 | 12 |
| 13 assert(enable_nacl) | 13 assert(enable_nacl) |
| 14 assert(is_win) | 14 assert(is_win) |
| 15 assert(target_cpu == "x86") | 15 assert(target_cpu == "x86") |
| 16 | 16 |
| 17 source_set("broker") { | 17 source_set("broker") { |
| 18 sources = [ | 18 sources = [ |
| 19 "nacl_broker_listener.cc", | 19 "nacl_broker_listener.cc", |
| 20 "nacl_broker_listener.h", | 20 "nacl_broker_listener.h", |
| 21 ] | 21 ] |
| 22 | 22 |
| 23 deps = [ | 23 deps = [ |
| 24 "//base", | 24 "//base", |
| 25 "//components/nacl/common:debug_exception_handler", | 25 "//components/nacl/common:debug_exception_handler", |
| 26 "//components/nacl/common:minimal", | 26 "//components/nacl/common:minimal", |
| 27 "//components/nacl/common:switches", | 27 "//components/nacl/common:switches", |
| 28 "//content/public/common:static_switches", | 28 "//content/public/common:static_switches", |
| 29 "//ipc", | 29 "//ipc", |
| 30 "//mojo/edk/system", |
| 30 "//sandbox", | 31 "//sandbox", |
| 31 ] | 32 ] |
| 32 | 33 |
| 33 if (current_cpu == target_cpu) { | 34 if (current_cpu == target_cpu) { |
| 34 deps += [ "//content/public/common" ] | 35 deps += [ "//content/public/common" ] |
| 35 } else { | 36 } else { |
| 36 deps += [ ":content_dummy" ] | 37 deps += [ ":content_dummy" ] |
| 37 } | 38 } |
| 38 } | 39 } |
| 39 | 40 |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 "//chrome/installer/util:with_no_strings", | 161 "//chrome/installer/util:with_no_strings", |
| 161 "//components/browser_watcher:browser_watcher_client", | 162 "//components/browser_watcher:browser_watcher_client", |
| 162 "//components/flags_ui:switches", | 163 "//components/flags_ui:switches", |
| 163 "//components/policy:generated", | 164 "//components/policy:generated", |
| 164 "//content/public/common:static_switches", | 165 "//content/public/common:static_switches", |
| 165 "//ipc", | 166 "//ipc", |
| 166 "//third_party/kasko", | 167 "//third_party/kasko", |
| 167 ] | 168 ] |
| 168 } | 169 } |
| 169 } | 170 } |
| OLD | NEW |