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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 '../build/common_untrusted.gypi', | 10 '../build/common_untrusted.gypi', |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
60 }, | 60 }, |
61 'dependencies': [ | 61 'dependencies': [ |
62 '<(DEPTH)/third_party/icu/icu_nacl.gyp:icudata_nacl', | 62 '<(DEPTH)/third_party/icu/icu_nacl.gyp:icudata_nacl', |
63 '<(DEPTH)/third_party/icu/icu_nacl.gyp:icui18n_nacl', | 63 '<(DEPTH)/third_party/icu/icu_nacl.gyp:icui18n_nacl', |
64 '<(DEPTH)/third_party/icu/icu_nacl.gyp:icuuc_nacl', | 64 '<(DEPTH)/third_party/icu/icu_nacl.gyp:icuuc_nacl', |
65 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 65 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
66 ], | 66 ], |
67 }, | 67 }, |
68 ], | 68 ], |
69 }], | 69 }], |
70 ['disable_nacl==0', { | |
71 'targets': [ | |
72 { | |
73 'target_name': 'base_nacl_nonsfi', | |
74 'type': 'none', | |
75 'include_dirs': [ | |
76 '<(DEPTH)/native_client/src/public/linux_syscalls', | |
Lei Zhang
2014/10/14 21:32:23
It's a bit weird for base to depend on things, but
hidehiko
2014/10/15 02:20:55
The PNaCl toolchain does not provide some header f
Mark Seaborn
2014/10/16 23:03:09
As an aside: I suppose this could be added to inc
hidehiko
2014/10/17 04:44:57
I think, yes. Please let me send out a separate CL
| |
77 ], | |
78 'variables': { | |
79 'base_target': 1, | |
80 'nacl_untrusted_build': 1, | |
81 'nlib_target': 'libbase_nacl_nonsfi.a', | |
82 'build_glibc': 0, | |
83 'build_newlib': 0, | |
84 'build_irt': 0, | |
85 'build_pnacl_newlib': 0, | |
86 'build_nonsfi_helper': 1, | |
87 | |
88 'sources': [ | |
89 'base_switches.cc', | |
90 'base_switches.h', | |
91 | |
92 # For PathExists and ReadFromFD. | |
93 'files/file_util_posix.cc', | |
94 | |
95 # For MessageLoopForIO based on libevent. | |
96 'message_loop/message_pump_libevent.cc', | |
97 'message_loop/message_pump_libevent.h', | |
98 | |
99 # For UnixDomainSocket::SendMsg and RecvMsg. | |
100 'posix/unix_domain_socket_linux.cc', | |
101 | |
102 # For GetKnownDeadTerminationStatus and GetTerminationStatus. | |
103 'process/kill_posix.cc', | |
104 | |
105 # Unlike libbase_nacl, for Non-SFI build, we need to use | |
106 # rand_util_posix for random implementation, intead of | |
Lei Zhang
2014/10/14 21:32:23
typo: "intead"
hidehiko
2014/10/15 02:20:55
Done.
| |
107 # rand_util_nacl.cc, which is based on IRT. rand_util_nacl.cc is | |
108 # excluded below. | |
109 'rand_util_posix.cc', | |
110 | |
111 # For CancelableSyncSocket. | |
112 'sync_socket_nacl.cc', | |
113 ], | |
114 }, | |
115 'sources!': [ | |
116 'rand_util_nacl.cc', | |
Lei Zhang
2014/10/14 21:32:23
I don't think you need this because rand_util_nacl
hidehiko
2014/10/15 02:20:55
rand_util_nacl.cc is actually included in base.gyp
Lei Zhang
2014/10/15 06:04:02
Ah, I see the "sources" above is a variable. That'
| |
117 ], | |
118 'dependencies': [ | |
119 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | |
120 '<(DEPTH)/third_party/libevent/libevent_nacl_nonsfi.gyp:event_nacl_n onsfi', | |
121 ], | |
122 }, | |
123 ], | |
124 }], | |
70 ], | 125 ], |
71 } | 126 } |
OLD | NEW |