Advertisement
Guest User

Untitled

a guest
Apr 15th, 2013
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.49 KB | None | 0 0
  1. # Copyright (c) 2013 The Chromium Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4.  
  5. {
  6. 'variables': {
  7. 'chromium_code': 1,
  8. },
  9. 'targets': [
  10. {
  11. 'target_name': 'keyboard_resources',
  12. 'type': 'none',
  13. 'variables': {
  14. 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/keyboard',
  15. },
  16. 'actions': [
  17. {
  18. 'action_name': 'keyboard_resources',
  19. 'variables': {
  20. 'grit_grd_file': 'keyboard_resources.grd',
  21. },
  22. 'includes': [ '../../build/grit_action.gypi' ],
  23. },
  24. ],
  25. 'includes': [ '../../build/grit_target.gypi' ],
  26. },
  27. {
  28. 'target_name': 'keyboard',
  29. 'type': '<(component)',
  30. 'dependencies': [
  31. '../../base/base.gyp:base',
  32. '../../content/content.gyp:content_browser',
  33. '../../skia/skia.gyp:skia',
  34. '../aura/aura.gyp:aura',
  35. '../compositor/compositor.gyp:compositor',
  36. '../ui.gyp:ui',
  37. 'keyboard_resources',
  38. ],
  39. 'defines': [
  40. 'KEYBOARD_IMPLEMENTATION',
  41. ],
  42. 'sources': [
  43. 'keyboard_constants.cc',
  44. 'keyboard_constants.h',
  45. 'keyboard_controller.cc',
  46. 'keyboard_controller.h',
  47. 'keyboard_controller_proxy.h',
  48. 'keyboard_export.h',
  49. 'keyboard_switches.cc',
  50. 'keyboard_switches.h',
  51. 'keyboard_ui_controller.cc',
  52. 'keyboard_ui_controller.h',
  53. 'keyboard_util.cc',
  54. 'keyboard_util.h',
  55. ]
  56. },
  57. {
  58. 'target_name': 'keyboard_unittests',
  59. 'type': 'executable',
  60. 'dependencies': [
  61. '../../base/base.gyp:base',
  62. '../../base/base.gyp:test_support_base',
  63. '../../skia/skia.gyp:skia',
  64. '../../testing/gtest.gyp:gtest',
  65. '../aura/aura.gyp:aura',
  66. '../aura/aura.gyp:aura_test_support',
  67. '../compositor/compositor.gyp:compositor',
  68. '../ui.gyp:run_ui_unittests',
  69. '../ui.gyp:ui',
  70. 'keyboard',
  71. ],
  72. 'sources': [
  73. 'keyboard_controller_unittest.cc',
  74. ],
  75. 'conditions': [
  76. [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
  77. 'conditions': [
  78. ['linux_use_tcmalloc==1', {
  79. 'dependencies': [
  80. '../../base/allocator/allocator.gyp:allocator',
  81. ],
  82. }],
  83. ],
  84. }],
  85. ],
  86. },
  87. ],
  88. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement