| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 import("//third_party/protobuf/proto_library.gni") | 6 import("//third_party/protobuf/proto_library.gni") |
| 7 | 7 |
| 8 group("service") { | 8 group("service") { |
| 9 if (is_component_build) { | 9 if (is_component_build) { |
| 10 public_deps = [ | 10 public_deps = [ |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 "//gpu/command_buffer/common:gles2_utils", | 148 "//gpu/command_buffer/common:gles2_utils", |
| 149 "//gpu/config:config_sources", | 149 "//gpu/config:config_sources", |
| 150 "//third_party/angle:commit_id", | 150 "//third_party/angle:commit_id", |
| 151 "//third_party/angle:translator", | 151 "//third_party/angle:translator", |
| 152 "//third_party/protobuf:protobuf_lite", | 152 "//third_party/protobuf:protobuf_lite", |
| 153 "//third_party/re2", | 153 "//third_party/re2", |
| 154 "//third_party/smhasher:cityhash", | 154 "//third_party/smhasher:cityhash", |
| 155 "//ui/gfx", | 155 "//ui/gfx", |
| 156 "//ui/gfx/geometry", | 156 "//ui/gfx/geometry", |
| 157 "//ui/gl", | 157 "//ui/gl", |
| 158 "//ui/gl/init", |
| 158 ] | 159 ] |
| 159 | 160 |
| 160 if (is_mac) { | 161 if (is_mac) { |
| 161 # Required by gles2_cmd_decoder.cc on Mac. | 162 # Required by gles2_cmd_decoder.cc on Mac. |
| 162 libs = [ | 163 libs = [ |
| 163 "IOSurface.framework", | 164 "IOSurface.framework", |
| 164 "OpenGL.framework", | 165 "OpenGL.framework", |
| 165 ] | 166 ] |
| 166 } | 167 } |
| 167 | 168 |
| 168 if (is_android && !is_debug) { | 169 if (is_android && !is_debug) { |
| 169 # On Android optimize more since this component can be a bottleneck. | 170 # On Android optimize more since this component can be a bottleneck. |
| 170 configs -= [ "//build/config/compiler:default_optimization" ] | 171 configs -= [ "//build/config/compiler:default_optimization" ] |
| 171 configs += [ "//build/config/compiler:optimize_max" ] | 172 configs += [ "//build/config/compiler:optimize_max" ] |
| 172 } | 173 } |
| 173 } | 174 } |
| 174 | 175 |
| 175 proto_library("disk_cache_proto") { | 176 proto_library("disk_cache_proto") { |
| 176 sources = [ | 177 sources = [ |
| 177 "disk_cache_proto.proto", | 178 "disk_cache_proto.proto", |
| 178 ] | 179 ] |
| 179 } | 180 } |
| OLD | NEW |