| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'braille_test_data_dir': '<(PRODUCT_DIR)/chromevox_test_data/braille', | 7 'braille_test_data_dir': '<(PRODUCT_DIR)/chromevox_test_data/braille', |
| 8 'braille_chromevox_dir': '<(PRODUCT_DIR)/resources/chromeos/chromevox/chrome
vox/background/braille', | 8 'braille_chromevox_dir': '<(PRODUCT_DIR)/resources/chromeos/chromevox/chrome
vox/background/braille', |
| 9 'table_files': [ | 9 'table_files': [ |
| 10 '>!@pymod_do_main(liblouis_list_tables -D overrides/tables -D src/tables t
ables.json)', | 10 '>!@pymod_do_main(liblouis_list_tables -D overrides/tables -D src/tables t
ables.json)', |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 }], | 26 }], |
| 27 ], | 27 ], |
| 28 }, | 28 }, |
| 29 'includes': [ | 29 'includes': [ |
| 30 '../../build/common_untrusted.gypi', | 30 '../../build/common_untrusted.gypi', |
| 31 ], | 31 ], |
| 32 'conditions': [ | 32 'conditions': [ |
| 33 ['disable_nacl==0 and disable_nacl_untrusted==0', { | 33 ['disable_nacl==0 and disable_nacl_untrusted==0', { |
| 34 'targets': [ | 34 'targets': [ |
| 35 { | 35 { |
| 36 'target_name': 'liblouis_untrusted', | 36 'target_name': 'liblouis_nacl', |
| 37 'type': 'none', | 37 'type': 'none', |
| 38 'variables': { | 38 'variables': { |
| 39 'nacl_untrusted_build': 1, | 39 'nacl_untrusted_build': 1, |
| 40 'nlib_target': 'liblouis_untrusted.a', | 40 'nlib_target': 'liblouis_nacl.a', |
| 41 'build_newlib': 1, | 41 'build_newlib': 1, |
| 42 }, | 42 }, |
| 43 'compile_flags': [ | 43 'compile_flags': [ |
| 44 '-Wno-switch', | 44 '-Wno-switch', |
| 45 '-Wno-unused-but-set-variable', | 45 '-Wno-unused-but-set-variable', |
| 46 ], | 46 ], |
| 47 'include_dirs': [ | 47 'include_dirs': [ |
| 48 'overrides/liblouis', | 48 'overrides/liblouis', |
| 49 'src/liblouis', | 49 'src/liblouis', |
| 50 '.', | 50 '.', |
| (...skipping 10 matching lines...) Expand all Loading... |
| 61 'src/liblouis/lou_backTranslateString.c', | 61 'src/liblouis/lou_backTranslateString.c', |
| 62 'src/liblouis/lou_translateString.c', | 62 'src/liblouis/lou_translateString.c', |
| 63 'src/liblouis/transcommon.ci', | 63 'src/liblouis/transcommon.ci', |
| 64 'src/liblouis/wrappers.c', | 64 'src/liblouis/wrappers.c', |
| 65 ], | 65 ], |
| 66 'dependencies': [ | 66 'dependencies': [ |
| 67 '../../native_client/tools.gyp:prep_toolchain', | 67 '../../native_client/tools.gyp:prep_toolchain', |
| 68 ], | 68 ], |
| 69 }, | 69 }, |
| 70 { | 70 { |
| 71 'target_name': 'liblouis_nacl_wrapper_untrusted', | 71 'target_name': 'liblouis_nacl_wrapper_nacl', |
| 72 'type': 'none', | 72 'type': 'none', |
| 73 'variables': { | 73 'variables': { |
| 74 'nacl_untrusted_build': 1, | 74 'nacl_untrusted_build': 1, |
| 75 'nexe_target': 'liblouis_nacl', | 75 'nexe_target': 'liblouis_nacl', |
| 76 'out_newlib64': '<(braille_test_data_dir)/>(nexe_target)_x86_64.nexe
', | 76 'out_newlib64': '<(braille_test_data_dir)/>(nexe_target)_x86_64.nexe
', |
| 77 'out_newlib32': '<(braille_test_data_dir)/>(nexe_target)_x86_32.nexe
', | 77 'out_newlib32': '<(braille_test_data_dir)/>(nexe_target)_x86_32.nexe
', |
| 78 'out_newlib_arm': '<(braille_test_data_dir)/>(nexe_target)_arm.nexe'
, | 78 'out_newlib_arm': '<(braille_test_data_dir)/>(nexe_target)_arm.nexe'
, |
| 79 'build_newlib': 1, | 79 'build_newlib': 1, |
| 80 'extra_args': [ | 80 'extra_args': [ |
| 81 '--strip-debug', | 81 '--strip-debug', |
| (...skipping 17 matching lines...) Expand all Loading... |
| 99 'nacl_wrapper/liblouis_module.h', | 99 'nacl_wrapper/liblouis_module.h', |
| 100 'nacl_wrapper/liblouis_module.cc', | 100 'nacl_wrapper/liblouis_module.cc', |
| 101 'nacl_wrapper/liblouis_wrapper.h', | 101 'nacl_wrapper/liblouis_wrapper.h', |
| 102 'nacl_wrapper/liblouis_wrapper.cc', | 102 'nacl_wrapper/liblouis_wrapper.cc', |
| 103 'nacl_wrapper/translation_params.h', | 103 'nacl_wrapper/translation_params.h', |
| 104 'nacl_wrapper/translation_result.h', | 104 'nacl_wrapper/translation_result.h', |
| 105 ], | 105 ], |
| 106 'link_flags': [ | 106 'link_flags': [ |
| 107 '-lppapi', | 107 '-lppapi', |
| 108 '-lppapi_cpp', | 108 '-lppapi_cpp', |
| 109 '-llouis_untrusted', | 109 '-llouis_nacl', |
| 110 '-ljsoncpp_untrusted', | 110 '-ljsoncpp_nacl', |
| 111 '-lpthread', | 111 '-lpthread', |
| 112 '-lnacl_io', | 112 '-lnacl_io', |
| 113 ], | 113 ], |
| 114 'dependencies': [ | 114 'dependencies': [ |
| 115 '../../native_client/src/untrusted/nacl/nacl.gyp:nacl_lib', | 115 '../../native_client/src/untrusted/nacl/nacl.gyp:nacl_lib', |
| 116 '../../native_client/tools.gyp:prep_toolchain', | 116 '../../native_client/tools.gyp:prep_toolchain', |
| 117 '../../native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_unt
rusted', | 117 '../../native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_unt
rusted', |
| 118 '../../ppapi/native_client/native_client.gyp:ppapi_lib', | 118 '../../ppapi/native_client/native_client.gyp:ppapi_lib', |
| 119 '../../ppapi/ppapi_untrusted.gyp:ppapi_cpp_lib', | 119 '../../ppapi/ppapi_untrusted.gyp:ppapi_cpp_lib', |
| 120 '../jsoncpp/jsoncpp_untrusted.gyp:jsoncpp_untrusted', | 120 '../jsoncpp/jsoncpp_nacl.gyp:jsoncpp_nacl', |
| 121 'liblouis_untrusted', | 121 'liblouis_nacl', |
| 122 ], | 122 ], |
| 123 'actions': [ | 123 'actions': [ |
| 124 { | 124 { |
| 125 'action_name': 'Generate NEWLIB NMF', | 125 'action_name': 'Generate NEWLIB NMF', |
| 126 'inputs': [ | 126 'inputs': [ |
| 127 '>@(nexe_files)', | 127 '>@(nexe_files)', |
| 128 ], | 128 ], |
| 129 'outputs': ['>(nmf)'], | 129 'outputs': ['>(nmf)'], |
| 130 'action': [ | 130 'action': [ |
| 131 'python', | 131 'python', |
| (...skipping 22 matching lines...) Expand all Loading... |
| 154 }, | 154 }, |
| 155 ], | 155 ], |
| 156 }, | 156 }, |
| 157 { | 157 { |
| 158 'target_name': 'liblouis_test_data', | 158 'target_name': 'liblouis_test_data', |
| 159 'type': 'none', | 159 'type': 'none', |
| 160 'variables': { | 160 'variables': { |
| 161 'test_extension_dir': '<(DEPTH)/chrome/test/data/chromeos/liblouis_n
acl', | 161 'test_extension_dir': '<(DEPTH)/chrome/test/data/chromeos/liblouis_n
acl', |
| 162 }, | 162 }, |
| 163 'dependencies': [ | 163 'dependencies': [ |
| 164 'liblouis_nacl_wrapper_untrusted', | 164 'liblouis_nacl_wrapper_nacl', |
| 165 ], | 165 ], |
| 166 'copies': [ | 166 'copies': [ |
| 167 { | 167 { |
| 168 'destination': '<(braille_test_data_dir)', | 168 'destination': '<(braille_test_data_dir)', |
| 169 'files': [ | 169 'files': [ |
| 170 'tables.json', | 170 'tables.json', |
| 171 '<(test_extension_dir)/manifest.json', | 171 '<(test_extension_dir)/manifest.json', |
| 172 '<(test_extension_dir)/test.js', | 172 '<(test_extension_dir)/test.js', |
| 173 ], | 173 ], |
| 174 }, | 174 }, |
| 175 { | 175 { |
| 176 'destination': '<(braille_test_data_dir)/tables', | 176 'destination': '<(braille_test_data_dir)/tables', |
| 177 'files': [ | 177 'files': [ |
| 178 '<@(table_files)', | 178 '<@(table_files)', |
| 179 ], | 179 ], |
| 180 }, | 180 }, |
| 181 ], | 181 ], |
| 182 }, | 182 }, |
| 183 ], | 183 ], |
| 184 }], | 184 }], |
| 185 ], | 185 ], |
| 186 } | 186 } |
| OLD | NEW |