# Copyright 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'includes': [ 'mojom_bindings_generator_variables.gypi', ], 'actions': [ { 'variables': { 'java_out_dir': '<(PRODUCT_DIR)/java_mojo/<(_target_name)/src', 'stamp_filename': '<(PRODUCT_DIR)/java_mojo/<(_target_name)/<(_target_name).stamp', }, 'action_name': '<(_target_name)_mojom_bindings_stamp', # The java output directory is deleted to ensure that the java library # doesn't try to compile stale files. 'action': [ 'python', '<(DEPTH)/build/rmdir_and_stamp.py', '<(java_out_dir)', '<(stamp_filename)', ], 'inputs': [ '<@(_sources)' ], 'outputs': [ '<(stamp_filename)' ], } ], 'rules': [ { 'rule_name': '<(_target_name)_mojom_bindings_generator', 'extension': 'mojom', 'variables': { 'mojom_base_output_dir': '