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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 ] | 320 ] |
321 | 321 |
322 deps = [ | 322 deps = [ |
323 "//base", | 323 "//base", |
324 "//chrome/browser", | 324 "//chrome/browser", |
325 "//chrome/browser/policy:path_parser", | |
Lei Zhang
2016/01/08 20:21:36
win/mac only?
tfarina
2016/01/08 22:03:52
Done.
tfarina
2016/01/08 23:07:31
Meh, unfortunately, gn check is not able to know t
| |
325 "//chrome/child", | 326 "//chrome/child", |
326 "//chrome/common", | 327 "//chrome/common", |
327 "//chrome/plugin", | 328 "//chrome/plugin", |
328 "//chrome/renderer", | 329 "//chrome/renderer", |
329 "//chrome/utility", | 330 "//chrome/utility", |
331 "//components/crash/content/app", | |
332 "//components/crash/content/app:lib", | |
333 "//components/startup_metric_utils/browser:lib", | |
330 "//content/public/app:both", | 334 "//content/public/app:both", |
331 "//content/public/common", | 335 "//content/public/common", |
332 "//ui/base", | 336 "//ui/base", |
333 ] | 337 ] |
334 | 338 |
335 if (is_mac) { | 339 if (is_mac) { |
336 sources += [ "chrome_main_mac.mm" ] | 340 sources += [ "chrome_main_mac.mm" ] |
341 | |
342 deps += [ "//chrome:main_dll" ] | |
343 } | |
344 | |
345 if (is_win) { | |
346 deps += [ | |
347 "//chrome:chrome_initial", | |
348 "//sandbox/win:sandbox", | |
349 ] | |
350 } | |
351 | |
352 if (is_chromeos) { | |
353 deps += [ "//chrome/browser/chromeos" ] | |
354 } | |
355 | |
356 if (enable_pdf) { | |
357 deps += [ "//pdf" ] | |
337 } | 358 } |
338 | 359 |
339 if (enable_plugins && enable_nacl) { | 360 if (enable_plugins && enable_nacl) { |
340 deps += [ "//components/nacl/renderer/plugin:nacl_trusted_plugin" ] | 361 deps += [ |
362 "//components/nacl/browser", | |
363 "//components/nacl/renderer/plugin:nacl_trusted_plugin", | |
364 ] | |
341 } | 365 } |
342 } | 366 } |
OLD | NEW |