Move test scripts to scripts/test

R=aerotwist@chromium.org, liviurau@chromium.org, machenbach@chromium.org

Bug: 1018122
Change-Id: I7cc3a1a9ab01c649b3c7fe8ba5d5254adc631634
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1880033
Commit-Queue: Yang Guo <yangguo@chromium.org>
Reviewed-by: Liviu Rau <liviurau@chromium.org>
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
diff --git a/scripts/build/build_release_applications.py b/scripts/build/build_release_applications.py
old mode 100755
new mode 100644
index 7dff77e..2a1bedd
--- a/scripts/build/build_release_applications.py
+++ b/scripts/build/build_release_applications.py
@@ -23,15 +23,13 @@
 from modular_build import read_file, write_file, bail_error
 import modular_build
 import rjsmin
+import special_case_namespaces
 
 try:
     import simplejson as json
 except ImportError:
     import json
 
-special_case_namespaces_path = path.join(path.dirname(path.dirname(path.abspath(__file__))), 'special_case_namespaces.json')
-
-
 def main(argv):
     try:
         input_path_flag_index = argv.index('--input_path')
@@ -95,8 +93,7 @@
         self.descriptors = descriptors
         self.application_dir = application_dir
         self.output_dir = output_dir
-        with open(special_case_namespaces_path) as json_file:
-            self._special_case_namespaces = json.load(json_file)
+        self._special_case_namespaces = special_case_namespaces.special_case_namespaces
 
     def app_file(self, extension):
         return self.application_name + '.' + extension