1# Copyright (C) 2022 The Android Open Source Project 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15import("../../../../../gn/perfetto.gni") 16import("../../../../../gn/perfetto_sql.gni") 17 18assert(enable_perfetto_trace_processor_sqlite) 19 20# This target cannot be named "chrome" because it breaks Chrome on iOS from 21# being built. 22perfetto_sql_source_set("chrome_sql") { 23 sources = [ 24 "chrome_args_class_names.sql", 25 "chrome_event_metadata.sql", 26 "chrome_histogram_hashes.sql", 27 "chrome_histogram_summaries.sql", 28 "chrome_performance_mark_hashes.sql", 29 "chrome_processes.sql", 30 "chrome_reliable_range.sql", 31 "chrome_slice_names.sql", 32 "chrome_stack_samples_for_task.sql", 33 "chrome_study_hashes.sql", 34 "chrome_unsymbolized_args.sql", 35 "chrome_user_event_hashes.sql", 36 "sufficient_chrome_processes.sql", 37 "test_chrome_metric.sql", 38 ] 39} 40