| OLD | NEW |
| 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
| 4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
| 5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 | 8 |
| 9 import("//build/config/arm.gni") | 9 import("//build/config/arm.gni") |
| 10 import("//build/config/features.gni") | 10 import("//build/config/features.gni") |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 configs = rtc_add_configs | 258 configs = rtc_add_configs |
| 259 suppressed_configs = [] | 259 suppressed_configs = [] |
| 260 } | 260 } |
| 261 | 261 |
| 262 template("rtc_test") { | 262 template("rtc_test") { |
| 263 test(target_name) { | 263 test(target_name) { |
| 264 forward_variables_from(invoker, | 264 forward_variables_from(invoker, |
| 265 "*", | 265 "*", |
| 266 [ | 266 [ |
| 267 "configs", | 267 "configs", |
| 268 "data", |
| 268 "public_configs", | 269 "public_configs", |
| 269 "suppressed_configs", | 270 "suppressed_configs", |
| 270 ]) | 271 ]) |
| 271 configs += invoker.configs | 272 configs += invoker.configs |
| 272 configs -= rtc_remove_configs | 273 configs -= rtc_remove_configs |
| 273 configs -= invoker.suppressed_configs | 274 configs -= invoker.suppressed_configs |
| 274 public_configs = [ rtc_common_inherited_config ] | 275 public_configs = [ rtc_common_inherited_config ] |
| 275 if (defined(invoker.public_configs)) { | 276 if (defined(invoker.public_configs)) { |
| 276 public_configs += invoker.public_configs | 277 public_configs += invoker.public_configs |
| 277 } | 278 } |
| 278 if (!build_with_chromium && is_android) { | 279 if (!build_with_chromium && is_android) { |
| 279 android_manifest = webrtc_root + "test/android/AndroidManifest.xml" | 280 android_manifest = webrtc_root + "test/android/AndroidManifest.xml" |
| 280 deps += [ webrtc_root + "test:native_test_java" ] | 281 deps += [ webrtc_root + "test:native_test_java" ] |
| 282 |
| 283 # Needed for build/android/pylib/results/presentation/test_results_present
ation.py |
| 284 data = [ |
| 285 "//build/android/pylib/results/", |
| 286 ] |
| 287 if (defined(invoker.data)) { |
| 288 data += invoker.data |
| 289 } |
| 281 } | 290 } |
| 282 } | 291 } |
| 283 } | 292 } |
| 284 | 293 |
| 285 template("rtc_source_set") { | 294 template("rtc_source_set") { |
| 286 source_set(target_name) { | 295 source_set(target_name) { |
| 287 forward_variables_from(invoker, | 296 forward_variables_from(invoker, |
| 288 "*", | 297 "*", |
| 289 [ | 298 [ |
| 290 "configs", | 299 "configs", |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 configs += invoker.configs | 391 configs += invoker.configs |
| 383 configs -= rtc_remove_configs | 392 configs -= rtc_remove_configs |
| 384 configs -= invoker.suppressed_configs | 393 configs -= invoker.suppressed_configs |
| 385 public_configs = [ rtc_common_inherited_config ] | 394 public_configs = [ rtc_common_inherited_config ] |
| 386 if (defined(invoker.public_configs)) { | 395 if (defined(invoker.public_configs)) { |
| 387 public_configs += invoker.public_configs | 396 public_configs += invoker.public_configs |
| 388 } | 397 } |
| 389 } | 398 } |
| 390 } | 399 } |
| 391 } | 400 } |
| OLD | NEW |