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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 } | 352 } |
349 | 353 |
350 if (is_linux || is_win) { | 354 if (is_linux || is_win) { |
351 sources += [ | 355 sources += [ |
352 "keyboard_event_counter.cc", | 356 "keyboard_event_counter.cc", |
353 "keyboard_event_counter.h", | 357 "keyboard_event_counter.h", |
354 ] | 358 ] |
355 } | 359 } |
356 } | 360 } |
357 | 361 |
| 362 if (is_android) { |
| 363 java_cpp_enum("java_enums") { |
| 364 sources = [ |
| 365 "encryption_scheme.h", |
| 366 "video_codecs.h", |
| 367 ] |
| 368 } |
| 369 } |
| 370 |
358 static_library("test_support") { | 371 static_library("test_support") { |
359 testonly = true | 372 testonly = true |
360 sources = [ | 373 sources = [ |
361 "fake_audio_render_callback.cc", | 374 "fake_audio_render_callback.cc", |
362 "fake_audio_render_callback.h", | 375 "fake_audio_render_callback.h", |
363 "fake_audio_renderer_sink.cc", | 376 "fake_audio_renderer_sink.cc", |
364 "fake_audio_renderer_sink.h", | 377 "fake_audio_renderer_sink.h", |
365 "fake_demuxer_stream.cc", | 378 "fake_demuxer_stream.cc", |
366 "fake_demuxer_stream.h", | 379 "fake_demuxer_stream.h", |
367 "fake_localized_strings.cc", | 380 "fake_localized_strings.cc", |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
618 | 631 |
619 fuzzer_test("media_container_names_fuzzer") { | 632 fuzzer_test("media_container_names_fuzzer") { |
620 sources = [ | 633 sources = [ |
621 "container_names_fuzzertest.cc", | 634 "container_names_fuzzertest.cc", |
622 ] | 635 ] |
623 deps = [ | 636 deps = [ |
624 "//base", | 637 "//base", |
625 "//media", | 638 "//media", |
626 ] | 639 ] |
627 } | 640 } |
OLD | NEW |