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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/BUILD.gn

Issue 1832423003: Fix gn build when nacl is disabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/features.gni") 5 import("//build/config/features.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 import("//chrome/test/base/js2gtest.gni") 7 import("//chrome/test/base/js2gtest.gni")
8 import("chromevox.gni") 8 import("chromevox.gni")
9 9
10 assert(is_chromeos) 10 assert(is_chromeos)
11 11
12 declare_args() { 12 declare_args() {
13 # Whether to compress the main Chromevox javascript files or load the 13 # Whether to compress the main Chromevox javascript files or load the
14 # modules individually from source files. 14 # modules individually from source files.
15 chromevox_compress_js = !is_debug 15 chromevox_compress_js = !is_debug
16 } 16 }
17 17
18 chromevox_out_dir = "$root_out_dir/resources/chromeos/chromevox" 18 chromevox_out_dir = "$root_out_dir/resources/chromeos/chromevox"
19 19
20 group("chromevox") { 20 group("chromevox") {
21 deps = [ 21 deps = [
22 ":chromevox_copied_files", 22 ":chromevox_copied_files",
23 ":chromevox_guest_manifest", 23 ":chromevox_guest_manifest",
24 ":chromevox_manifest", 24 ":chromevox_manifest",
25 "//chrome/browser/resources/chromeos/braille_ime:braille_ime_manifest", 25 "//chrome/browser/resources/chromeos/braille_ime:braille_ime_manifest",
26 "//chrome/browser/resources/chromeos/chromevox/strings:chromevox_strings", 26 "//chrome/browser/resources/chromeos/chromevox/strings:chromevox_strings",
27 "//chrome/third_party/chromevox:chromevox_third_party_resources", 27 "//chrome/third_party/chromevox:chromevox_third_party_resources",
28 "//third_party/liblouis",
29 ] 28 ]
29 if (enable_nacl) {
30 deps += [ "//third_party/liblouis" ]
31 }
30 if (chromevox_compress_js) { 32 if (chromevox_compress_js) {
31 deps += [ 33 deps += [
32 ":chromevox_background_script", 34 ":chromevox_background_script",
33 ":chromevox_content_script", 35 ":chromevox_content_script",
34 ":chromevox_kbexplorer_script", 36 ":chromevox_kbexplorer_script",
35 ":chromevox_options_script", 37 ":chromevox_options_script",
36 ":chromevox_panel_script", 38 ":chromevox_panel_script",
37 ] 39 ]
38 } else { 40 } else {
39 deps += [ ":chromevox_deps_js" ] 41 deps += [ ":chromevox_deps_js" ]
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] 392 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
391 } 393 }
392 394
393 js2gtest("chromevox_extjs_tests") { 395 js2gtest("chromevox_extjs_tests") {
394 test_type = "extension" 396 test_type = "extension"
395 sources = chromevox_tests_gypi_values.chromevox_tests_extjs_sources 397 sources = chromevox_tests_gypi_values.chromevox_tests_extjs_sources
396 gen_include_files = 398 gen_include_files =
397 chromevox_tests_gypi_values.chromevox_tests_ext_gen_include_sources 399 chromevox_tests_gypi_values.chromevox_tests_ext_gen_include_sources
398 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] 400 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
399 } 401 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698