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

Unified Diff: third_party/liblouis/liblouis_nacl.gyp

Issue 2332843004: Remove GYP files. (Closed)
Patch Set: Merge Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libjpeg/libjpeg.gyp ('k') | third_party/libphonenumber/libphonenumber.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/liblouis/liblouis_nacl.gyp
diff --git a/third_party/liblouis/liblouis_nacl.gyp b/third_party/liblouis/liblouis_nacl.gyp
deleted file mode 100644
index 924b5caf1d298d870b5e31c7909c07a3e060ff3d..0000000000000000000000000000000000000000
--- a/third_party/liblouis/liblouis_nacl.gyp
+++ /dev/null
@@ -1,194 +0,0 @@
-# Copyright 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-{
- 'variables': {
- 'braille_test_data_dir': '<(PRODUCT_DIR)/chromevox_test_data/braille',
- 'braille_chromevox_dir': '<(PRODUCT_DIR)/resources/chromeos/chromevox/braille',
- 'table_files': [
- '>!@pymod_do_main(liblouis_list_tables -D . -D src/tables -e cvox-common.cti tables.json)',
- ],
- },
- # x86 targets build both 32 and 64 bit binaries by default. We only need
- # the one that matches our target architecture.
- 'target_defaults': {
- 'conditions': [
- ['target_arch=="ia32"', {
- 'variables': {
- 'enable_x86_64': 0,
- },
- }],
- ['target_arch=="x64"', {
- 'variables': {
- 'enable_x86_32': 0,
- },
- }],
- ],
- },
- 'includes': [
- '../../build/common_untrusted.gypi',
- ],
- 'conditions': [
- ['disable_nacl==0 and disable_nacl_untrusted==0', {
- 'targets': [
- {
- 'target_name': 'liblouis_nacl',
- 'type': 'none',
- 'variables': {
- 'nacl_untrusted_build': 1,
- 'nlib_target': 'liblouis_nacl.a',
- 'build_newlib': 1,
- },
- 'compile_flags': [
- # Needed for target_arch=mipsel
- # src/liblouis/compileTranslationTable.c:1414
- '-Wno-tautological-compare',
- # Needed for target_arch=mipsel
- # src/liblouis/logging.c:58
- '-Wno-non-literal-null-conversion',
- ],
- 'include_dirs': [
- 'overrides/liblouis',
- 'src/liblouis',
- '.',
- '../..',
- ],
- 'direct_dependent_settings': {
- 'include_dirs': [
- 'overrides',
- ],
- },
- 'sources': [
- 'overrides/liblouis/config.h',
- 'overrides/liblouis/liblouis.h',
- 'src/liblouis/compileTranslationTable.c',
- 'src/liblouis/logging.c',
- 'src/liblouis/lou_backTranslateString.c',
- 'src/liblouis/lou_translateString.c',
- 'src/liblouis/transcommon.ci',
- 'src/liblouis/wrappers.c',
- ],
- },
- {
- 'target_name': 'liblouis_nacl_wrapper_nacl',
- 'type': 'none',
- 'variables': {
- 'nacl_untrusted_build': 1,
- 'nexe_target': 'liblouis_nacl',
- 'out_newlib64': '<(braille_test_data_dir)/>(nexe_target)_x86_64.nexe',
- 'out_newlib32': '<(braille_test_data_dir)/>(nexe_target)_x86_32.nexe',
- 'out_newlib_arm': '<(braille_test_data_dir)/>(nexe_target)_arm.nexe',
- 'out_newlib_mips': '<(braille_test_data_dir)/>(nexe_target)_mips32.nexe',
- 'build_newlib': 1,
- 'extra_args': [
- '--strip-debug',
- ],
- 'nmf': '<(braille_test_data_dir)/>(nexe_target).nmf',
- 'target_conditions': [
- ['enable_x86_64==1', {
- 'nexe_files': ['>(out_newlib64)'],
- }],
- ['enable_x86_32==1', {
- 'nexe_files': ['>(out_newlib32)'],
- }],
- ['enable_arm==1', {
- 'nexe_files': ['>(out_newlib_arm)'],
- }],
- ['enable_mips==1', {
- 'nexe_files': ['>(out_newlib_mips)'],
- }],
- ],
- },
- 'sources': [
- 'nacl_wrapper/liblouis_instance.h',
- 'nacl_wrapper/liblouis_instance.cc',
- 'nacl_wrapper/liblouis_module.h',
- 'nacl_wrapper/liblouis_module.cc',
- 'nacl_wrapper/liblouis_wrapper.h',
- 'nacl_wrapper/liblouis_wrapper.cc',
- 'nacl_wrapper/translation_params.h',
- 'nacl_wrapper/translation_result.h',
- ],
- 'link_flags': [
- '-lppapi',
- '-lppapi_cpp',
- '-llouis_nacl',
- '-ljsoncpp_nacl',
- '-lpthread',
- '-lnacl_io',
- ],
- 'dependencies': [
- '../../native_client/src/untrusted/nacl/nacl.gyp:nacl_lib',
- '../../native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untrusted',
- '../../ppapi/native_client/native_client.gyp:ppapi_lib',
- '../../ppapi/ppapi_nacl.gyp:ppapi_cpp_lib',
- '../jsoncpp/jsoncpp_nacl.gyp:jsoncpp_nacl',
- 'liblouis_nacl',
- ],
- 'actions': [
- {
- 'action_name': 'Generate NEWLIB NMF',
- 'inputs': [
- '>@(nexe_files)',
- ],
- 'outputs': ['>(nmf)'],
- 'action': [
- 'python',
- '<(DEPTH)/native_client_sdk/src/tools/create_nmf.py',
- '>@(_inputs)',
- '--output=>(nmf)',
- '--no-default-libpath',
- '--objdump=>(nacl_glibc_tc_root)/bin/x86_64-nacl-objdump',
- ],
- },
- ],
- # Copy specific files into the product directory to avoid
- # copying over the unstripped binary file.
- 'copies': [
- {
- 'destination': '<(braille_chromevox_dir)',
- 'files': [
- '<(nmf)',
- '>@(nexe_files)',
- 'tables.json',
- ],
- },
- {
- 'destination': '<(braille_chromevox_dir)/tables',
- 'files': [
- '<@(table_files)',
- ],
- },
- ],
- },
- {
- 'target_name': 'liblouis_test_data',
- 'type': 'none',
- 'variables': {
- 'test_extension_dir': '<(DEPTH)/chrome/test/data/chromeos/liblouis_nacl',
- },
- 'dependencies': [
- 'liblouis_nacl_wrapper_nacl',
- ],
- 'copies': [
- {
- 'destination': '<(braille_test_data_dir)',
- 'files': [
- 'tables.json',
- '<(test_extension_dir)/manifest.json',
- '<(test_extension_dir)/test.js',
- ],
- },
- {
- 'destination': '<(braille_test_data_dir)/tables',
- 'files': [
- '<@(table_files)',
- ],
- },
- ],
- },
- ],
- }],
- ],
-}
« no previous file with comments | « third_party/libjpeg/libjpeg.gyp ('k') | third_party/libphonenumber/libphonenumber.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698