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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/shell/BUILD.gn ('k') | ui/aura/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/BUILD.gn
diff --git a/media/BUILD.gn b/media/BUILD.gn
index 280dc3d84dce0bc8e59d813bcedc52aa0886442d..eb84abb632011c54a91ddc3b62b717abc9a85801 100644
--- a/media/BUILD.gn
+++ b/media/BUILD.gn
@@ -48,14 +48,14 @@ if (use_ozone) {
# object MediaOzonePlatform.
script = "../ui/ozone/generate_constructor_list.py"
- platform_list_txt_file = "$target_gen_dir/ui/ozone/platform_list.txt"
- constructor_list_cc_file = "$target_gen_dir/media/ozone/constructor_list.cc"
+ platform_list_txt_file = "$target_gen_dir/../ui/ozone/platform_list.txt"
+ constructor_list_cc_file = "$target_gen_dir/../media/ozone/constructor_list.cc"
sources = [ platform_list_txt_file ]
outputs = [ constructor_list_cc_file ]
args = [
- "--platform_list=$platform_list_txt_file",
- "--output_cc=$constructor_list_cc_file",
+ "--platform_list=" + rebase_path(platform_list_txt_file, root_build_dir),
+ "--output_cc=" + rebase_path(constructor_list_cc_file, root_build_dir),
"--namespace=media",
"--typename=MediaOzonePlatform",
"--include=\"media/ozone/media_ozone_platform.h\""
« 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