summaryrefslogtreecommitdiff
path: root/tools/gjs-private-iwyu.imp
diff options
context:
space:
mode:
authorPhilip Chimento <philip.chimento@gmail.com>2019-11-23 23:07:21 -0800
committerPhilip Chimento <philip.chimento@gmail.com>2020-01-19 15:40:14 -0800
commitd783d40c8162ed94254bdb3762592cdbece6e5ba (patch)
tree053d64e7536380059c66169705f1a4cb01a86408 /tools/gjs-private-iwyu.imp
parenta3c8f4caa973f967d6f74c2ab5e94ab840d015a2 (diff)
downloadgjs-d783d40c8162ed94254bdb3762592cdbece6e5ba.tar.gz
js: Remove jsapi-wrapper.h
With SpiderMonkey 68, it's no longer necessary to mark SpiderMonkey header files as system headers, and it's also no longer necessary to include <js-config.h> before any other header files, as SpiderMonkey has sorted that out internally. We remove jsapi-wrapper.h and define DEBUG directly in config.h instead of indirectly in jsapi-wrapper.h via HAVE_SPIDERMONKEY_DEBUG. This should reduce compile time, on average, because in most .h files we now only need to include <js/TypeDecls.h>.
Diffstat (limited to 'tools/gjs-private-iwyu.imp')
-rw-r--r--tools/gjs-private-iwyu.imp30
1 files changed, 0 insertions, 30 deletions
diff --git a/tools/gjs-private-iwyu.imp b/tools/gjs-private-iwyu.imp
index 19ffbcbd..2607d15e 100644
--- a/tools/gjs-private-iwyu.imp
+++ b/tools/gjs-private-iwyu.imp
@@ -21,36 +21,6 @@
{"include": ["@<sysprof-capture-.*>", "private", "<sysprof-capture.h>", "public"]},
{"include": ["<X11/Xlib.h>", "private", "<cairo-xlib.h>", "public"]},
- # Remove when it is no longer necessary to include jsapi-wrapper.h
- {"include": ["\"js/AllocPolicy.h\"", "private", "\"gjs/jsapi-wrapper.h\"", "public"]},
- {"include": ["\"js/CallArgs.h\"", "private", "\"gjs/jsapi-wrapper.h\"", "public"]},
- {"include": ["\"js/CharacterEncoding.h\"", "private", "\"gjs/jsapi-wrapper.h\"", "public"]},
- {"include": ["\"js/Class.h\"", "private", "\"gjs/jsapi-wrapper.h\"", "public"]},
- {"include": ["\"js/Conversions.h\"", "private", "\"gjs/jsapi-wrapper.h\"", "public"]},
- {"include": ["\"js/GCAPI.h\"", "private", "\"gjs/jsapi-wrapper.h\"", "public"]},
- {"include": ["\"js/GCPolicyAPI.h\"", "private", "\"gjs/jsapi-wrapper.h\"", "public"]},
- {"include": ["\"js/GCVector.h\"", "private", "\"gjs/jsapi-wrapper.h\"", "public"]},
- {"include": ["\"js/HashTable.h\"", "private", "\"gjs/jsapi-wrapper.h\"", "public"]},
- {"include": ["\"js/HeapAPI.h\"", "private", "\"gjs/jsapi-wrapper.h\"", "public"]},
- {"include": ["\"js/Id.h\"", "private", "\"gjs/jsapi-wrapper.h\"", "public"]},
- {"include": ["\"js/RootingAPI.h\"", "private", "\"gjs/jsapi-wrapper.h\"", "public"]},
- {"include": ["\"js/TracingAPI.h\"", "private", "\"gjs/jsapi-wrapper.h\"", "public"]},
- {"include": ["\"js/TypeDecls.h\"", "private", "\"gjs/jsapi-wrapper.h\"", "public"]},
- {"include": ["\"js/Utility.h\"", "private", "\"gjs/jsapi-wrapper.h\"", "public"]},
- {"include": ["\"js/Value.h\"", "private", "\"gjs/jsapi-wrapper.h\"", "public"]},
- {"include": ["\"jspubtd.h\"", "private", "\"gjs/jsapi-wrapper.h\"", "public"]},
- {"include": ["\"jstypes.h\"", "private", "\"gjs/jsapi-wrapper.h\"", "public"]},
- {"symbol": ["JS::GCPolicy<T>", "private", "\"gjs/jsapi-wrapper.h\"", "public"]},
- {"symbol": ["JS::Symbol", "private", "\"gjs/jsapi-wrapper.h\"", "public"]},
- {"symbol": ["JS::Value", "private", "\"gjs/jsapi-wrapper.h\"", "public"]},
- {"symbol": ["JS::WeakCache<T>", "private", "\"gjs/jsapi-wrapper.h\"", "public"]},
- {"symbol": ["JSContext", "private", "\"gjs/jsapi-wrapper.h\"", "public"]},
- {"symbol": ["JSFlatString", "private", "\"gjs/jsapi-wrapper.h\"", "public"]},
- {"symbol": ["JSFunction", "private", "\"gjs/jsapi-wrapper.h\"", "public"]},
- {"symbol": ["JSLinearString", "private", "\"gjs/jsapi-wrapper.h\"", "public"]},
- {"symbol": ["JSObject", "private", "\"gjs/jsapi-wrapper.h\"", "public"]},
- {"symbol": ["JSString", "private", "\"gjs/jsapi-wrapper.h\"", "public"]},
-
{"symbol": ["GJS_GLOBAL_SLOT_PROTOTYPE_gtype", "private", "\"gjs/jsapi-class.h\"", "public"]},
{"symbol": ["GJS_GLOBAL_SLOT_PROTOTYPE_function", "private", "\"gjs/jsapi-class.h\"", "public"]},
{"symbol": ["GJS_GLOBAL_SLOT_PROTOTYPE_ns", "private", "\"gjs/jsapi-class.h\"", "public"]},