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 "actual_power_by_category.sql", 25 "actual_power_by_rail_mode.sql", 26 "chrome_args_class_names.sql", 27 "chrome_event_metadata.sql", 28 "chrome_histogram_hashes.sql", 29 "chrome_input_to_browser_intervals.sql", 30 "chrome_input_to_browser_intervals_base.sql", 31 "chrome_input_to_browser_intervals_template.sql", 32 "chrome_long_tasks.sql", 33 "chrome_long_tasks_delaying_input_processing.sql", 34 "chrome_performance_mark_hashes.sql", 35 "chrome_processes.sql", 36 "chrome_reliable_range.sql", 37 "chrome_scroll_inputs_per_frame.sql", 38 "chrome_scroll_jank_caused_by_scheduling.sql", 39 "chrome_scroll_jank_v3.sql", 40 "chrome_slice_names.sql", 41 "chrome_stack_samples_for_task.sql", 42 "chrome_tasks.sql", 43 "chrome_tasks_delaying_input_processing.sql", 44 "chrome_tasks_delaying_input_processing_base.sql", 45 "chrome_tasks_delaying_input_processing_template.sql", 46 "chrome_thread_slice.sql", 47 "chrome_unsymbolized_args.sql", 48 "chrome_user_event_hashes.sql", 49 "cpu_time_by_category.sql", 50 "cpu_time_by_rail_mode.sql", 51 "estimated_power_by_category.sql", 52 "estimated_power_by_rail_mode.sql", 53 "experimental_reliable_chrome_tasks_delaying_input_processing.sql", 54 "gesture_flow_event.sql", 55 "gesture_flow_event_queuing_delay.sql", 56 "gesture_jank.sql", 57 "rail_modes.sql", 58 "scroll_flow_event.sql", 59 "scroll_flow_event_queuing_delay.sql", 60 "scroll_jank.sql", 61 "scroll_jank_cause.sql", 62 "scroll_jank_cause_blocking_task.sql", 63 "scroll_jank_cause_blocking_touch_move.sql", 64 "scroll_jank_cause_get_bitmap.sql", 65 "scroll_jank_cause_queuing_delay.sql", 66 "sufficient_chrome_processes.sql", 67 "test_chrome_metric.sql", 68 "touch_flow_event.sql", 69 "touch_flow_event_queuing_delay.sql", 70 "touch_jank.sql", 71 ] 72} 73