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

Unified Diff: chrome/browser/resources/chromeos/chromevox/BUILD.gn

Issue 1277183003: Add ChromeVox panel and implement caption display functionality. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix GN build Created 5 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 | « no previous file | chrome/browser/resources/chromeos/chromevox/chromevox.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/chromevox/BUILD.gn
diff --git a/chrome/browser/resources/chromeos/chromevox/BUILD.gn b/chrome/browser/resources/chromeos/chromevox/BUILD.gn
index 105a1dbde8e917d5a1291d4b426491767819e0c2..c3bce7ef6a5ab8a5c835a977c7650cc9e1b9f292 100644
--- a/chrome/browser/resources/chromeos/chromevox/BUILD.gn
+++ b/chrome/browser/resources/chromeos/chromevox/BUILD.gn
@@ -31,10 +31,11 @@ group("chromevox") {
]
if (chromevox_compress_js) {
deps += [
- ":chromevox1_content_script",
- ":chromevox1_kbexplorer_script",
- ":chromevox1_options_script",
- ":chromevox2_background_script",
+ ":chromevox_content_script",
+ ":chromevox_kbexplorer_script",
+ ":chromevox_options_script",
+ ":chromevox_background_script",
+ ":chromevox_panel_script",
]
} else {
deps += [ ":chromevox_deps_js" ]
@@ -133,7 +134,7 @@ chromevox_vars_gypi_values = exec_script("//build/gypi_to_gn.py",
run_jsbundler("chromevox_copied_files") {
mode = "copy"
dest_dir = chromevox_out_dir
- sources = chromevox_assets_gypi_values.chromevox_assets_chromevox
+ sources = chromevox_assets_gypi_values.chromevox_assets_images
sources +=
chromevox_assets_gypi_values.chromevox_assets_chromevox_background_earcons
sources +=
@@ -148,6 +149,7 @@ run_jsbundler("chromevox_copied_files") {
"chromevox/background/options.html",
"chromevox/injected/api.js",
"cvox2/background/background.html",
+ "cvox2/background/panel.html",
]
if (chromevox_compress_js) {
sources += [ "chromevox/injected/api_util.js" ]
@@ -155,10 +157,11 @@ run_jsbundler("chromevox_copied_files") {
sources += chromevox_modules
sources += [
"closure/closure_preinit.js",
- chromevox_vars_gypi_values.chromevox1_content_script_loader_file,
- chromevox_vars_gypi_values.chromevox1_kbexplorer_loader_file,
- chromevox_vars_gypi_values.chromevox1_options_script_loader_file,
- chromevox_vars_gypi_values.chromevox2_background_script_loader_file,
+ chromevox_vars_gypi_values.chromevox_content_script_loader_file,
+ chromevox_vars_gypi_values.chromevox_kbexplorer_loader_file,
+ chromevox_vars_gypi_values.chromevox_options_script_loader_file,
+ chromevox_vars_gypi_values.chromevox_background_script_loader_file,
+ chromevox_vars_gypi_values.chromevox_panel_script_loader_file,
]
}
if (!chromevox_compress_js) {
@@ -256,33 +259,40 @@ if (chromevox_compress_js) {
}
}
- compress_js("chromevox1_content_script") {
+ compress_js("chromevox_content_script") {
sources = [
- chromevox_vars_gypi_values.chromevox1_content_script_loader_file,
+ chromevox_vars_gypi_values.chromevox_content_script_loader_file,
]
output_file = "$chromevox_out_dir/chromeVoxChromePageScript.js"
}
- compress_js("chromevox1_kbexplorer_script") {
+ compress_js("chromevox_kbexplorer_script") {
sources = [
- chromevox_vars_gypi_values.chromevox1_kbexplorer_loader_file,
+ chromevox_vars_gypi_values.chromevox_kbexplorer_loader_file,
]
output_file = "$chromevox_out_dir/chromeVoxKbExplorerScript.js"
}
- compress_js("chromevox1_options_script") {
+ compress_js("chromevox_options_script") {
sources = [
- chromevox_vars_gypi_values.chromevox1_options_script_loader_file,
+ chromevox_vars_gypi_values.chromevox_options_script_loader_file,
]
output_file = "$chromevox_out_dir/chromeVoxChromeOptionsScript.js"
}
- compress_js("chromevox2_background_script") {
+ compress_js("chromevox_background_script") {
sources = [
- chromevox_vars_gypi_values.chromevox2_background_script_loader_file,
+ chromevox_vars_gypi_values.chromevox_background_script_loader_file,
]
output_file = "$chromevox_out_dir/chromeVox2ChromeBackgroundScript.js"
}
+
+ compress_js("chromevox_panel_script") {
+ sources = [
+ chromevox_vars_gypi_values.chromevox_panel_script_loader_file,
+ ]
+ output_file = "$chromevox_out_dir/chromeVoxPanelScript.js"
+ }
} else {
generate_deps_js("chromevox_deps_js") {
sources = chromevox_modules + closure_library_modules
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/chromevox/chromevox.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698