OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'variables': { |
| 7 'chromium_code': 1, |
| 8 }, |
| 9 'targets': [ |
| 10 { |
| 11 # GN version: //ui/events/keycodes:xkb |
| 12 'target_name': 'keycodes_xkb', |
| 13 'type': 'static_library', |
| 14 'dependencies': [ |
| 15 '<(DEPTH)/base/base.gyp:base', |
| 16 '<(DEPTH)/ui/events/events.gyp:dom_keycode_converter', |
| 17 ], |
| 18 'sources': [ |
| 19 'keyboard_code_conversion_xkb.cc', |
| 20 'keyboard_code_conversion_xkb.h', |
| 21 'scoped_xkb.h', |
| 22 'xkb_keysym.h', |
| 23 ], |
| 24 }, |
| 25 ], |
| 26 'conditions': [ |
| 27 ['use_x11==1', { |
| 28 'targets': [ |
| 29 { |
| 30 # GN version: //ui/events/keycodes:x11 |
| 31 'target_name': 'keycodes_x11', |
| 32 'type': '<(component)', |
| 33 'dependencies': [ |
| 34 '<(DEPTH)/base/base.gyp:base', |
| 35 '<(DEPTH)/build/linux/system.gyp:x11', |
| 36 '<(DEPTH)/ui/gfx/x/gfx_x11.gyp:gfx_x11', |
| 37 '../events.gyp:dom_keycode_converter', |
| 38 'keycodes_xkb', |
| 39 ], |
| 40 'defines': [ |
| 41 'KEYCODES_X_IMPLEMENTATION', |
| 42 ], |
| 43 'sources': [ |
| 44 'keycodes_x_export.h', |
| 45 'keyboard_code_conversion_x.cc', |
| 46 'keyboard_code_conversion_x.h', |
| 47 'keysym_to_unicode.cc', |
| 48 'keysym_to_unicode.h', |
| 49 ], |
| 50 }, |
| 51 ], |
| 52 }], |
| 53 ], |
| 54 } |
OLD | NEW |