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 }, | 8 }, |
9 | 9 |
10 'target_defaults': { | 10 'target_defaults': { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 'target_name': 'chromoting_plugin', | 65 'target_name': 'chromoting_plugin', |
66 'type': 'static_library', | 66 'type': 'static_library', |
67 'defines': [ | 67 'defines': [ |
68 'HAVE_STDINT_H', # Required by on2_integer.h | 68 'HAVE_STDINT_H', # Required by on2_integer.h |
69 ], | 69 ], |
70 'dependencies': [ | 70 'dependencies': [ |
71 'chromoting_base', | 71 'chromoting_base', |
72 'chromoting_client', | 72 'chromoting_client', |
73 'chromoting_jingle_glue', | 73 'chromoting_jingle_glue', |
74 '../third_party/ppapi/ppapi.gyp:ppapi_c', | 74 '../third_party/ppapi/ppapi.gyp:ppapi_c', |
75 '../third_party/zlib/zlib.gyp:zlib', | |
76 ], | 75 ], |
77 'sources': [ | 76 'sources': [ |
78 'client/plugin/chromoting_plugin.cc', | 77 'client/plugin/chromoting_plugin.cc', |
79 'client/plugin/chromoting_plugin.h', | 78 'client/plugin/chromoting_plugin.h', |
80 'client/plugin/pepper_entrypoints.cc', | 79 'client/plugin/pepper_entrypoints.cc', |
81 'client/plugin/pepper_entrypoints.h', | 80 'client/plugin/pepper_entrypoints.h', |
82 'client/plugin/pepper_view.cc', | 81 'client/plugin/pepper_view.cc', |
83 'client/plugin/pepper_view.h', | 82 'client/plugin/pepper_view.h', |
84 '../media/base/yuv_convert.cc', | 83 '../media/base/yuv_convert.cc', |
85 '../media/base/yuv_convert.h', | 84 '../media/base/yuv_convert.h', |
86 '../media/base/yuv_row.h', | 85 '../media/base/yuv_row.h', |
87 '../media/base/yuv_row_table.cc', | 86 '../media/base/yuv_row_table.cc', |
88 ], | 87 ], |
89 'conditions': [ | 88 'conditions': [ |
90 ['OS=="win"', { | 89 ['OS=="win"', { |
91 'sources': [ | 90 'sources': [ |
92 '../media/base/yuv_row_win.cc', | 91 '../media/base/yuv_row_win.cc', |
93 ], | 92 ], |
94 }], | 93 }], |
95 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="mac"', { | 94 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="mac"', { |
96 'sources': [ | 95 'sources': [ |
97 '../media/base/yuv_row_posix.cc', | 96 '../media/base/yuv_row_posix.cc', |
98 ], | 97 ], |
99 }], | 98 }], |
100 ], # end of 'conditions' | 99 ], # end of 'conditions' |
101 }, # end of target 'chromoting_plugin' | 100 }, # end of target 'chromoting_plugin' |
102 | 101 |
103 { | 102 { |
104 'target_name': 'chromoting_base', | 103 'target_name': 'chromoting_base', |
105 'type': '<(library)', | 104 'type': '<(library)', |
106 'dependencies': [ | 105 'dependencies': [ |
107 '../gfx/gfx.gyp:*', | 106 '../gfx/gfx.gyp:*', |
108 '../media/media.gyp:media', | 107 '../media/media.gyp:media', |
109 '../third_party/protobuf2/protobuf.gyp:protobuf_lite', | 108 '../third_party/protobuf2/protobuf.gyp:protobuf_lite', |
| 109 '../third_party/zlib/zlib.gyp:zlib', |
110 'base/protocol/chromotocol.gyp:chromotocol_proto_lib', | 110 'base/protocol/chromotocol.gyp:chromotocol_proto_lib', |
111 'chromoting_jingle_glue', | 111 'chromoting_jingle_glue', |
112 # TODO(hclam): Enable VP8 in the build. | 112 # TODO(hclam): Enable VP8 in the build. |
113 #'third_party/on2/on2.gyp:vp8', | 113 #'third_party/on2/on2.gyp:vp8', |
114 ], | 114 ], |
115 'export_dependent_settings': [ | 115 'export_dependent_settings': [ |
116 '../third_party/protobuf2/protobuf.gyp:protobuf_lite', | 116 '../third_party/protobuf2/protobuf.gyp:protobuf_lite', |
117 'base/protocol/chromotocol.gyp:chromotocol_proto_lib', | 117 'base/protocol/chromotocol.gyp:chromotocol_proto_lib', |
118 # TODO(hclam): Enable VP8 in the build. | 118 # TODO(hclam): Enable VP8 in the build. |
119 #'third_party/on2/on2.gyp:vp8', | 119 #'third_party/on2/on2.gyp:vp8', |
120 ], | 120 ], |
121 # This target needs a hard dependency because dependent targets | 121 # This target needs a hard dependency because dependent targets |
122 # depend on chromotocol_proto_lib for headers. | 122 # depend on chromotocol_proto_lib for headers. |
123 'hard_dependency': 1, | 123 'hard_dependency': 1, |
124 'sources': [ | 124 'sources': [ |
125 'base/constants.cc', | 125 'base/constants.cc', |
126 'base/constants.h', | 126 'base/constants.h', |
| 127 'base/lossless_compressor.h', |
127 'base/multiple_array_input_stream.cc', | 128 'base/multiple_array_input_stream.cc', |
128 'base/multiple_array_input_stream.h', | 129 'base/multiple_array_input_stream.h', |
129 'base/protocol_decoder.cc', | 130 'base/protocol_decoder.cc', |
130 'base/protocol_decoder.h', | 131 'base/protocol_decoder.h', |
131 'base/protocol_util.cc', | 132 'base/protocol_util.cc', |
132 'base/protocol_util.h', | 133 'base/protocol_util.h', |
| 134 'base/compressor_zlib.cc', |
| 135 'base/compressor_zlib.h', |
133 ], | 136 ], |
134 }, # end of target 'chromoting_base' | 137 }, # end of target 'chromoting_base' |
135 | 138 |
136 { | 139 { |
137 'target_name': 'chromoting_host', | 140 'target_name': 'chromoting_host', |
138 'type': '<(library)', | 141 'type': '<(library)', |
139 'dependencies': [ | 142 'dependencies': [ |
140 'chromoting_base', | 143 'chromoting_base', |
141 'chromoting_jingle_glue', | 144 'chromoting_jingle_glue', |
142 ], | 145 ], |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 '../base/base.gyp:base', | 315 '../base/base.gyp:base', |
313 '../base/base.gyp:base_i18n', | 316 '../base/base.gyp:base_i18n', |
314 '../gfx/gfx.gyp:*', | 317 '../gfx/gfx.gyp:*', |
315 '../testing/gmock.gyp:gmock', | 318 '../testing/gmock.gyp:gmock', |
316 '../testing/gtest.gyp:gtest', | 319 '../testing/gtest.gyp:gtest', |
317 ], | 320 ], |
318 'include_dirs': [ | 321 'include_dirs': [ |
319 '../testing/gmock/include', | 322 '../testing/gmock/include', |
320 ], | 323 ], |
321 'sources': [ | 324 'sources': [ |
322 'host/client_connection_unittest.cc', | 325 'base/compressor_zlib_unittest.cc', |
323 'base/mock_objects.h', | 326 'base/mock_objects.h', |
324 'base/multiple_array_input_stream_unittest.cc', | 327 'base/multiple_array_input_stream_unittest.cc', |
325 'base/protocol_decoder_unittest.cc', | 328 'base/protocol_decoder_unittest.cc', |
326 'client/mock_objects.h', | 329 'client/mock_objects.h', |
327 'client/decoder_verbatim_unittest.cc', | 330 'client/decoder_verbatim_unittest.cc', |
328 'host/chromoting_host_context_unittest.cc', | 331 'host/chromoting_host_context_unittest.cc', |
| 332 'host/client_connection_unittest.cc', |
329 'host/differ_unittest.cc', | 333 'host/differ_unittest.cc', |
330 'host/differ_block_unittest.cc', | 334 'host/differ_block_unittest.cc', |
331 'host/json_host_config_unittest.cc', | 335 'host/json_host_config_unittest.cc', |
332 'host/mock_objects.h', | 336 'host/mock_objects.h', |
333 'host/session_manager_unittest.cc', | 337 'host/session_manager_unittest.cc', |
334 # TODO(hclam): Enable VP8 in the build. | 338 # TODO(hclam): Enable VP8 in the build. |
335 #'host/encoder_vp8_unittest.cc', | 339 #'host/encoder_vp8_unittest.cc', |
336 'jingle_glue/jingle_thread_unittest.cc', | 340 'jingle_glue/jingle_thread_unittest.cc', |
337 'jingle_glue/jingle_channel_unittest.cc', | 341 'jingle_glue/jingle_channel_unittest.cc', |
338 'jingle_glue/iq_request_unittest.cc', | 342 'jingle_glue/iq_request_unittest.cc', |
(...skipping 26 matching lines...) Expand all Loading... |
365 ], # end of 'conditions' | 369 ], # end of 'conditions' |
366 }, # end of target 'chromoting_unittests' | 370 }, # end of target 'chromoting_unittests' |
367 ], # end of targets | 371 ], # end of targets |
368 } | 372 } |
369 | 373 |
370 # Local Variables: | 374 # Local Variables: |
371 # tab-width:2 | 375 # tab-width:2 |
372 # indent-tabs-mode:nil | 376 # indent-tabs-mode:nil |
373 # End: | 377 # End: |
374 # vim: set expandtab tabstop=2 shiftwidth=2: | 378 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |