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

Side by Side Diff: device/serial/serial.gyp

Issue 807773002: Move mojo gypfiles to toplevel mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « device/device_tests.gyp ('k') | device/vibration/vibration.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
11 # GN version: //device/serial:serial_mojo 11 # GN version: //device/serial:serial_mojo
12 'target_name': 'device_serial_mojo', 12 'target_name': 'device_serial_mojo',
13 # The type of this target must be none. This is so that resources can 13 # The type of this target must be none. This is so that resources can
14 # depend upon this target for generating the js bindings files. Any 14 # depend upon this target for generating the js bindings files. Any
15 # generated cpp files must be listed explicitly in device_serial 15 # generated cpp files must be listed explicitly in device_serial
16 'type': 'none', 16 'type': 'none',
17 'includes': [ 17 'includes': [
18 '../../mojo/public/tools/bindings/mojom_bindings_generator.gypi', 18 '../../mojo/mojom_bindings_generator.gypi',
19 ], 19 ],
20 'sources': [ 20 'sources': [
21 'data_stream.mojom', 21 'data_stream.mojom',
22 'data_stream_serialization.mojom', 22 'data_stream_serialization.mojom',
23 'serial.mojom', 23 'serial.mojom',
24 'serial_serialization.mojom', 24 'serial_serialization.mojom',
25 ], 25 ],
26 }, 26 },
27 { 27 {
28 # GN version: //device/serial 28 # GN version: //device/serial
29 'target_name': 'device_serial', 29 'target_name': 'device_serial',
30 'type': 'static_library', 30 'type': 'static_library',
31 'conditions': [ 31 'conditions': [
32 ['use_udev == 1', { 32 ['use_udev == 1', {
33 'dependencies': [ 33 'dependencies': [
34 '../udev_linux/udev.gyp:udev_linux', 34 '../udev_linux/udev.gyp:udev_linux',
35 ], 35 ],
36 }, { 36 }, {
37 'sources!': [ 37 'sources!': [
38 'serial_device_enumerator_linux.cc', 38 'serial_device_enumerator_linux.cc',
39 'serial_device_enumerator_linux.h', 39 'serial_device_enumerator_linux.h',
40 ], 40 ],
41 }], 41 }],
42 ], 42 ],
43 'dependencies': [ 43 'dependencies': [
44 'device_serial_mojo', 44 'device_serial_mojo',
45 '../../mojo/public/mojo_public.gyp:mojo_cpp_bindings', 45 '../../mojo/mojo_public.gyp:mojo_cpp_bindings',
46 '../../net/net.gyp:net', 46 '../../net/net.gyp:net',
47 ], 47 ],
48 'export_dependent_settings': [ 48 'export_dependent_settings': [
49 'device_serial_mojo', 49 'device_serial_mojo',
50 '../../mojo/public/mojo_public.gyp:mojo_cpp_bindings', 50 '../../mojo/mojo_public.gyp:mojo_cpp_bindings',
51 ], 51 ],
52 'sources': [ 52 'sources': [
53 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.cc', 53 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.cc',
54 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.h', 54 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.h',
55 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream_serialization.mojo m.cc', 55 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream_serialization.mojo m.cc',
56 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream_serialization.mojo m.h', 56 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream_serialization.mojo m.h',
57 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.cc', 57 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.cc',
58 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.h', 58 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.h',
59 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial_serialization.mojom.cc' , 59 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial_serialization.mojom.cc' ,
60 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial_serialization.mojom.h', 60 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial_serialization.mojom.h',
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 'device_serial', 98 'device_serial',
99 'device_serial_mojo', 99 'device_serial_mojo',
100 ], 100 ],
101 'sources': [ 101 'sources': [
102 'test_serial_io_handler.cc', 102 'test_serial_io_handler.cc',
103 'test_serial_io_handler.h', 103 'test_serial_io_handler.h',
104 ], 104 ],
105 }, 105 },
106 ], 106 ],
107 } 107 }
OLDNEW
« no previous file with comments | « device/device_tests.gyp ('k') | device/vibration/vibration.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698