Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / tools / gn / target_generator.h
index fce599f..c93b12b 100644 (file)
@@ -48,11 +48,11 @@ class TargetGenerator {
 
   const BuildSettings* GetBuildSettings() const;
 
-  void FillSources();
-  void FillPublic();
-  void FillInputs();
-  void FillConfigs();
-  void FillOutputs(bool allow_substitutions);
+  bool FillSources();
+  bool FillPublic();
+  bool FillInputs();
+  bool FillConfigs();
+  bool FillOutputs(bool allow_substitutions);
 
   // Rrturns true if the given pattern will expand to a file in the output
   // directory. If not, returns false and sets the error, blaming the given
@@ -67,17 +67,18 @@ class TargetGenerator {
   Err* err_;
 
  private:
-  void FillDependentConfigs();  // Includes all types of dependent configs.
-  void FillData();
-  void FillDependencies();  // Includes data dependencies.
+  bool FillDependentConfigs();  // Includes all types of dependent configs.
+  bool FillData();
+  bool FillDependencies();  // Includes data dependencies.
+  bool FillTestonly();
 
   // Reads configs/deps from the given var name, and uses the given setting on
   // the target to save them.
-  void FillGenericConfigs(const char* var_name,
+  bool FillGenericConfigs(const char* var_name,
                           UniqueVector<LabelConfigPair>* dest);
-  void FillGenericDeps(const char* var_name, LabelTargetVector* dest);
+  bool FillGenericDeps(const char* var_name, LabelTargetVector* dest);
 
-  void FillForwardDependentConfigs();
+  bool FillForwardDependentConfigs();
 
   DISALLOW_COPY_AND_ASSIGN(TargetGenerator);
 };