Bug 1466023 - Move blobURL and fontTableURI code in a separate directory, r=qdot
authorAndrea Marchesini <amarchesini@mozilla.com>
Sat, 02 Jun 2018 15:51:42 +0200
changeset 420986 703b0fc17e49383be3a3151e48599f5ed147beb1
parent 420985 6fae037fabaec69c10777b3b2c5c470f3ff34ef3
child 420987 1f62ecdf59b6ecaa3c0fdda39bb296ec092a156b
push id34083
push userapavel@mozilla.com
push dateSat, 02 Jun 2018 23:03:25 +0000
treeherdermozilla-central@1f62ecdf59b6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersqdot
bugs1466023
milestone62.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1466023 - Move blobURL and fontTableURI code in a separate directory, r=qdot
dom/file/BlobURL.cpp
dom/file/BlobURL.h
dom/file/BlobURLProtocolHandler.cpp
dom/file/BlobURLProtocolHandler.h
dom/file/FontTableURIProtocolHandler.cpp
dom/file/FontTableURIProtocolHandler.h
dom/file/moz.build
dom/file/uri/BlobURL.cpp
dom/file/uri/BlobURL.h
dom/file/uri/BlobURLProtocolHandler.cpp
dom/file/uri/BlobURLProtocolHandler.h
dom/file/uri/FontTableURIProtocolHandler.cpp
dom/file/uri/FontTableURIProtocolHandler.h
dom/file/uri/moz.build
--- a/dom/file/moz.build
+++ b/dom/file/moz.build
@@ -2,54 +2,48 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 with Files("**"):
     BUG_COMPONENT = ("Core", "DOM: File")
 
-DIRS += ['ipc']
+DIRS += ['ipc', 'uri' ]
 
 EXPORTS.mozilla.dom += [
     'BaseBlobImpl.h',
     'Blob.h',
     'BlobImpl.h',
     'BlobSet.h',
-    'BlobURL.h',
-    'BlobURLProtocolHandler.h',
     'File.h',
     'FileBlobImpl.h',
     'FileCreatorHelper.h',
     'FileList.h',
     'FileReader.h',
     'FileReaderSync.h',
-    'FontTableURIProtocolHandler.h',
     'MemoryBlobImpl.h',
     'MultipartBlobImpl.h',
     'MutableBlobStorage.h',
     'MutableBlobStreamListener.h',
     'StreamBlobImpl.h',
 ]
 
 UNIFIED_SOURCES += [
     'BaseBlobImpl.cpp',
     'Blob.cpp',
     'BlobImpl.cpp',
     'BlobSet.cpp',
-    'BlobURL.cpp',
-    'BlobURLProtocolHandler.cpp',
     'EmptyBlobImpl.cpp',
     'File.cpp',
     'FileBlobImpl.cpp',
     'FileCreatorHelper.cpp',
     'FileList.cpp',
     'FileReader.cpp',
     'FileReaderSync.cpp',
-    'FontTableURIProtocolHandler.cpp',
     'MemoryBlobImpl.cpp',
     'MultipartBlobImpl.cpp',
     'MutableBlobStorage.cpp',
     'MutableBlobStreamListener.cpp',
     'StreamBlobImpl.cpp',
     'StringBlobImpl.cpp',
     'TemporaryFileBlobImpl.cpp',
 ]
rename from dom/file/BlobURL.cpp
rename to dom/file/uri/BlobURL.cpp
rename from dom/file/BlobURL.h
rename to dom/file/uri/BlobURL.h
rename from dom/file/BlobURLProtocolHandler.cpp
rename to dom/file/uri/BlobURLProtocolHandler.cpp
rename from dom/file/BlobURLProtocolHandler.h
rename to dom/file/uri/BlobURLProtocolHandler.h
rename from dom/file/FontTableURIProtocolHandler.cpp
rename to dom/file/uri/FontTableURIProtocolHandler.cpp
rename from dom/file/FontTableURIProtocolHandler.h
rename to dom/file/uri/FontTableURIProtocolHandler.h
new file mode 100644
--- /dev/null
+++ b/dom/file/uri/moz.build
@@ -0,0 +1,28 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# vim: set filetype=python:
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+with Files("**"):
+    BUG_COMPONENT = ("Core", "DOM: File")
+
+EXPORTS.mozilla.dom += [
+    'BlobURL.h',
+    'BlobURLProtocolHandler.h',
+    'FontTableURIProtocolHandler.h',
+]
+
+UNIFIED_SOURCES += [
+    'BlobURL.cpp',
+    'BlobURLProtocolHandler.cpp',
+    'FontTableURIProtocolHandler.cpp',
+]
+
+LOCAL_INCLUDES += [
+    '/dom/file',
+]
+
+include('/ipc/chromium/chromium-config.mozbuild')
+
+FINAL_LIBRARY = 'xul'