blob: a8086cd725984236ff74b65a705eecfba49846b5 [file] [log] [blame]
# Copyright 2014 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.
import("//build/config/python.gni")
# TODO(crbug.com/1112471): Get this to run cleanly under Python 3.
python2_action("gencode") {
script = "gen_input_methods.py"
sources = [ "//chromeos/ime/input_methods.txt" ]
outputs = [ "$target_gen_dir/input_methods.h" ]
args = [
rebase_path("//chromeos/ime/input_methods.txt", root_build_dir),
rebase_path("$target_gen_dir/input_methods.h", root_build_dir),
]
}