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_TARGET_H_ | 5 #ifndef TOOLS_GN_TARGET_H_ |
6 #define TOOLS_GN_TARGET_H_ | 6 #define TOOLS_GN_TARGET_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 26 matching lines...) Expand all Loading... |
37 UNKNOWN, | 37 UNKNOWN, |
38 GROUP, | 38 GROUP, |
39 EXECUTABLE, | 39 EXECUTABLE, |
40 SHARED_LIBRARY, | 40 SHARED_LIBRARY, |
41 LOADABLE_MODULE, | 41 LOADABLE_MODULE, |
42 STATIC_LIBRARY, | 42 STATIC_LIBRARY, |
43 SOURCE_SET, | 43 SOURCE_SET, |
44 COPY_FILES, | 44 COPY_FILES, |
45 ACTION, | 45 ACTION, |
46 ACTION_FOREACH, | 46 ACTION_FOREACH, |
| 47 BUNDLE_DATA, |
47 }; | 48 }; |
48 | 49 |
49 enum DepsIterationType { | 50 enum DepsIterationType { |
50 DEPS_ALL, // Iterates through all public, private, and data deps. | 51 DEPS_ALL, // Iterates through all public, private, and data deps. |
51 DEPS_LINKED, // Iterates through all non-data dependencies. | 52 DEPS_LINKED, // Iterates through all non-data dependencies. |
52 }; | 53 }; |
53 | 54 |
54 typedef std::vector<SourceFile> FileList; | 55 typedef std::vector<SourceFile> FileList; |
55 typedef std::vector<std::string> StringVector; | 56 typedef std::vector<std::string> StringVector; |
56 | 57 |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 // Output files. Empty until the target is resolved. | 353 // Output files. Empty until the target is resolved. |
353 std::vector<OutputFile> computed_outputs_; | 354 std::vector<OutputFile> computed_outputs_; |
354 OutputFile link_output_file_; | 355 OutputFile link_output_file_; |
355 OutputFile dependency_output_file_; | 356 OutputFile dependency_output_file_; |
356 OutputFile runtime_link_output_file_; | 357 OutputFile runtime_link_output_file_; |
357 | 358 |
358 DISALLOW_COPY_AND_ASSIGN(Target); | 359 DISALLOW_COPY_AND_ASSIGN(Target); |
359 }; | 360 }; |
360 | 361 |
361 #endif // TOOLS_GN_TARGET_H_ | 362 #endif // TOOLS_GN_TARGET_H_ |
OLD | NEW |