| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 import("//chrome/version.gni") # TODO layering violation! | 5 import("//chrome/version.gni") # TODO layering violation! |
| 6 import("//chromecast/chromecast.gni") | 6 import("//chromecast/chromecast.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 # GYP target: chromecast.gyp:cast_base | 9 # GYP target: chromecast.gyp:cast_base |
| 10 source_set("base") { | 10 source_set("base") { |
| 11 sources = [ | 11 sources = [ |
| 12 "android/dumpstate_writer.cc", | 12 "android/dumpstate_writer.cc", |
| 13 "android/dumpstate_writer.h", | 13 "android/dumpstate_writer.h", |
| 14 "android/system_time_change_notifier_android.cc", | 14 "android/system_time_change_notifier_android.cc", |
| 15 "android/system_time_change_notifier_android.h", | 15 "android/system_time_change_notifier_android.h", |
| 16 "bind_to_task_runner.h", |
| 16 "cast_paths.cc", | 17 "cast_paths.cc", |
| 17 "cast_paths.h", | 18 "cast_paths.h", |
| 18 "cast_resource.cc", | 19 "cast_resource.cc", |
| 19 "cast_resource.h", | 20 "cast_resource.h", |
| 20 "chromecast_switches.cc", | 21 "chromecast_switches.cc", |
| 21 "chromecast_switches.h", | 22 "chromecast_switches.h", |
| 22 "device_capabilities.h", | 23 "device_capabilities.h", |
| 23 "device_capabilities_impl.cc", | 24 "device_capabilities_impl.cc", |
| 24 "device_capabilities_impl.h", | 25 "device_capabilities_impl.h", |
| 25 "error_codes.cc", | 26 "error_codes.cc", |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 | 58 |
| 58 public_deps = [ | 59 public_deps = [ |
| 59 ":base", | 60 ":base", |
| 60 "//base", | 61 "//base", |
| 61 ] | 62 ] |
| 62 } | 63 } |
| 63 | 64 |
| 64 # GYP target: chromecast_tests.gypi:cast_base_unittests | 65 # GYP target: chromecast_tests.gypi:cast_base_unittests |
| 65 test("cast_base_unittests") { | 66 test("cast_base_unittests") { |
| 66 sources = [ | 67 sources = [ |
| 68 "bind_to_task_runner_unittest.cc", |
| 67 "device_capabilities_impl_unittest.cc", | 69 "device_capabilities_impl_unittest.cc", |
| 68 "error_codes_unittest.cc", | 70 "error_codes_unittest.cc", |
| 69 "path_utils_unittest.cc", | 71 "path_utils_unittest.cc", |
| 70 "process_utils_unittest.cc", | 72 "process_utils_unittest.cc", |
| 71 "serializers_unittest.cc", | 73 "serializers_unittest.cc", |
| 72 "system_time_change_notifier_unittest.cc", | 74 "system_time_change_notifier_unittest.cc", |
| 73 ] | 75 ] |
| 74 | 76 |
| 75 deps = [ | 77 deps = [ |
| 76 ":test_support", | 78 ":test_support", |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 "-e", | 113 "-e", |
| 112 "CAST_BUILD_INCREMENTAL=20150608.181153", | 114 "CAST_BUILD_INCREMENTAL=20150608.181153", |
| 113 "-e", | 115 "-e", |
| 114 "CAST_BUILD_RELEASE=1.15", | 116 "CAST_BUILD_RELEASE=1.15", |
| 115 "-e", | 117 "-e", |
| 116 "CAST_IS_DEBUG_BUILD=1", | 118 "CAST_IS_DEBUG_BUILD=1", |
| 117 "-e", | 119 "-e", |
| 118 "CAST_PRODUCT_TYPE=0", | 120 "CAST_PRODUCT_TYPE=0", |
| 119 ] | 121 ] |
| 120 } | 122 } |
| OLD | NEW |