| OLD | NEW |
| 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 'include_tests%': 1, | 7 'include_tests%': 1, |
| 8 'chromium_code': 1, | 8 'chromium_code': 1, |
| 9 }, | 9 }, |
| 10 'targets': [ | 10 'targets': [ |
| 11 { | 11 { |
| 12 'target_name': 'cast_config', | 12 'target_name': 'cast_config', |
| 13 'type': 'static_library', | 13 'type': 'static_library', |
| 14 'include_dirs': [ | 14 'include_dirs': [ |
| 15 '<(DEPTH)/', | 15 '<(DEPTH)/', |
| 16 ], | 16 ], |
| 17 'dependencies': [ |
| 18 'logging/logging.gyp:cast_logging', |
| 19 ], |
| 17 'sources': [ | 20 'sources': [ |
| 18 'cast_config.cc', | 21 'cast_config.cc', |
| 19 'cast_config.h', | 22 'cast_config.h', |
| 20 'cast_environment.cc', | 23 'cast_environment.cc', |
| 21 'cast_environment.h', | 24 'cast_environment.h', |
| 22 ], # source | 25 ], # source |
| 23 }, | 26 }, |
| 24 ], # targets, | 27 ], # targets, |
| 25 'conditions': [ | 28 'conditions': [ |
| 26 ['include_tests==1', { | 29 ['include_tests==1', { |
| 27 'targets': [ | 30 'targets': [ |
| 28 { | 31 { |
| 29 'target_name': 'cast_unittests', | 32 'target_name': 'cast_unittests', |
| 30 'type': '<(gtest_target_type)', | 33 'type': '<(gtest_target_type)', |
| 31 'dependencies': [ | 34 'dependencies': [ |
| 32 'cast_config', | 35 'cast_config', |
| 33 'cast_receiver.gyp:cast_receiver', | 36 'cast_receiver.gyp:cast_receiver', |
| 34 'cast_sender.gyp:cast_sender', | 37 'cast_sender.gyp:cast_sender', |
| 35 'logging/logging.gyp:cast_logging', | |
| 36 'test/utility/utility.gyp:cast_test_utility', | 38 'test/utility/utility.gyp:cast_test_utility', |
| 37 '<(DEPTH)/base/base.gyp:run_all_unittests', | 39 '<(DEPTH)/base/base.gyp:run_all_unittests', |
| 38 '<(DEPTH)/net/net.gyp:net', | 40 '<(DEPTH)/net/net.gyp:net', |
| 39 '<(DEPTH)/testing/gmock.gyp:gmock', | 41 '<(DEPTH)/testing/gmock.gyp:gmock', |
| 40 '<(DEPTH)/testing/gtest.gyp:gtest', | 42 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 41 ], | 43 ], |
| 42 'include_dirs': [ | 44 'include_dirs': [ |
| 43 '<(DEPTH)/', | 45 '<(DEPTH)/', |
| 44 '<(DEPTH)/third_party/', | 46 '<(DEPTH)/third_party/', |
| 45 '<(DEPTH)/third_party/webrtc/', | 47 '<(DEPTH)/third_party/webrtc/', |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 '-lXext', | 135 '-lXext', |
| 134 '-lX11', | 136 '-lX11', |
| 135 ], | 137 ], |
| 136 }], | 138 }], |
| 137 ], | 139 ], |
| 138 }, | 140 }, |
| 139 ], # targets | 141 ], # targets |
| 140 }], # include_tests | 142 }], # include_tests |
| 141 ], | 143 ], |
| 142 } | 144 } |
| OLD | NEW |