diff options
author | Steve Block <steveblock@google.com> | 2010-05-18 15:39:47 +0100 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2010-05-18 16:20:05 +0100 |
commit | 388eba4e819805cb37ffe18231f53c79102356ae (patch) | |
tree | 8d64e056ada06f6806dca47d8559d025b2b30e32 /Android.v8common.mk | |
parent | caef03e9f75ead86e7f7cc5b144044dce5a58bd0 (diff) | |
download | v8-388eba4e819805cb37ffe18231f53c79102356ae.tar.gz |
Fix the ordering of the JS library sources to make ordering requirements clear
The ordering of these sources is important to satisfy compile dependencies.
Change-Id: I81cc1e35966906e8b493822592279d01321ecc71
Diffstat (limited to 'Android.v8common.mk')
-rw-r--r-- | Android.v8common.mk | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/Android.v8common.mk b/Android.v8common.mk index d8f12bc9..8b6d8437 100644 --- a/Android.v8common.mk +++ b/Android.v8common.mk @@ -128,6 +128,9 @@ endif V8_LOCAL_SRC_FILES += \ src/dtoa-config.c +# The order of these JS library sources is important. The order here determines +# the ordering of the JS code in libraries.cc, which must be in a specific order +# to meet compiler dependency requirements. V8_LOCAL_JS_LIBRARY_FILES := \ src/runtime.js \ src/v8natives.js \ @@ -136,11 +139,17 @@ V8_LOCAL_JS_LIBRARY_FILES := \ src/uri.js \ src/math.js \ src/messages.js \ - src/apinatives.js \ + src/apinatives.js + +# These JS library sources must follow the above sources but their order is not +# important. +V8_LOCAL_JS_LIBRARY_FILES += \ src/date.js \ - src/regexp.js \ - src/json.js \ - src/mirror-debugger.js \ src/debug-debugger.js \ + src/json.js \ src/liveedit-debugger.js \ + src/mirror-debugger.js \ + src/regexp.js + +V8_LOCAL_JS_LIBRARY_FILES += \ src/macros.py |