 Chromium Code Reviews
 Chromium Code Reviews Issue 1545963003:
  GN: Don't compile battor_agent, imagediff, bitmaptools on Android  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master
    
  
    Issue 1545963003:
  GN: Don't compile battor_agent, imagediff, bitmaptools on Android  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master| OLD | NEW | 
|---|---|
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 # This is the root build file for GN. GN will start processing by loading this | 5 # This is the root build file for GN. GN will start processing by loading this | 
| 6 # file, and recursively load all dependencies until all dependencies are either | 6 # file, and recursively load all dependencies until all dependencies are either | 
| 7 # resolved or known not to exist (which will cause the build to fail). So if | 7 # resolved or known not to exist (which will cause the build to fail). So if | 
| 8 # you add a new build file, there must be some path of dependencies from this | 8 # you add a new build file, there must be some path of dependencies from this | 
| 9 # file to your new one or GN won't know about it. | 9 # file to your new one or GN won't know about it. | 
| 10 | 10 | 
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 189 "//third_party/WebKit/Source/platform:blink_heap_unittests", | 189 "//third_party/WebKit/Source/platform:blink_heap_unittests", | 
| 190 "//third_party/WebKit/Source/platform:blink_platform_unittests", | 190 "//third_party/WebKit/Source/platform:blink_platform_unittests", | 
| 191 "//third_party/WebKit/Source/web:webkit_unit_tests", | 191 "//third_party/WebKit/Source/web:webkit_unit_tests", | 
| 192 "//third_party/WebKit/Source/wtf:wtf_unittests", | 192 "//third_party/WebKit/Source/wtf:wtf_unittests", | 
| 193 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests", | 193 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests", | 
| 194 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests", | 194 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests", | 
| 195 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests", | 195 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests", | 
| 196 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests", | 196 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests", | 
| 197 "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests", | 197 "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests", | 
| 198 "//third_party/smhasher:pmurhash", | 198 "//third_party/smhasher:pmurhash", | 
| 199 "//tools/battor_agent", | |
| 200 "//tools/imagediff($host_toolchain)", | |
| 201 "//tools/telemetry:bitmaptools($host_toolchain)", | |
| 202 "//ui/display:display_unittests", | 199 "//ui/display:display_unittests", | 
| 203 "//ui/events:events_unittests", | 200 "//ui/events:events_unittests", | 
| 204 "//ui/gl:gl_unittests", | 201 "//ui/gl:gl_unittests", | 
| 205 "//ui/touch_selection:ui_touch_selection_unittests", | 202 "//ui/touch_selection:ui_touch_selection_unittests", | 
| 206 ] | 203 ] | 
| 207 } else { | 204 } else { | 
| 208 deps += [ | 205 deps += [ | 
| 209 "//ios/net:ios_net_unittests", | 206 "//ios/net:ios_net_unittests", | 
| 210 "//ios/public/provider/web", | 207 "//ios/public/provider/web", | 
| 211 "//ios/testing:ocmock_support_unittest", | 208 "//ios/testing:ocmock_support_unittest", | 
| 212 "//ios/web:ios_web_unittests", | 209 "//ios/web:ios_web_unittests", | 
| 213 "//ios/web/shell:ios_web_shell", | 210 "//ios/web/shell:ios_web_shell", | 
| 214 ] | 211 ] | 
| 215 | 212 | 
| 216 if (ios_use_webrtc) { | 213 if (ios_use_webrtc) { | 
| 217 deps += [ | 214 deps += [ | 
| 218 "//ios/chrome:ios_chrome_unittests", | 215 "//ios/chrome:ios_chrome_unittests", | 
| 219 "//ios/chrome/app", | 216 "//ios/chrome/app", | 
| 220 "//ios/chrome/browser", | 217 "//ios/chrome/browser", | 
| 221 "//ios/chrome/common", | 218 "//ios/chrome/common", | 
| 222 "//ios/public/provider/chrome/browser", | 219 "//ios/public/provider/chrome/browser", | 
| 223 ] | 220 ] | 
| 224 } | 221 } | 
| 225 } | 222 } | 
| 226 | 223 | 
| 224 # Tools that are relevant only on the host. | |
| 225 if (is_mac || is_win || is_linux) { | |
| 226 deps += [ | |
| 227 "//tools/battor_agent", | |
| 228 "//tools/imagediff($host_toolchain)", | |
| 229 "//tools/telemetry:bitmaptools($host_toolchain)", | |
| 
Dirk Pranke
2015/12/23 21:19:32
I don't think this change is right. 
You definite
 
agrieve
2015/12/28 19:46:07
Hmm, guess my brain wasn't working correctly :P. I
 
charliea (OOO until 10-5)
2016/01/04 15:38:37
Yep - you're right in that battor agent is only ne
 | |
| 230 ] | |
| 231 } | |
| 232 | |
| 227 deps += root_extra_deps | 233 deps += root_extra_deps | 
| 228 | 234 | 
| 229 if (enable_extensions) { | 235 if (enable_extensions) { | 
| 230 deps += [ "//extensions/shell:app_shell_unittests" ] | 236 deps += [ "//extensions/shell:app_shell_unittests" ] | 
| 231 } | 237 } | 
| 232 | 238 | 
| 233 if (enable_media_router) { | 239 if (enable_media_router) { | 
| 234 deps += [ "//chrome/browser/media/router" ] | 240 deps += [ "//chrome/browser/media/router" ] | 
| 235 } | 241 } | 
| 236 | 242 | 
| (...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 857 ] | 863 ] | 
| 858 | 864 | 
| 859 if (target_cpu == "x86") { | 865 if (target_cpu == "x86") { | 
| 860 deps += [ "//chrome/tools/crash_service:crash_service_win64" ] | 866 deps += [ "//chrome/tools/crash_service:crash_service_win64" ] | 
| 861 } | 867 } | 
| 862 } else { | 868 } else { | 
| 863 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ] | 869 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ] | 
| 864 } | 870 } | 
| 865 } | 871 } | 
| 866 } | 872 } | 
| OLD | NEW |