Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Side by Side Diff: webrtc/build/webrtc.gni

Issue 2610823002: Fixing package-boundary violation with srjar_deps (Closed)
Patch Set: Addressing comments Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/generate_srcjar.py » ('j') | webrtc/generate_srcjar.py » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("//build/config/arm.gni") 9 import("//build/config/arm.gni")
10 import("//build/config/features.gni") 10 import("//build/config/features.gni")
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 ]) 317 ])
318 configs += invoker.configs 318 configs += invoker.configs
319 configs -= rtc_remove_configs 319 configs -= rtc_remove_configs
320 configs -= invoker.suppressed_configs 320 configs -= invoker.suppressed_configs
321 public_configs = [ rtc_common_inherited_config ] 321 public_configs = [ rtc_common_inherited_config ]
322 if (defined(invoker.public_configs)) { 322 if (defined(invoker.public_configs)) {
323 public_configs += invoker.public_configs 323 public_configs += invoker.public_configs
324 } 324 }
325 } 325 }
326 } 326 }
327
328 if (is_android) {
329 template("android_shared_srcjar") {
330 action(target_name) {
331 check_includes = false
332 set_sources_assignment_filter([])
333 assert(defined(invoker.sources))
334
335 forward_variables_from(invoker,
336 [
337 "sources",
338 "testonly",
339 "visibility",
340 ])
341 script = "//webrtc/generate_srcjar.py"
342 _srcjar_path = "${target_gen_dir}/${target_name}.srcjar"
343 _rebased_srcjar_path = rebase_path(_srcjar_path, root_build_dir)
344 _rebased_sources = rebase_path(invoker.sources, root_build_dir)
345
346 args = [ "--srcjar=$_rebased_srcjar_path" ] + _rebased_sources
347
348 outputs = [
349 _srcjar_path,
350 ]
351 }
352 }
353 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/generate_srcjar.py » ('j') | webrtc/generate_srcjar.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698