OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//build/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
6 import("//build/config/arm.gni") | 6 import("//build/config/arm.gni") |
7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 import("//build/config/linux/pkg_config.gni") | 9 import("//build/config/linux/pkg_config.gni") |
10 import("//media/media_options.gni") | 10 import("//media/media_options.gni") |
11 import("//testing/libfuzzer/fuzzer_test.gni") | 11 import("//testing/libfuzzer/fuzzer_test.gni") |
12 | 12 |
| 13 if (is_android) { |
| 14 import("//build/config/android/rules.gni") |
| 15 } |
| 16 |
13 config("base_config") { | 17 config("base_config") { |
14 configs = [ | 18 configs = [ |
15 # This target uses the ALLOCATOR_SHIM define. | 19 # This target uses the ALLOCATOR_SHIM define. |
16 "//base/allocator:allocator_shim_define", | 20 "//base/allocator:allocator_shim_define", |
17 "//build/config:precompiled_headers", | 21 "//build/config:precompiled_headers", |
18 "//build/config/compiler:no_size_t_to_int_warning", | 22 "//build/config/compiler:no_size_t_to_int_warning", |
19 "//media:media_config", | 23 "//media:media_config", |
20 "//media:media_dependent_config", | 24 "//media:media_dependent_config", |
21 "//media:media_implementation", | 25 "//media:media_implementation", |
22 ] | 26 ] |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 "//content/browser", | 348 "//content/browser", |
345 "//content/public/common:common_sources", | 349 "//content/public/common:common_sources", |
346 "//media/base", | 350 "//media/base", |
347 "//media/capture", | 351 "//media/capture", |
348 ] | 352 ] |
349 sources = [ | 353 sources = [ |
350 "video_facing.h", | 354 "video_facing.h", |
351 ] | 355 ] |
352 } | 356 } |
353 | 357 |
| 358 if (is_android) { |
| 359 java_cpp_enum("java_enums") { |
| 360 sources = [ |
| 361 "encryption_scheme.h", |
| 362 "video_codecs.h", |
| 363 ] |
| 364 } |
| 365 } |
| 366 |
354 static_library("test_support") { | 367 static_library("test_support") { |
355 testonly = true | 368 testonly = true |
356 sources = [ | 369 sources = [ |
357 "fake_audio_render_callback.cc", | 370 "fake_audio_render_callback.cc", |
358 "fake_audio_render_callback.h", | 371 "fake_audio_render_callback.h", |
359 "fake_audio_renderer_sink.cc", | 372 "fake_audio_renderer_sink.cc", |
360 "fake_audio_renderer_sink.h", | 373 "fake_audio_renderer_sink.h", |
361 "fake_demuxer_stream.cc", | 374 "fake_demuxer_stream.cc", |
362 "fake_demuxer_stream.h", | 375 "fake_demuxer_stream.h", |
363 "fake_localized_strings.cc", | 376 "fake_localized_strings.cc", |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
545 | 558 |
546 fuzzer_test("media_container_names_fuzzer") { | 559 fuzzer_test("media_container_names_fuzzer") { |
547 sources = [ | 560 sources = [ |
548 "container_names_fuzzertest.cc", | 561 "container_names_fuzzertest.cc", |
549 ] | 562 ] |
550 deps = [ | 563 deps = [ |
551 "//base", | 564 "//base", |
552 "//media", | 565 "//media", |
553 ] | 566 ] |
554 } | 567 } |
OLD | NEW |