Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 1 | // Copyright (C) 2015 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 | |
| 15 | // Java method trace dump tool |
| 16 | |
| 17 | art_cc_binary { |
| 18 | name: "dmtracedump", |
| 19 | host_supported: true, |
| 20 | device_supported: false, |
| 21 | srcs: ["tracedump.cc"], |
| 22 | cflags: [ |
| 23 | "-O0", |
| 24 | "-g", |
| 25 | "-Wall", |
Chih-Hung Hsieh | fefd318 | 2017-09-29 16:18:00 -0700 | [diff] [blame^] | 26 | "-Werror", |
Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 27 | ], |
| 28 | target: { |
| 29 | windows: { |
| 30 | enabled: true, |
| 31 | }, |
| 32 | }, |
| 33 | } |
| 34 | |
| 35 | art_cc_binary { |
| 36 | name: "create_test_dmtrace", |
| 37 | host_supported: true, |
| 38 | device_supported: false, |
| 39 | srcs: ["createtesttrace.cc"], |
| 40 | cflags: [ |
| 41 | "-O0", |
| 42 | "-g", |
| 43 | "-Wall", |
Chih-Hung Hsieh | fefd318 | 2017-09-29 16:18:00 -0700 | [diff] [blame^] | 44 | "-Werror", |
Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 45 | ], |
| 46 | } |