def configure_native_build_rule(native_build_rule, _context)
      native_build_rule.name = name
      native_build_rule.compiler_spec = 'com.apple.compilers.proxy.script'
      native_build_rule.file_type = file_type
      native_build_rule.script = script.strip_heredoc
      if output_files_compiler_flags.empty?
        output_files.each do |file|
          native_build_rule.add_output_file(file)
        end
      else
        output_files.zip(output_files_compiler_flags).each do |file, flag|
          native_build_rule.add_output_file(file, flag)
        end
      end
    end
def configure_native_build_rule(native_build_rule, _context)
      native_build_rule.name = name
      native_build_rule.compiler_spec = 'com.apple.compilers.proxy.script'
      native_build_rule.file_type = file_type
      native_build_rule.script = script.strip_heredoc
      if output_files_compiler_flags.empty?
        output_files.each do |file|
          native_build_rule.add_output_file(file)
        end
      else
        output_files.zip(output_files_compiler_flags).each do |file, flag|
          native_build_rule.add_output_file(file, flag)
        end
      end
    end
@param    [Proc] block
           an optional block that configures the build rule through the DSL.

 @example  Creating a Build Rule.

           BuildRule.new do |p|
             p.name "test"
           end

 This method is called when generating the build rules
 subclasses should implement this to handle the
 configuration of the build phase