projects
/
platform
/
upstream
/
gstreamer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gstreamer-full: use the basename of plugin_path to avoid the ':' detection
[platform/upstream/gstreamer.git]
/
scripts
/
generate_plugins_path.py
diff --git
a/scripts/generate_plugins_path.py
b/scripts/generate_plugins_path.py
index
d57c60c
..
d609639
100644
(file)
--- a/
scripts/generate_plugins_path.py
+++ b/
scripts/generate_plugins_path.py
@@
-6,7
+6,7
@@
import json
if __name__ == "__main__":
parser = argparse.ArgumentParser()
if __name__ == "__main__":
parser = argparse.ArgumentParser()
- parser.add_argument(
"--builddir", help="The meson build directory
")
+ parser.add_argument(
dest="output", help="Output file
")
parser.add_argument(dest="plugins", help="The list of plugins")
options = parser.parse_args()
parser.add_argument(dest="plugins", help="The list of plugins")
options = parser.parse_args()
@@
-15,5
+15,5
@@
if __name__ == "__main__":
for plugin in options.plugins.split(os.pathsep):
all_paths.add(os.path.dirname(plugin))
for plugin in options.plugins.split(os.pathsep):
all_paths.add(os.path.dirname(plugin))
- with open(o
s.path.join(options.builddir, 'GstPluginsPath.json')
, "w") as f:
+ with open(o
ptions.output
, "w") as f:
json.dump(list(all_paths), f, indent=4, sort_keys=True)
json.dump(list(all_paths), f, indent=4, sort_keys=True)