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 | 6 |
7 if (is_android) { | 7 if (is_android) { |
8 import("//build/config/android/rules.gni") | 8 import("//build/config/android/rules.gni") |
9 android_generated_java_resources = [ | 9 android_generated_java_resources = [ |
10 "java/res/values-am/generated_resources.xml", | 10 "java/res/values-am/generated_resources.xml", |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 ] | 310 ] |
311 } | 311 } |
312 | 312 |
313 source_set("test_support") { | 313 source_set("test_support") { |
314 testonly = true | 314 testonly = true |
315 visibility = [ "//chrome/test:test_support" ] | 315 visibility = [ "//chrome/test:test_support" ] |
316 | 316 |
317 sources = [ | 317 sources = [ |
318 "chrome_main_delegate.cc", | 318 "chrome_main_delegate.cc", |
319 "chrome_main_delegate.h", | 319 "chrome_main_delegate.h", |
| 320 "close_handle_hook_win.cc", |
| 321 "close_handle_hook_win.h", |
320 ] | 322 ] |
321 | 323 |
322 deps = [ | 324 deps = [ |
323 "//base", | 325 "//base", |
324 "//chrome/browser", | 326 "//chrome/browser", |
325 "//chrome/child", | 327 "//chrome/child", |
326 "//chrome/common", | 328 "//chrome/common", |
327 "//chrome/plugin", | 329 "//chrome/plugin", |
328 "//chrome/renderer", | 330 "//chrome/renderer", |
329 "//chrome/utility", | 331 "//chrome/utility", |
330 "//content/public/app:both", | 332 "//content/public/app:both", |
331 "//content/public/common", | 333 "//content/public/common", |
332 "//ui/base", | 334 "//ui/base", |
333 ] | 335 ] |
334 | 336 |
335 if (is_mac) { | 337 if (is_mac) { |
336 sources += [ "chrome_main_mac.mm" ] | 338 sources += [ "chrome_main_mac.mm" ] |
337 } | 339 } |
338 | 340 |
339 if (enable_plugins && enable_nacl) { | 341 if (enable_plugins && enable_nacl) { |
340 deps += [ "//components/nacl/renderer/plugin:nacl_trusted_plugin" ] | 342 deps += [ "//components/nacl/renderer/plugin:nacl_trusted_plugin" ] |
341 } | 343 } |
342 } | 344 } |
OLD | NEW |