Skip to content

Commit 30b40b4

Browse files
yongjieTangjianliang00
authored andcommitted
[Infra] Move perfetto to third_party under the root directory.
In order to make it more convenient to depend on perfetto targets in the build system, it has been moved to third_party under the project root directory. AutoSubmit:true
1 parent c44049d commit 30b40b4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

base/trace/native/BUILD.gn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import("platform/platform.gni")
99

1010
config("trace_public_config") {
1111
include_dirs = [
12-
"../../../third_party/perfetto",
12+
"//third_party/perfetto",
1313
"$root_gen_dir/lynx",
1414
]
1515
defines = []
@@ -139,8 +139,8 @@ source_set("trace") {
139139

140140
if (enable_trace == "perfetto") {
141141
public_deps += [
142-
"../../../third_party/perfetto/sdk:perfetto",
143142
"../../../third_party/rapidjson:rapidjson",
143+
"//third_party/perfetto/sdk:perfetto",
144144
]
145145
}
146146

dependencies/DEPS.lynxtron

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ deps = {
204204
"patches": os.path.join(root_dir, 'patches', 'xhook', '*.patch'),
205205
"ignore_in_git": True,
206206
},
207-
'third_party/perfetto': {
207+
'../third_party/perfetto': {
208208
'type': 'git',
209209
'url': 'https://github.com/lynx-family/lynx-trace.git',
210210
'commit': 'ea35ecb68fdacd889df642fc2eb578c5c58e1c7a',

platform/darwin/ios/lynx/BUILD.gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ subspec_target("Trace") {
901901
flatten_deps = [ "../../../../base/trace/darwin:LynxTrace_subspec" ]
902902
deps = [ "../../../../base/trace/native:trace" ]
903903
if (enable_trace == "perfetto") {
904-
deps += [ "../../../../third_party/perfetto/sdk:perfetto" ]
904+
deps += [ "//third_party/perfetto/sdk:perfetto" ]
905905
}
906906
}
907907

0 commit comments

Comments
 (0)