Commit f3631b05 authored by Amos Lim's avatar Amos Lim Committed by Commit Bot

Move build/scripts/{ => core/css}/make_css_primitive_value_unit_trie.py

Move:
  build/scripts/{ => core/css}/make_css_primitive_value_unit_trie.py
  build/scripts/{ => core/css}/templates/css_primitive_value_unit_trie.cc.tmpl

This CL has no behavior changes.

Bug: 732657
Change-Id: Iffd9b98f0eede7fc7349c89d26eb885de9953600
Reviewed-on: https://chromium-review.googlesource.com/c/1309377Reviewed-by: default avatarKent Tamura <tkent@chromium.org>
Commit-Queue: Amos Lim <eui-sang.lim@samsung.com>
Cr-Commit-Position: refs/heads/master@{#604467}
parent 7ed004e5
......@@ -3,7 +3,9 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import os
import sys
sys.path.append(os.path.join(os.path.dirname(__file__), '../..'))
import json5_generator
import trie_builder
......@@ -20,7 +22,7 @@ class UnitTrieWriter(json5_generator.Writer):
'css_primitive_value_unit_trie.cc': self.generate_implementation
}
@template_expander.use_jinja('templates/css_primitive_value_unit_trie.cc.tmpl')
@template_expander.use_jinja('core/css/templates/css_primitive_value_unit_trie.cc.tmpl')
def generate_implementation(self):
return {
'input_files': self._input_files,
......
......@@ -1438,21 +1438,21 @@ action("make_core_generated_css_tokenizer_codepoints") {
action("make_core_generated_css_primitive_value_unit_trie") {
visibility = [] # Allow re-assignment of list.
visibility = [ ":*" ]
script = "../build/scripts/make_css_primitive_value_unit_trie.py"
script = "../build/scripts/core/css/make_css_primitive_value_unit_trie.py"
input_file = "css/css_primitive_value_units.json5"
inputs = make_trie_helpers_files + [
input_file,
"../build/scripts/templates/css_primitive_value_unit_trie.cc.tmpl",
"../build/scripts/core/css/templates/css_primitive_value_unit_trie.cc.tmpl",
]
outputs = [
"$blink_core_output_dir/css_primitive_value_unit_trie.cc",
"$blink_core_output_dir/css/css_primitive_value_unit_trie.cc",
]
args = [
rebase_path(input_file, root_build_dir),
"--output_dir",
rel_blink_core_gen_dir,
"$rel_blink_core_gen_dir/css",
]
if (is_mac && !use_system_xcode) {
args += [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment