Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: ui/events/events.gyp

Issue 641753003: DOM Level 3 .code and .key value enumerations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
11 # GN version: //ui/events:dom4_keycode_converter 11 # GN version: //ui/events:dom4_keycode_converter
12 'target_name': 'dom4_keycode_converter', 12 'target_name': 'dom4_keycode_converter',
13 'type': 'static_library', 13 'type': 'static_library',
14 'dependencies': [ 14 'dependencies': [
15 '<(DEPTH)/base/base.gyp:base', 15 '<(DEPTH)/base/base.gyp:base',
16 ], 16 ],
17 'include_dirs': [
18 '<(SHARED_INTERMEDIATE_DIR)',
19 ],
20 'variables': {
21 'domcode_declaration_h_file': '<(SHARED_INTERMEDIATE_DIR)/ui/events/keyc odes/dom4/domcode.h',
22 'domcode_string_h_file': '<(SHARED_INTERMEDIATE_DIR)/ui/events/keycodes/ dom4/domcode_string.h',
23 'domcode_table_h_file': '<(SHARED_INTERMEDIATE_DIR)/ui/events/keycodes/d om4/domcode_table.h',
24 'domkey_declaration_h_file': '<(SHARED_INTERMEDIATE_DIR)/ui/events/keyco des/dom4/domkey.h',
25 'domkey_string_h_file': '<(SHARED_INTERMEDIATE_DIR)/ui/events/keycodes/d om4/domkey_string.h',
26 'domkey_table_h_file': '<(SHARED_INTERMEDIATE_DIR)/ui/events/keycodes/do m4/domkey_table.h',
27 'native_code_data_h_file': '<(SHARED_INTERMEDIATE_DIR)/ui/events/keycode s/dom4/native_code_data.h',
28 },
17 'sources': [ 29 'sources': [
18 # Note: sources list duplicated in GN build. 30 # Note: sources list duplicated in GN build.
19 'keycodes/dom4/keycode_converter.cc', 31 'keycodes/dom4/keycode_converter.cc',
20 'keycodes/dom4/keycode_converter.h', 32 'keycodes/dom4/keycode_converter.h',
21 'keycodes/dom4/keycode_converter_data.h', 33 'keycodes/dom4/keycode_converter_data.h',
22 ], 34 ],
35 'actions': [
36 {
37 # GN version: //ui/events:generate_dom4_keycodes
38 'action_name': 'generate_dom4_keycodes',
39 'variables': {
40 'generator_path': 'keycodes/dom4/generate_dom_values.py',
41 'dom_values': 'keycodes/dom4/dom_values.txt',
42 'native_values': 'keycodes/dom4/native_codes.txt',
43 },
44 'inputs': [
45 '<(generator_path)',
46 '<(dom_values)',
47 '<(native_values)',
48 ],
49 'outputs': [
50 '<(domcode_declaration_h_file)',
51 '<(domcode_string_h_file)',
52 '<(domcode_table_h_file)',
53 '<(domkey_declaration_h_file)',
54 '<(domkey_string_h_file)',
55 '<(domkey_table_h_file)',
56 '<(native_code_data_h_file)',
57 ],
58 'action': [
59 'python',
60 '<(generator_path)',
61 '--input_dom=<(dom_values)',
62 '--input_native=<(native_values)',
63 '--output_dom_code_declaration=<(domcode_declaration_h_file)',
64 '--output_dom_code_string=<(domcode_string_h_file)',
65 '--output_dom_code_table=<(domcode_table_h_file)',
66 '--output_dom_key_declaration=<(domkey_declaration_h_file)',
67 '--output_dom_key_string=<(domkey_string_h_file)',
68 '--output_dom_key_table=<(domkey_table_h_file)',
69 '--output_native=<(native_code_data_h_file)',
70 ],
71 }
72 ]
23 }, 73 },
24 { 74 {
25 # GN version: //ui/events:events_base 75 # GN version: //ui/events:events_base
26 'target_name': 'events_base', 76 'target_name': 'events_base',
27 'type': '<(component)', 77 'type': '<(component)',
28 'dependencies': [ 78 'dependencies': [
29 '<(DEPTH)/base/base.gyp:base', 79 '<(DEPTH)/base/base.gyp:base',
30 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d ynamic_annotations', 80 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d ynamic_annotations',
31 '<(DEPTH)/skia/skia.gyp:skia', 81 '<(DEPTH)/skia/skia.gyp:skia',
32 '../gfx/gfx.gyp:gfx', 82 '../gfx/gfx.gyp:gfx',
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 ], 431 ],
382 'variables': { 432 'variables': {
383 'test_suite_name': 'events_unittests', 433 'test_suite_name': 'events_unittests',
384 }, 434 },
385 'includes': [ '../../build/apk_test.gypi' ], 435 'includes': [ '../../build/apk_test.gypi' ],
386 }, 436 },
387 ], 437 ],
388 }], 438 }],
389 ], 439 ],
390 } 440 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698