OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 'out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out/remoting/proto', | 8 'out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out/remoting/proto', |
9 }, | 9 }, |
10 'targets': [ | 10 'targets': [ |
11 { | 11 { |
12 # Protobuf compiler / generate rule for chromoting.proto. | 12 # Protobuf compiler / generate rule for chromoting.proto. |
13 'target_name': 'chromotocol_proto', | 13 'target_name': 'chromotocol_proto', |
14 'type': 'none', | 14 'type': 'none', |
15 'sources': [ | 15 'sources': [ |
16 'control.proto', | 16 'control.proto', |
17 'event.proto', | 17 'event.proto', |
18 'internal.proto', | 18 'internal.proto', |
| 19 'video.proto', |
19 ], | 20 ], |
20 'rules': [ | 21 'rules': [ |
21 { | 22 { |
22 'rule_name': 'genproto', | 23 'rule_name': 'genproto', |
23 'extension': 'proto', | 24 'extension': 'proto', |
24 'inputs': [ | 25 'inputs': [ |
25 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)', | 26 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)', |
26 ], | 27 ], |
27 'outputs': [ | 28 'outputs': [ |
28 '<(out_dir)/<(RULE_INPUT_ROOT).pb.cc', | 29 '<(out_dir)/<(RULE_INPUT_ROOT).pb.cc', |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 # This target exports a hard dependency because depedents require | 65 # This target exports a hard dependency because depedents require |
65 # chromotocol_proto to compile. | 66 # chromotocol_proto to compile. |
66 'hard_dependency': 1, | 67 'hard_dependency': 1, |
67 'sources': [ | 68 'sources': [ |
68 '<(out_dir)/control.pb.cc', | 69 '<(out_dir)/control.pb.cc', |
69 '<(out_dir)/control.pb.h', | 70 '<(out_dir)/control.pb.h', |
70 '<(out_dir)/event.pb.cc', | 71 '<(out_dir)/event.pb.cc', |
71 '<(out_dir)/event.pb.h', | 72 '<(out_dir)/event.pb.h', |
72 '<(out_dir)/internal.pb.cc', | 73 '<(out_dir)/internal.pb.cc', |
73 '<(out_dir)/internal.pb.h', | 74 '<(out_dir)/internal.pb.h', |
| 75 '<(out_dir)/video.pb.cc', |
| 76 '<(out_dir)/video.pb.h', |
74 ], | 77 ], |
75 }, | 78 }, |
76 ], | 79 ], |
77 } | 80 } |
78 | 81 |
79 # Local Variables: | 82 # Local Variables: |
80 # tab-width:2 | 83 # tab-width:2 |
81 # indent-tabs-mode:nil | 84 # indent-tabs-mode:nil |
82 # End: | 85 # End: |
83 # vim: set expandtab tabstop=2 shiftwidth=2: | 86 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |