OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "build/build_config.h" |
| 6 |
| 7 namespace mojo { |
| 8 |
| 9 extern int g_application_runner_argc; |
| 10 extern const char* const* g_application_runner_argv; |
| 11 |
| 12 } |
| 13 |
| 14 #if !defined(OS_WIN) |
| 15 extern "C" { |
| 16 __attribute__((visibility("default"))) void InitCommandLineArgs( |
| 17 int argc, const char* const* argv) { |
| 18 mojo::g_application_runner_argc = argc; |
| 19 mojo::g_application_runner_argv = argv; |
| 20 } |
| 21 } |
| 22 #endif |
OLD | NEW |