Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #include "tools/gn/args.h" | 5 #include "tools/gn/args.h" |
| 6 | 6 |
| 7 #include "base/sys_info.h" | 7 #include "base/sys_info.h" |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "tools/gn/scheduler.h" | |
|
brettw
2017/06/28 20:16:49
This should be no longer necessary.
Petr Hosek
2017/06/28 23:21:32
Done.
| |
| 9 #include "tools/gn/string_utils.h" | 10 #include "tools/gn/string_utils.h" |
| 10 #include "tools/gn/variables.h" | 11 #include "tools/gn/variables.h" |
| 11 | 12 |
| 12 const char kBuildArgs_Help[] = | 13 const char kBuildArgs_Help[] = |
| 13 R"(Build Arguments Overview | 14 R"(Build Arguments Overview |
| 14 | 15 |
| 15 Build arguments are variables passed in from outside of the build that build | 16 Build arguments are variables passed in from outside of the build that build |
| 16 files can query to determine how the build works. | 17 files can query to determine how the build works. |
| 17 | 18 |
| 18 How build arguments are set | 19 How build arguments are set |
| (...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 406 Scope* scope) const { | 407 Scope* scope) const { |
| 407 lock_.AssertAcquired(); | 408 lock_.AssertAcquired(); |
| 408 return declared_arguments_per_toolchain_[scope->settings()]; | 409 return declared_arguments_per_toolchain_[scope->settings()]; |
| 409 } | 410 } |
| 410 | 411 |
| 411 Scope::KeyValueMap& Args::OverridesForToolchainLocked( | 412 Scope::KeyValueMap& Args::OverridesForToolchainLocked( |
| 412 Scope* scope) const { | 413 Scope* scope) const { |
| 413 lock_.AssertAcquired(); | 414 lock_.AssertAcquired(); |
| 414 return toolchain_overrides_[scope->settings()]; | 415 return toolchain_overrides_[scope->settings()]; |
| 415 } | 416 } |
| OLD | NEW |