| 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> |
| 11 | 11 |
| 12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 13 #include "base/logging.h" | 13 #include "base/logging.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "tools/gn/action_values.h" | 15 #include "tools/gn/action_values.h" |
| 16 #include "tools/gn/bundle_data.h" | 16 #include "tools/gn/bundle_data.h" |
| 17 #include "tools/gn/config_values.h" | 17 #include "tools/gn/config_values.h" |
| 18 #include "tools/gn/inherited_libraries.h" | 18 #include "tools/gn/inherited_libraries.h" |
| 19 #include "tools/gn/item.h" | 19 #include "tools/gn/item.h" |
| 20 #include "tools/gn/label_pattern.h" | 20 #include "tools/gn/label_pattern.h" |
| 21 #include "tools/gn/label_ptr.h" | 21 #include "tools/gn/label_ptr.h" |
| 22 #include "tools/gn/lib_file.h" | 22 #include "tools/gn/lib_file.h" |
| 23 #include "tools/gn/ordered_set.h" | 23 #include "tools/gn/ordered_set.h" |
| 24 #include "tools/gn/output_file.h" | 24 #include "tools/gn/output_file.h" |
| 25 #include "tools/gn/source_file.h" | 25 #include "tools/gn/source_file.h" |
| 26 #include "tools/gn/toolchain.h" | 26 #include "tools/gn/toolchain.h" |
| 27 #include "tools/gn/unique_vector.h" | 27 #include "tools/gn/unique_vector.h" |
| 28 | 28 |
| 29 class DepsIteratorRange; | 29 class DepsIteratorRange; |
| 30 class InputFile; | |
| 31 class Settings; | 30 class Settings; |
| 32 class Token; | |
| 33 class Toolchain; | 31 class Toolchain; |
| 34 | 32 |
| 35 class Target : public Item { | 33 class Target : public Item { |
| 36 public: | 34 public: |
| 37 enum OutputType { | 35 enum OutputType { |
| 38 UNKNOWN, | 36 UNKNOWN, |
| 39 GROUP, | 37 GROUP, |
| 40 EXECUTABLE, | 38 EXECUTABLE, |
| 41 SHARED_LIBRARY, | 39 SHARED_LIBRARY, |
| 42 LOADABLE_MODULE, | 40 LOADABLE_MODULE, |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 OutputFile link_output_file_; | 393 OutputFile link_output_file_; |
| 396 OutputFile dependency_output_file_; | 394 OutputFile dependency_output_file_; |
| 397 std::vector<OutputFile> runtime_outputs_; | 395 std::vector<OutputFile> runtime_outputs_; |
| 398 | 396 |
| 399 DISALLOW_COPY_AND_ASSIGN(Target); | 397 DISALLOW_COPY_AND_ASSIGN(Target); |
| 400 }; | 398 }; |
| 401 | 399 |
| 402 extern const char kExecution_Help[]; | 400 extern const char kExecution_Help[]; |
| 403 | 401 |
| 404 #endif // TOOLS_GN_TARGET_H_ | 402 #endif // TOOLS_GN_TARGET_H_ |
| OLD | NEW |