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', | |
20 ], | 19 ], |
21 'rules': [ | 20 'rules': [ |
22 { | 21 { |
23 'rule_name': 'genproto', | 22 'rule_name': 'genproto', |
24 'extension': 'proto', | 23 'extension': 'proto', |
25 'inputs': [ | 24 'inputs': [ |
26 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)', | 25 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)', |
27 ], | 26 ], |
28 'outputs': [ | 27 'outputs': [ |
29 '<(out_dir)/<(RULE_INPUT_ROOT).pb.cc', | 28 '<(out_dir)/<(RULE_INPUT_ROOT).pb.cc', |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 # This target exports a hard dependency because depedents require | 64 # This target exports a hard dependency because depedents require |
66 # chromotocol_proto to compile. | 65 # chromotocol_proto to compile. |
67 'hard_dependency': 1, | 66 'hard_dependency': 1, |
68 'sources': [ | 67 'sources': [ |
69 '<(out_dir)/control.pb.cc', | 68 '<(out_dir)/control.pb.cc', |
70 '<(out_dir)/control.pb.h', | 69 '<(out_dir)/control.pb.h', |
71 '<(out_dir)/event.pb.cc', | 70 '<(out_dir)/event.pb.cc', |
72 '<(out_dir)/event.pb.h', | 71 '<(out_dir)/event.pb.h', |
73 '<(out_dir)/internal.pb.cc', | 72 '<(out_dir)/internal.pb.cc', |
74 '<(out_dir)/internal.pb.h', | 73 '<(out_dir)/internal.pb.h', |
75 '<(out_dir)/video.pb.cc', | |
76 '<(out_dir)/video.pb.h', | |
77 ], | 74 ], |
78 }, | 75 }, |
79 ], | 76 ], |
80 } | 77 } |
81 | 78 |
82 # Local Variables: | 79 # Local Variables: |
83 # tab-width:2 | 80 # tab-width:2 |
84 # indent-tabs-mode:nil | 81 # indent-tabs-mode:nil |
85 # End: | 82 # End: |
86 # vim: set expandtab tabstop=2 shiftwidth=2: | 83 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |