Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 import("//mojo/public/mojo_application.gni") | 7 import("//mojo/public/mojo_application.gni") |
| 8 import("//mojo/public/mojo_application_manifest.gni") | 8 import("//mojo/public/mojo_application_manifest.gni") |
| 9 import("//mojo/public/mojo_constants.gni") | 9 import("//mojo/public/mojo_constants.gni") |
| 10 import("//tools/grit/repack.gni") | 10 import("//tools/grit/repack.gni") |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 111 if (use_x11) { | 111 if (use_x11) { |
| 112 public_configs = [ "//build/config/linux:x11" ] | 112 public_configs = [ "//build/config/linux:x11" ] |
| 113 public_deps += [ "//ui/events/platform/x11" ] | 113 public_deps += [ "//ui/events/platform/x11" ] |
| 114 } | 114 } |
| 115 | 115 |
| 116 if (use_ozone) { | 116 if (use_ozone) { |
| 117 deps += [ "//ui/ozone:ozone" ] | 117 deps += [ "//ui/ozone:ozone" ] |
| 118 } | 118 } |
| 119 } | 119 } |
| 120 | 120 |
| 121 resource_out_dir = "$root_out_dir/$mojo_application_subdir/mus/resources" | |
|
sky
2016/04/08 21:53:45
Similar comment here.
kylechar
2016/04/11 13:16:33
Hmm. So there are two implementations of //compone
sky
2016/04/11 15:00:30
I don't think mus works well on android at this po
| |
| 122 | |
| 121 repack("resources_strings") { | 123 repack("resources_strings") { |
| 122 sources = [ | 124 sources = [ |
| 123 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", | 125 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", |
| 124 ] | 126 ] |
| 125 output = "$root_out_dir/$mojo_application_subdir/mus/resources/mus_app_resourc es_strings.pak" | 127 output = "$resource_out_dir/mus_app_resources_strings.pak" |
| 126 deps = [ | 128 deps = [ |
| 127 "//ui/strings", | 129 "//ui/strings", |
| 128 ] | 130 ] |
| 129 } | 131 } |
| 130 | 132 |
| 131 repack("resources_100") { | 133 repack("resources_100") { |
| 132 sources = [ | 134 sources = [ |
| 133 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", | 135 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", |
| 134 ] | 136 ] |
| 135 output = "$root_out_dir/$mojo_application_subdir/mus/resources/mus_app_resourc es_100.pak" | 137 output = "$resource_out_dir/mus_app_resources_100.pak" |
| 136 deps = [ | 138 deps = [ |
| 137 "//ui/resources", | 139 "//ui/resources", |
| 138 ] | 140 ] |
| 139 } | 141 } |
| 140 | 142 |
| 141 repack("resources_200") { | 143 repack("resources_200") { |
| 142 sources = [ | 144 sources = [ |
| 143 "$root_gen_dir/ui/resources/ui_resources_200_percent.pak", | 145 "$root_gen_dir/ui/resources/ui_resources_200_percent.pak", |
| 144 ] | 146 ] |
| 145 output = "$root_out_dir/$mojo_application_subdir/mus/resources/mus_app_resourc es_200.pak" | 147 output = "$resource_out_dir/mus_app_resources_200.pak" |
| 146 deps = [ | 148 deps = [ |
| 147 "//ui/resources", | 149 "//ui/resources", |
| 148 ] | 150 ] |
| 149 } | 151 } |
| OLD | NEW |