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 #ifndef TOOLS_GN_BUILD_SETTINGS_H_ | 5 #ifndef TOOLS_GN_BUILD_SETTINGS_H_ |
6 #define TOOLS_GN_BUILD_SETTINGS_H_ | 6 #define TOOLS_GN_BUILD_SETTINGS_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 | 10 |
11 #include "base/basictypes.h" | |
12 #include "base/callback.h" | 11 #include "base/callback.h" |
13 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 13 #include "base/macros.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "tools/gn/args.h" | 15 #include "tools/gn/args.h" |
16 #include "tools/gn/scope.h" | 16 #include "tools/gn/scope.h" |
17 #include "tools/gn/source_dir.h" | 17 #include "tools/gn/source_dir.h" |
18 #include "tools/gn/source_file.h" | 18 #include "tools/gn/source_file.h" |
19 | 19 |
20 class Item; | 20 class Item; |
21 | 21 |
22 // Settings for one build, which is one toplevel output directory. There | 22 // Settings for one build, which is one toplevel output directory. There |
23 // may be multiple Settings objects that refer to this, one for each toolchain. | 23 // may be multiple Settings objects that refer to this, one for each toolchain. |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 PrintCallback print_callback_; | 120 PrintCallback print_callback_; |
121 | 121 |
122 scoped_ptr<std::set<SourceFile>> exec_script_whitelist_; | 122 scoped_ptr<std::set<SourceFile>> exec_script_whitelist_; |
123 | 123 |
124 bool check_for_bad_items_; | 124 bool check_for_bad_items_; |
125 | 125 |
126 BuildSettings& operator=(const BuildSettings& other); // Disallow. | 126 BuildSettings& operator=(const BuildSettings& other); // Disallow. |
127 }; | 127 }; |
128 | 128 |
129 #endif // TOOLS_GN_BUILD_SETTINGS_H_ | 129 #endif // TOOLS_GN_BUILD_SETTINGS_H_ |
OLD | NEW |