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/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//build/config/linux/pkg_config.gni") | 8 import("//build/config/linux/pkg_config.gni") |
9 import("//media/media_options.gni") | 9 import("//media/media_options.gni") |
10 | 10 |
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 | 511 |
512 # Used for the generated listing header (ui/ozone/platform_list.h) | 512 # Used for the generated listing header (ui/ozone/platform_list.h) |
513 include_dirs += [ target_gen_dir ] | 513 include_dirs += [ target_gen_dir ] |
514 | 514 |
515 sources += [ | 515 sources += [ |
516 constructor_list_cc_file, | 516 constructor_list_cc_file, |
517 "ozone/media_ozone_platform.cc", | 517 "ozone/media_ozone_platform.cc", |
518 "ozone/media_ozone_platform.h", | 518 "ozone/media_ozone_platform.h", |
519 ] | 519 ] |
520 | 520 |
521 deps += [ "//ui/ozone/ozone" ] | 521 deps += [ "//ui/ozone" ] |
522 | 522 |
523 action("generate_constructor_list") { | 523 action("generate_constructor_list") { |
524 # Ozone platform objects are auto-generated using similar | 524 # Ozone platform objects are auto-generated using similar |
525 # patterns for naming and classes constructors. Here we build the | 525 # patterns for naming and classes constructors. Here we build the |
526 # object MediaOzonePlatform. | 526 # object MediaOzonePlatform. |
527 script = "../ui/ozone/generate_constructor_list.py" | 527 script = "../ui/ozone/generate_constructor_list.py" |
528 sources = [ platform_list_txt_file ] | 528 inputs = [ platform_list_txt_file ] |
529 outputs = [ constructor_list_cc_file ] | 529 outputs = [ constructor_list_cc_file ] |
530 args += [ | 530 args = [ |
531 "--platform_list=$platform_list_txt_file", | 531 "--platform_list=$platform_list_txt_file", |
532 "--output_cc=$constructor_list_cc_file", | 532 "--output_cc=$constructor_list_cc_file", |
533 "--namespace=media", | 533 "--namespace=media", |
534 "--typename=MediaOzonePlatform", | 534 "--typename=MediaOzonePlatform", |
535 "--include=\"media/ozone/media_ozone_platform.h\"" | 535 "--include=\"media/ozone/media_ozone_platform.h\"" |
536 ] | 536 ] |
537 } | 537 } |
538 } | 538 } |
539 | 539 |
540 if (is_mac) { | 540 if (is_mac) { |
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1173 "base/android/java/src/org/chromium/media/ImageFormat.template", | 1173 "base/android/java/src/org/chromium/media/ImageFormat.template", |
1174 ] | 1174 ] |
1175 inputs = [ | 1175 inputs = [ |
1176 "video/capture/android/imageformat_list.h" | 1176 "video/capture/android/imageformat_list.h" |
1177 ] | 1177 ] |
1178 package_name = "org/chromium/media" | 1178 package_name = "org/chromium/media" |
1179 } | 1179 } |
1180 | 1180 |
1181 # TODO(dalecurtis): Finish media_unittests_apk and media_perftests_apk. | 1181 # TODO(dalecurtis): Finish media_unittests_apk and media_perftests_apk. |
1182 } | 1182 } |
OLD | NEW |