Index: build/config/android/rules.gni |
diff --git a/build/config/android/rules.gni b/build/config/android/rules.gni |
index 4e9f3a81002609eaea2bb9d49922ad5eb925d410..e211bbe1947a7af1729fcd091d82eb930cc22e12 100644 |
--- a/build/config/android/rules.gni |
+++ b/build/config/android/rules.gni |
@@ -301,7 +301,7 @@ |
assert(defined(invoker.outputs)) |
action("${target_name}__generate_enum") { |
- sources = rebase_path(invoker.sources, root_build_dir) |
+ sources = invoker.sources |
script = "//build/android/gyp/java_cpp_enum.py" |
gen_dir = "${target_gen_dir}/${target_name}/enums" |
outputs = get_path_info( |
@@ -313,7 +313,7 @@ |
foreach(output, rebase_path(outputs, root_build_dir)) { |
args += ["--assert_file", output] |
} |
- args += sources |
+ args += rebase_path(invoker.sources, root_build_dir) |
} |
generate_enum_outputs = get_target_outputs(":${target_name}__generate_enum") |