OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'includes': [ | 6 'includes': [ |
7 '../../../build/common.gypi', | 7 '../../../build/common.gypi', |
8 ], | 8 ], |
9 'variables': { | 9 'variables': { |
10 'irt_sources': [ | 10 'irt_sources': [ |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 'aeabi_read_tp.S'], | 70 'aeabi_read_tp.S'], |
71 'cflags': ['--pnacl-allow-translate', | 71 'cflags': ['--pnacl-allow-translate', |
72 '-arch', 'arm'], | 72 '-arch', 'arm'], |
73 'asflags': ['-arch', 'arm'], | 73 'asflags': ['-arch', 'arm'], |
74 'link_flags': [ | 74 'link_flags': [ |
75 '-Wl,--section-start,.rodata=<(NACL_IRT_DATA_START)', | 75 '-Wl,--section-start,.rodata=<(NACL_IRT_DATA_START)', |
76 '-Wl,-Ttext=<(NACL_IRT_TEXT_START)', | 76 '-Wl,-Ttext=<(NACL_IRT_TEXT_START)', |
77 '--pnacl-allow-native', | 77 '--pnacl-allow-native', |
78 '-arch', 'arm', | 78 '-arch', 'arm', |
79 '-Wt,-mtls-use-call', | 79 '-Wt,-mtls-use-call', |
80 # TODO(olonho): rethink | |
81 '-L<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm', | |
82 ], | 80 ], |
83 }, | 81 }, |
84 ], | 82 ], |
85 ], | 83 ], |
86 }, | 84 }, |
87 'dependencies': [ | 85 'dependencies': [ |
88 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 86 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
89 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_lib_newlib', | 87 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_lib_newlib', |
90 ], | 88 ], |
91 }, | 89 }, |
(...skipping 14 matching lines...) Expand all Loading... |
106 }], | 104 }], |
107 ], | 105 ], |
108 }, | 106 }, |
109 'dependencies': [ | 107 'dependencies': [ |
110 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 108 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
111 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_lib_newlib', | 109 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_lib_newlib', |
112 ], | 110 ], |
113 }, | 111 }, |
114 ], | 112 ], |
115 } | 113 } |
OLD | NEW |