summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorTreehugger Robot2018-06-20 16:19:49 -0500
committerGerrit Code Review2018-06-20 16:19:49 -0500
commitb0e193c609642c260f18a6a4a9c9b984b131cedf (patch)
tree123a02ea24218e759d98f0ce1fc25c7129024547 /init
parentab8131f18ff73f209de7cc35d77366ebff3931cb (diff)
parentf567367584aaa8eb5f3b701e0548876de1cad2d0 (diff)
downloadplatform-system-core-b0e193c609642c260f18a6a4a9c9b984b131cedf.tar.gz
platform-system-core-b0e193c609642c260f18a6a4a9c9b984b131cedf.tar.xz
platform-system-core-b0e193c609642c260f18a6a4a9c9b984b131cedf.zip
Merge "init: dummy host_init_verifier for mac"
Diffstat (limited to 'init')
-rw-r--r--init/Android.bp52
-rw-r--r--init/mac_init_verifier.cpp19
2 files changed, 46 insertions, 25 deletions
diff --git a/init/Android.bp b/init/Android.bp
index cf7637f96..da0895f94 100644
--- a/init/Android.bp
+++ b/init/Android.bp
@@ -227,39 +227,41 @@ cc_binary {
227 "liblog", 227 "liblog",
228 "libcutils", 228 "libcutils",
229 ], 229 ],
230 srcs: [
231 "action.cpp",
232 "action_manager.cpp",
233 "action_parser.cpp",
234 "capabilities.cpp",
235 "descriptors.cpp",
236 "epoll.cpp",
237 "keychords.cpp",
238 "import_parser.cpp",
239 "host_import_parser.cpp",
240 "host_init_verifier.cpp",
241 "host_init_stubs.cpp",
242 "parser.cpp",
243 "rlimit_parser.cpp",
244 "tokenizer.cpp",
245 "service.cpp",
246 "subcontext.cpp",
247 "subcontext.proto",
248 "util.cpp",
249 ],
250 proto: { 230 proto: {
251 type: "lite", 231 type: "lite",
252 }, 232 },
253 generated_headers: [
254 "generated_stub_builtin_function_map",
255 "generated_android_ids"
256 ],
257 target: { 233 target: {
234 linux: {
235 srcs: [
236 "action.cpp",
237 "action_manager.cpp",
238 "action_parser.cpp",
239 "capabilities.cpp",
240 "descriptors.cpp",
241 "epoll.cpp",
242 "keychords.cpp",
243 "import_parser.cpp",
244 "host_import_parser.cpp",
245 "host_init_verifier.cpp",
246 "host_init_stubs.cpp",
247 "parser.cpp",
248 "rlimit_parser.cpp",
249 "tokenizer.cpp",
250 "service.cpp",
251 "subcontext.cpp",
252 "subcontext.proto",
253 "util.cpp",
254 ],
255 generated_headers: [
256 "generated_stub_builtin_function_map",
257 "generated_android_ids",
258 ],
259 },
258 android: { 260 android: {
259 enabled: false, 261 enabled: false,
260 }, 262 },
261 darwin: { 263 darwin: {
262 enabled: false, 264 srcs: ["mac_init_verifier.cpp"],
263 }, 265 },
264 }, 266 },
265} 267}
diff --git a/init/mac_init_verifier.cpp b/init/mac_init_verifier.cpp
new file mode 100644
index 000000000..646509e1e
--- /dev/null
+++ b/init/mac_init_verifier.cpp
@@ -0,0 +1,19 @@
1//
2// Copyright (C) 2018 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17int main() {
18 return 0;
19}