Commit 4789958d authored by Igor Sheludko's avatar Igor Sheludko Committed by Commit Bot

[tools] Make paths in v8-heap-stats relative

... to make it work from any location.

Bug: v8:10155
Change-Id: I4b949ed6fde0b38a92c1c1ab57eba0cf0f007b6c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2116034
Auto-Submit: Igor Sheludko <ishell@chromium.org>
Reviewed-by: 's avatarCamillo Bruni <cbruni@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#66835}
parent 9d752537
......@@ -4,7 +4,7 @@
'use strict';
import {CATEGORIES, CATEGORY_NAMES} from '/categories.js';
import {CATEGORIES, CATEGORY_NAMES} from './categories.js';
export const VIEW_BY_INSTANCE_TYPE = 'by-instance-type';
export const VIEW_BY_INSTANCE_CATEGORY = 'by-instance-category';
......
......@@ -8,7 +8,7 @@ import {
VIEW_BY_INSTANCE_TYPE,
VIEW_BY_INSTANCE_CATEGORY,
VIEW_BY_FIELD_TYPE
} from '/details-selection.js';
} from './details-selection.js';
defineCustomElement('global-timeline', (templateText) =>
class GlobalTimeline extends HTMLElement {
......
......@@ -8,7 +8,7 @@ import {
VIEW_BY_INSTANCE_TYPE,
VIEW_BY_INSTANCE_CATEGORY,
VIEW_BY_FIELD_TYPE
} from '/details-selection.js';
} from './details-selection.js';
defineCustomElement('histogram-viewer', (templateText) =>
class HistogramViewer extends HTMLElement {
......
......@@ -18,10 +18,10 @@ found in the LICENSE file. -->
<script src="helper.js"></script>
<script type="module" src="/details-selection.js"></script>
<script type="module" src="/global-timeline.js"></script>
<script type="module" src="/histogram-viewer.js"></script>
<script type="module" src="/trace-file-reader.js"></script>
<script type="module" src="details-selection.js"></script>
<script type="module" src="global-timeline.js"></script>
<script type="module" src="histogram-viewer.js"></script>
<script type="module" src="trace-file-reader.js"></script>
<style>
body {
......
......@@ -4,7 +4,7 @@
'use strict';
import {Isolate} from '/model.js';
import {Isolate} from './model.js';
defineCustomElement('trace-file-reader', (templateText) =>
class TraceFileReader extends HTMLElement {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment