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/linux/pkg_config.gni") | 8 import("//build/config/linux/pkg_config.gni") |
9 import("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
10 import("//media/media_options.gni") | 10 import("//media/media_options.gni") |
(...skipping 30 matching lines...) Expand all Loading... |
41 } | 41 } |
42 } | 42 } |
43 | 43 |
44 if (use_ozone) { | 44 if (use_ozone) { |
45 action("generate_ozone_constructor_list") { | 45 action("generate_ozone_constructor_list") { |
46 # Ozone platform objects are auto-generated using similar | 46 # Ozone platform objects are auto-generated using similar |
47 # patterns for naming and classes constructors. Here we build the | 47 # patterns for naming and classes constructors. Here we build the |
48 # object MediaOzonePlatform. | 48 # object MediaOzonePlatform. |
49 script = "../ui/ozone/generate_constructor_list.py" | 49 script = "../ui/ozone/generate_constructor_list.py" |
50 | 50 |
51 platform_list_txt_file = "$target_gen_dir/ui/ozone/platform_list.txt" | 51 platform_list_txt_file = "$target_gen_dir/../ui/ozone/platform_list.txt" |
52 constructor_list_cc_file = "$target_gen_dir/media/ozone/constructor_list.cc" | 52 constructor_list_cc_file = "$target_gen_dir/../media/ozone/constructor_list.
cc" |
53 | 53 |
54 sources = [ platform_list_txt_file ] | 54 sources = [ platform_list_txt_file ] |
55 outputs = [ constructor_list_cc_file ] | 55 outputs = [ constructor_list_cc_file ] |
56 args = [ | 56 args = [ |
57 "--platform_list=$platform_list_txt_file", | 57 "--platform_list=" + rebase_path(platform_list_txt_file, root_build_dir), |
58 "--output_cc=$constructor_list_cc_file", | 58 "--output_cc=" + rebase_path(constructor_list_cc_file, root_build_dir), |
59 "--namespace=media", | 59 "--namespace=media", |
60 "--typename=MediaOzonePlatform", | 60 "--typename=MediaOzonePlatform", |
61 "--include=\"media/ozone/media_ozone_platform.h\"" | 61 "--include=\"media/ozone/media_ozone_platform.h\"" |
62 ] | 62 ] |
63 } | 63 } |
64 } | 64 } |
65 | 65 |
66 component("media") { | 66 component("media") { |
67 sources = [ | 67 sources = [ |
68 "cdm/aes_decryptor.cc", | 68 "cdm/aes_decryptor.cc", |
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
766 deps = [ | 766 deps = [ |
767 ":media", | 767 ":media", |
768 ":shared_memory_support", | 768 ":shared_memory_support", |
769 "//base", | 769 "//base", |
770 "//ui/gl", | 770 "//ui/gl", |
771 "//ui/gfx", | 771 "//ui/gfx", |
772 "//ui/gfx/geometry", | 772 "//ui/gfx/geometry", |
773 ] | 773 ] |
774 } | 774 } |
775 } | 775 } |
OLD | NEW |