Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Side by Side Diff: media/BUILD.gn

Issue 705623004: GN: Get os="chromeos" use_ozone=true to compile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more fixes, build chrome and app_shell Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « extensions/shell/BUILD.gn ('k') | ui/aura/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « extensions/shell/BUILD.gn ('k') | ui/aura/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698